[Bug 137271] [rc.d] Cannot update /etc/host.conf when root filesystems mount read-only

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 13 11:24:16 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137271

--- Comment #6 from Ruben Kerkhof <ruben at rubenkerkhof.com> ---
Yes, one can work around it by symlinking /etc/host.conf to somewhere
writeable. If you're doing that you might as well remove the nsswitch script if
nothing needs host.conf

But this is one more thing to customize. I agree with Jilles, perhaps it's time
to remove /etc/rc.d/nsswitch. FreeBSD 4 went EOL 9 years ago. People who want
to run FreeBSD binaries with a custom host resolution order can easily create
/etc/host.conf themselves. Hopefully they still know how to do that since
host.conf isn't documented as far as I can tell.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-rc mailing list