Re: dhcpcd-9 plans
Roy Marples
Fri Nov 29 03:43:42 2019
On 29/11/2019 02:41, Stuart Henderson wrote:
OMG it works!
Yay!
_dhcpcd 88773 0.0 0.1 1140 976 ?? S 2:38AM 0:00.00 dhcpcd: [master] [ip6] (dhcpcd)
root 7909 0.0 0.1 732 1132 p0- I 2:38AM 0:00.01 dhcpcd: [privileged actioneer] (dhcpcd)
_dhcpcd 62664 0.0 0.1 808 1204 p0- I 2:38AM 0:00.01 dhcpcd: [network proxy] (dhcpcd)
On 2019/11/28 18:11, Nathan Houghton wrote:
Seems to be working OK so far for me.
I ran into one permission issue with the already-created leases file:
dhcpcd[86955]: dhcp6_writelease: Permission denied
That was resolved by changing the ownership of the leases file to the new
_dhcpcd user.
that seems a reasonable thing to handle in docs (and maybe packaging)
rather than complicate things inside the daemon.
Needs to be handled in packaging - anything else is more bloat to the
binary.
Documented here:
https://roy.marples.name/cgit/dhcpcd.git/tree/README.md#n92
I still see this message in my logs:
ps_dostart: chroot `/nonexistant': No such file or directory
Is it recommended to set up the user home directory to point to an empty
directory (such as /var/empty)?
I think so, that's what I've done.
Probably needs to be a real directory as other daemons I've seen use
this so if a listener is compromised it can't access anything on the
filesystem.
I've chosen /var/chroot/dhcpcd for mine as that seems to be the flavour
on NetBSD at least.
Roy
Archive administrator: postmaster@marples.name