[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
Sun May 1 20:18:21 UTC 2016


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

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Progress                 |Open
                 CC|                            |jilles at FreeBSD.org

--- Comment #4 from Jilles Tjoelker <jilles at FreeBSD.org> ---
As /etc/host.conf has no longer been used since FreeBSD 5.0, perhaps the time
has come to remove /etc/rc.d/nsswitch. A /etc/host.conf file is only needed to
run binaries from FreeBSD 4.x or older with a non-default name resolution order
(the hard-coded default was generally DNS, then /etc/hosts).

There is no point in changing the pathname since the old binaries refer to
/etc/host.conf. A host.conf in a different location would be useless.

In any case, the error is written but ignored. The system boots regardless of
it.

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


More information about the freebsd-rc mailing list