Commit Graph

12705 Commits

Author SHA1 Message Date
maxv
4a2e4dc388 nvmm: update copyright headers 2020-09-05 07:22:25 +00:00
christos
5cba22b413 include bsd.init.mk to avoid:
make: Bad conditional expression ` != "no"' in  != "no"? -DINET6 :
2020-08-30 21:12:45 +00:00
tih
0e6edd4d77 Show the time of the latest handshake properly formatted. 2020-08-28 17:17:53 +00:00
christos
566d2c2d32 missing quote 2020-08-28 15:26:23 +00:00
christos
608106539e Restrict npf.conf fixes to "blacklistd" -> "blocklistd" 2020-08-28 15:25:16 +00:00
rjs
aaf1e01132 Use wrapper name for call to setsockopt(2), NFC for non-rump builds. 2020-08-28 00:19:37 +00:00
riastradh
b13ab56848 npftest: Wait at least one tick in each gc busy wait iteration.
Otherwise the busy wait loop runs a little too fast for the gc about
half the times I run the test.

XXX We should really arrange mstohz to round up!
2020-08-27 18:51:20 +00:00
riastradh
fdedb3494c npf: Make sure to initialize portmap_lock only once.
PR kern/55586
2020-08-27 18:50:25 +00:00
riastradh
25154f5f0c Clarify wg(4)'s relation to WireGuard, pending further discussion.
Still planning to replace wgconfig(8) and wg-keygen(8) by one wg(8)
tool compatible with wireguard-tools; update wg(4) for the minor
changes from the 2018-06-30 spec to the 2020-06-01 spec; &c.  This just
clarifies the current state of affairs as it exists in the development
tree for now.

Mark the man page EXPERIMENTAL for extra clarity.
2020-08-26 16:03:40 +00:00
riastradh
c0eeeb4aa7 wgconfig does not need libcrypt. 2020-08-26 15:49:07 +00:00
gson
57091f5040 Fix indentation 2020-08-26 13:35:12 +00:00
gson
460a8a88e0 Remove trailing whitespace 2020-08-26 13:33:42 +00:00
gson
69570b99d6 Remove superfluous empty line 2020-08-26 13:32:56 +00:00
martin
e11752f35f Use %zu for size_t 2020-08-21 17:51:31 +00:00
uwe
d7ff38016a Mark up a few missed equal signs as literal. 2020-08-21 03:44:58 +00:00
uwe
001a378b00 Markup fixes. 2020-08-21 03:13:30 +00:00
uwe
595cfacbca Fix synopsis. 2020-08-21 02:45:33 +00:00
riastradh
0a3195bdf5 Fix markup around optional command name.
Avoids emboldened brackets.  I remain fuzzy on how grouping in roff
works, or doesn't work.
2020-08-21 01:36:04 +00:00
riastradh
859a2fd925 Add missing description for wgconfig `set private-key' command. 2020-08-20 23:03:08 +00:00
riastradh
c28ef62782 Mark up argument as such and write out wgconfig command correctly. 2020-08-20 23:01:20 +00:00
riastradh
89205cd245 Tweak markup so the square brackets don't become bold. 2020-08-20 22:58:06 +00:00
riastradh
3699389b49 Fix up wg-userspace(8) man page. 2020-08-20 22:17:16 +00:00
riastradh
0252686c58 Fill out WireGuard man pages. 2020-08-20 21:35:59 +00:00
riastradh
a32c8cce00 Update wgconfig(8) for proplib API changes.
Also check type tags before conversion.
2020-08-20 21:34:51 +00:00
riastradh
2c3dfe7425 Make `wgconfig --help' and variations work. 2020-08-20 21:31:26 +00:00
riastradh
591b22f37f Descend into wg-userspace. 2020-08-20 21:30:46 +00:00
riastradh
61fd7d67f5 [ozaki-r] Add wg files 2020-08-20 21:28:00 +00:00
riastradh
a14187eca5 [ozaki-r] Changes to the kernel core for wireguard 2020-08-20 21:21:31 +00:00
riastradh
25f11de3b9 mmap MAP_FAILED audit. 2020-08-20 15:54:11 +00:00
msaitoh
cc67c5474a s/ be be / be / 2020-08-19 02:19:06 +00:00
christos
0c510515ef use opendisk()/dehumanize_number 2020-08-18 19:26:29 +00:00
mrg
4d62e2455a mostly complete basic port of crash(8) to mips.
tested on mipsel and mips64eb.  basic functionality works
on the running kernel, not yet tested on crash dumps.
2020-08-17 04:15:33 +00:00
tkusumi
ae112b0a4f fstyp: Fix incorrect pfs_type test for HAMMER2 inode
taken-from: DragonFly BSD
2020-08-14 18:35:57 +00:00
martin
909a0d73c8 PR 55572: avoid crash when answering the mount point prompt for a previously
empty mount point with an emptry sting.
2020-08-14 08:46:54 +00:00
rin
e45d30c746 Silence -Wstringop-truncation for ``name'' in disp_selected_part().
This variable is used only for display, and truncation seems harmless.
2020-08-10 06:54:45 +00:00
jmcneill
70370e75d4 evbmips: add ofctl(8) and /dev/openfirm support 2020-07-24 12:07:09 +00:00
simonb
3616bcfaa5 Sort missing IDs (users and groups) by the numeric ID. 2020-07-07 12:01:21 +00:00
riastradh
887193699a (cpuctl/aarch64) Add some more aa64isar0_eli1 flags. 2020-07-05 19:40:27 +00:00
sborrill
ce6ed78858 When using show subcommand, display node ID (nid) in hexadecimal to match
the HD audio documentation. Diverge slightly by using 0xXX instead of XXh
format for consistency with the list subcommand.
2020-07-01 12:19:45 +00:00
ryo
1b74214774 show clidr_el1 and ctr_el0. 2020-07-01 08:03:10 +00:00
riastradh
65367154cd Nix trailing whitespace. 2020-06-29 23:04:56 +00:00
msaitoh
9007cd7213 s/successfuly/successfully/ in comment. No functional change. 2020-06-22 07:50:53 +00:00
rin
d1e359b744 Fix do_blocklist:
- Respect destination directory specified by -d option.
- Accept check and fix options. For the former, do not modify anything as
  users normally expect.
2020-06-22 06:55:41 +00:00
thorpej
696896edc9 Add evbmips support for u-boot handling. 2020-06-21 17:17:01 +00:00
riastradh
dd58a4a54e Nix trailing whitespace. 2020-06-20 18:30:53 +00:00
uwe
55f4124e32 Use ?:: modifier instead of .if to check for ipv6.
This way we don't have to include bsd.init.mk early.
2020-06-19 01:19:50 +00:00
kamil
aa97815be0 Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users
via <rump/rump.h>.
2020-06-17 00:16:21 +00:00
wiz
20648b583d Use more markup. Bump date for previous. 2020-06-16 14:26:39 +00:00
sborrill
0a7bddaaad Describe correctly how whitespace is formatted as the docs did not
match the source.
2020-06-16 13:34:38 +00:00
christos
e9d9ed6853 handle /etc/blacklistd.conf 2020-06-15 21:56:49 +00:00
christos
8751c455bb correct blocklist script
- removal of rc file is handled by obsolete
- use grep to find if we need more changes
- fix rc population
2020-06-15 21:51:13 +00:00
riastradh
6c262685f8 Nix trailing whitespace. 2020-06-15 20:27:30 +00:00
christos
8f201cf281 fix reversed mv, pointed out by wiz@ 2020-06-15 14:32:07 +00:00
christos
5b4fdaddb2 deal with blacklist -> blocklist 2020-06-15 14:25:40 +00:00
sborrill
39dc86037f Add show subcommand that displays the codec configuration in
human-readable tabulated form
2020-06-15 13:06:39 +00:00
tsutsui
66219e6fed Explicitly print a fs image filename on "fs image is too big" errors.
This will help future analysis of build errors caused by bloated
embedded ramdisk images and possible but unexpected other binaries.

Proposed on port-mips@ in discusson about ews4800mips daily build errors:
 https://mail-index.netbsd.org/port-mips/2020/06/14/msg000950.html
and "Yes please!" from martin@.
2020-06-14 18:24:21 +00:00
uwe
44ebef0f33 Support optional square brackets around the host name.
The brackets are required when using numeric IPv6 addresses as they
contain colons as part of their syntax.  We do not enforce that the
thing in the brackets is a numeric IPv6 address - this matches scp
syntax and behavior.
2020-06-14 00:30:20 +00:00
uwe
943a91a810 Remove -46 from the -c usage. While here, sync usage with man page
(s/devfile/device).
2020-06-13 21:23:27 +00:00
wiz
e38e8568c9 Add -46 to usage. 2020-06-13 16:56:46 +00:00
uwe
b37b5fea79 Support IPv6.
Use getaddrinfo(3).  Add -4 and -6 command line options.  Obey USE_INET6.
2020-06-13 13:45:06 +00:00
roy
73dd2b525a ndp: Sync usage and SYNPOSIS with reality 2020-06-12 21:08:02 +00:00
roy
b05648aa26 Remove in-kernel handling of Router Advertisements
This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).
2020-06-12 11:04:44 +00:00
tsutsui
089d36aae0 MBR type for Ext2 should be MBR_PTYPE_LNXEXT2, not MBR_PTYPE_FAT12. 2020-06-10 16:56:22 +00:00
tsutsui
08529c6341 Change mountpoint of boot ext2fs from /stand to /ext2 to avoid conflict.
Should be pulled up to netbsd-9, with fixes of PR/55060.
2020-06-10 16:26:33 +00:00
thorpej
abcb66ec85 Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
thorpej
bba3c68329 Update for proplib(3) API changes. 2020-06-07 00:51:48 +00:00
thorpej
bcd1eb151d Update for proplib(3) API changes. 2020-06-07 00:12:00 +00:00
thorpej
aebbed3d12 Update for proplib(3) API changes. 2020-06-06 22:33:23 +00:00
wiz
55eb855c31 Use more markup. 2020-06-06 20:38:00 +00:00
wiz
c65439fe2c Reduce macro arguments. 2020-06-06 20:30:23 +00:00
tsutsui
c332e97e6f Fix ews4800mips example. Its raw partition is rsd0p, not rsd0c. 2020-06-06 10:22:45 +00:00
roy
caa3531473 Ensure the dhcpcd log socket is removed. 2020-06-03 11:47:46 +00:00
kamil
16b0614b43 Register ppoll 2020-06-02 15:43:26 +00:00
uwe
e03c12d8dc Fix extra whitespace added by accident. 2020-06-01 13:30:52 +00:00
msaitoh
774fa17d8b Add 0xa5 and 0xa6 for Comet Lake. 2020-06-01 08:33:40 +00:00
tnn
e097843b4c npf-params.7: s/filer/filter/ 2020-05-31 16:32:07 +00:00
rmind
a55d34090b npf-params(7): fix the state.key defaults. 2020-05-31 15:57:15 +00:00
roy
2fc8fc72fa postinstall: Move files out of dhcpcd chroot 2020-05-31 13:45:47 +00:00
nat
b35a6d5b1b Avoid running of the end of the array if a file cannot be opened.
Found by plunky@.
2020-05-31 06:17:23 +00:00
rmind
231831948d npftest -- npf_test_init(): add a workaround for NetBSD. 2020-05-30 21:00:31 +00:00
rmind
b899bfd96f Major NPF improvements (merge from upstream):
- Switch to the C11-style atomic primitives using atomic_loadstore(9).

- npfkern: introduce the 'state.key.interface' and 'state.key.direction'
  settings.  Users can now choose whether the connection state should be
  strictly per-interface or global at the configuration level.  Keep NAT
  logic to be always per-interface, though.

- npfkern: rewrite the G/C worker logic and make it self-tuning.

- npfkern and libnpf: multiple bug fixes; add param exporting; introduce
  more parameters.  Remove npf_nvlist_{copyin,copyout}() functions and
  refactor npfctl_load_nvlist() with others; add npfctl_run_op() to have
  a single entry point for operations.  Introduce npf_flow_t and clean up
  some code.

- npfctl: lots of fixes for the 'npfctl show' logic; make 'npfctl list'
  more informative; misc usability improvements and more user-friendly
  error messages.

- Amend and improve the manual pages.
2020-05-30 14:16:56 +00:00
uwe
3cee218d31 Initialize puffs9p::server (though it's not used anywhere). 2020-05-30 02:53:30 +00:00
uwe
2da8d56162 Provide list of options for ease of reference. 2020-05-30 00:00:35 +00:00
uwe
22cb1031f1 Fix vio9p device name in a comment. 2020-05-29 23:49:08 +00:00
jmcneill
c34f2808e8 DTB are no longer part of kernel set 2020-05-29 10:25:06 +00:00
jmcneill
03c974c07b Set HAVE_INSTALL_IMAGE for evbarm 2020-05-28 19:03:09 +00:00
jmcneill
ec07eed79a Remove "If you booted from a floppy" message 2020-05-28 19:00:52 +00:00
uwe
63a7cdaa84 Do not send dummy Tauth, it's completely unnecessary.
The best way to not use authentication is to not use authentication.
Cf. http://man.cat-v.org/plan_9/5/attach
2020-05-28 14:00:05 +00:00
uwe
3e763228f4 puffs9p_node_rename - 9P rename is done with Twstat and can only
change the last pathname component.  Return EXDEV for attempts to move
a file to a different directory to make mv(1) fall back to copying.
2020-05-27 03:25:13 +00:00
uwe
8deaf9c1c0 noderemove - do not call puffs_setback here. noderemove is called
from rename (for existing target) and calling setback is not
appropriate in that context.  Do that call instead directly in the
callers (remove, rmdir).

From Nicola Girardi, part of PR/54829.
2020-05-27 00:36:07 +00:00
uwe
b2db326b70 puffs9p_node_rename - noderename takes puffs_node, not p9pnode, but
this goes undetected b/c pn_data we pass is a pointer to void.

From Nicola Girardi, part of PR/54829.
2020-05-27 00:05:22 +00:00
uwe
c92f8ba0f7 Use the typedef to declare tag in AUTOVAR. Do not allocate 9P tags in
advance in AUTOVAR, do it right before we need them.  Do no reuse tags.
If we are going to use sequential tags, we might as well try to make
them really sequential.
2020-05-26 22:54:43 +00:00
uwe
41b86583fb Do not allocate 9P tags in advance, do it right before we need them.
If we are going to use sequential tags, we might as well try to make
them really sequential.
2020-05-26 22:33:04 +00:00
uwe
2c2f0a9518 puffs9p_node_lookup - use the right type for tfid. 2020-05-26 22:08:11 +00:00
uwe
80d3119c60 proto_getstat - g/c debug printfs. 2020-05-26 19:41:36 +00:00
uwe
795a40f9c2 getdfwithoffset - do not issue dummy read to seek to offset zero on a
newly opened fid as it's already there.  This is redundant and also
seems to confuse inferno when issued against the root directory.  Now
you can ls the mount point of

    styxlisten -A 'tcp!*!styx' export /

While here fix the seek logic to actually repeatedly seek forward
instead of always doing it from zero.
2020-05-26 19:38:14 +00:00
snj
5ce7b84928 it's "its" 2020-05-26 15:20:45 +00:00
rmind
3f8b631875 PR/55288: npfctl: change parameter syntax to be more permissive. 2020-05-24 15:35:39 +00:00
rmind
07861232b4 Backport selected NPF fixes from the upstream (to be pulled up):
- npf_conndb_lookup: protect the connection lookup with pserialize(9),
  instead of incorrectly assuming that the handler always runs at IPL_SOFNET.
  Should fix crashes reported on high load (PR/55182).

- npf_config_destroy: handle partially initialized config; fixes crashes
  with some invalid configurations.

- NAT policy creation / destruction: set the initial reference and do not
  wait for reference draining on destruction; destroy the policy on the
  last reference drop instead.  Fixes a lockup with the dynamic NAT rules.

- npf_nat_{export,import}: fix a regression since dynamic NAT rules.

- npfctl: fix a regression and restore the default group behaviour.

- Add npf_cache_tcp() and validate the TCP data offset (from maxv@).
2020-05-23 19:56:00 +00:00
jmcneill
043d88a7c1 Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
2020-05-18 21:19:34 +00:00
christos
965581664f reverse the order for sun2 2020-05-17 18:59:02 +00:00
christos
d0951ebe8b more nofifofs lossage 2020-05-16 12:42:11 +00:00
christos
d9e593034a Oops forgot to commit this. 2020-05-16 12:30:35 +00:00
christos
ce6ae1732f Add a function to remove the debug bits of the stand files. 2020-05-15 16:33:38 +00:00
christos
32e17edfb9 If we could not lock the pid file, don't continue as we end up with multiple
rtadvd's (thanks roy@)
2020-05-14 23:42:18 +00:00
msaitoh
8012ca3f0e Remove extra semicolon. 2020-05-14 08:34:17 +00:00
martin
98c332e311 PR 55202: disable swapping if we started it due to low ram 2020-05-12 17:26:43 +00:00
martin
0466f2885f Ooops, backout previous - twice the entropy saving is not needed.
Instead slightly improve the (slightly) hidden other code that already
did it.
2020-05-12 17:04:00 +00:00
martin
a55d2d6bdf At the end of a new installation save entropy. 2020-05-12 16:18:04 +00:00
martin
46db4168b5 Minor tweak to previous: when forcing a /usr partition just to have an
arbitrary extendable partition, still use its default size initially.
2020-05-12 06:23:07 +00:00
martin
d567815e89 When extending a partition (to fill the total disk size) do respect
size limits.
Do not suggest a size limited partition for extension by default.
2020-05-11 17:40:50 +00:00
martin
a3e2f2a69a Redo the root-size-limit check again after we grew the root partition
for kernel dumps. Auto-enable the /usr partition if it overflows.
For all non-root partitions, default to FFSv2.
2020-05-11 15:27:41 +00:00
christos
e866966f49 warn only for > INFO level messages. 2020-05-10 22:38:51 +00:00
christos
12aefd6688 Print errors to stderr until we daemonize.
Fix typo.
2020-05-10 22:33:09 +00:00
riastradh
8e0e0222cd Teach cpuctl(8) about ARMv8.5-RNG RNDR/RNDRRS support. 2020-05-10 21:42:05 +00:00
wiz
930c6cf21c Sync usage with man page. 2020-05-07 12:52:40 +00:00
wiz
a9c88f9a45 New sentence, new line. 2020-05-07 12:52:26 +00:00
kim
955964c1b9 Output records in original order
Append to the list of output records instead of pushing on it, so we
don't reverse the order of records (when not sorting).
2020-05-06 19:45:39 +00:00
kim
b41a6df0d4 Use memcpy for copying out lastlog and lastlogx text
Lastlog and lastlogx text fields are not NUL-terminated when original data
is truncated.
2020-05-06 19:31:32 +00:00
kim
6f210b4518 If the passwd entry is not found for a lastlogx entry, cons up a fake
struct passwd where pw_name is the numeric uid in parentheses. This was
already implemented for lastlog entries in revision 1.13.

If -n is specified more than once, also print the user numerically
(ie, uid instead of username) for lastlog entries. This was already
implemented for lastlogx entries in revision 1.13.

Reorder the lastlogx host name numeric condition so it better matches
the user name numeric condition.
2020-05-06 13:47:39 +00:00
kim
45e7025978 Size output columns dynamically by default to fit contents. 2020-05-06 11:58:33 +00:00
joerg
a692036705 boardype should not be common. 2020-05-04 18:19:34 +00:00
joerg
3345ee081b lineno, states and allocated should be owned by the parser 2020-04-23 00:29:00 +00:00
joerg
c69153879d npftest_mbufops and npftest_ifops are owned by npf_mbuf_subr.c 2020-04-23 00:27:45 +00:00
joerg
1ae5c388e8 Rename debug to mountd_debug to avoid overlap in rump tests 2020-04-23 00:22:01 +00:00
joerg
339d115139 loop.c owns iflist 2020-04-22 23:57:56 +00:00
joerg
14fa6887c5 Let loop.c own iflist 2020-04-22 23:55:29 +00:00
joerg
2d8c8469e2 Avoid common symbol definitions 2020-04-22 23:53:27 +00:00
joerg
f60db1d4f9 Externalize yytext, it belongs to the lexer 2020-04-22 23:51:34 +00:00
joerg
b128537de5 _rpcpmstart is defined by rpcgen, so externalize it here 2020-04-22 23:47:02 +00:00
joerg
ad164cdb07 tempstr is only used in one file, make it static 2020-04-22 23:46:02 +00:00
joerg
e45e02400d Don't depend on common symbol definitions. 2020-04-22 23:43:12 +00:00
wiz
7e0632ed7c Remove dst variable that was only set but not used.
(This broke the build for me.)
2020-04-21 12:23:13 +00:00
wiz
0b093b79d0 Update getopt string.
Remove -M. Add -C (the code is there and documented, even if noone could
activate it...).
Sync usage with manpage.
2020-04-21 12:21:27 +00:00
wiz
02044da044 Remove -M from SYNOPSIS as well. 2020-04-21 12:19:44 +00:00
roy
ec3335a0cf rtadvd: Remove disabled use of SIOCGIFPREFIX_IN6
It's not been enabled since the functionality was added to ifconfig(8)
many many years ago.
2020-04-21 12:16:47 +00:00
roy
afce0d5d3d rtadvd: Remove router renumbering - it's been disable for years 2020-04-21 12:05:54 +00:00
msaitoh
0360a7d374 Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors.
- If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
   can take TSC/core crystal clock ratio but core crystal clock frequency
   can't be taken. Intel SDM give us the values for some processors.
 - It also required to change lapic_per_second to make LAPIC timer correctly.
 - Add new file x86/x86/identcpu_subr.c to share common subroutines between
   kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
   will be moved to this file in future.
 - Add comment to clarify.
2020-04-21 02:56:36 +00:00
roy
3d41695df4 postinstall: ensure contents_owner fix fails on find errors
The issue is that find won't pass anything to xargs and that returns 0.
So replace the usage of xargs with -exec.
2020-04-19 22:10:24 +00:00
martin
05a291731f Remove unused variable (to fix the build) 2020-04-18 12:25:01 +00:00
reinoud
93d5858ef9 Believe the datablocks predictor when determining if data on a node gets
stored internal or not. Also make a note that the datablocks predictor takes
NO extended attributes stored in the node into account

In rare cases it could lead to confusion where the predictor would say it
wouldn't fit internally when it could just have fitted. This would trigger the
assertion. Now it will on rare accasions create a datablock even though it
might have fitted.
2020-04-18 09:45:45 +00:00
kim
568e57b236 Update date 2020-04-17 13:36:48 +00:00
knakahara
0a27bcec22 Fix typo in a comment. 2020-04-17 03:15:50 +00:00
wiz
b541d0f520 Sort SEE ALSO. 2020-04-16 07:23:58 +00:00
msaitoh
7f2d01cb3a No functional change:
- Rename ci_cpuid_level to ci_max_cpuid and ci_cpuid_extlevel to
   ci_max_ext_cpuid to match x86/include/cpu.h though cpuctl/arch/i386.c added
   them first.
 - Sort some entries.
 - Add comment.
2020-04-16 01:52:34 +00:00
kim
aae8c85b3e Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA 2020-04-15 20:31:57 +00:00
wiz
a29005e232 Remove trailing dot in SEE ALSO. 2020-04-13 20:44:39 +00:00
uwe
de1a8e9869 Use .Dl for one line literal display. Add SEE ALSO. 2020-04-13 15:23:18 +00:00
roy
f1ba7e789f Fix dhcpcd $DEST_DIR support 2020-04-09 15:24:31 +00:00
roy
2fc87b1b6a postinstall: fix contents_owner to return an error on error
find returning nothing via stdout but does return an error is an error.
Fixes the case where dhcpcd chroot db directory isn't owned by _dhcpcd.
2020-04-06 13:10:48 +00:00