I've set up isc-dhcpd to run chroot(2)ed, and I noticed that the port's rc-script does not currently support devfs rulesets (so, by default, none of the device nodes are hidden within the chroot environment).
Attached is a diff to introduce a variable, dhcpd_devfs_ruleset, to be applied within the chroot environment so as to hide all unnecessary nodes. However, I am not sure if this is the proper way to do this, and I had a few questions for more experienced users. Hopefully this is the right place, rather than [EMAIL PROTECTED] - Is it incorrect to use devfs_domount (from rc.subr)? I don't see it being used anywhere else other than /etc/rc.d/named and I'm guessing it may be new and unavailable on older hosts. - Would it be better to leave out the variable and just hide everything that isn't needed? Suggestions would be greatly appreciated. -Kian
isc-dhcpd.in.diff
Description: Binary data
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"