misc/137271: Cannot update /etc/host.conf when root filesystems

看板FB_bugs作者時間16年前 (2009/07/31 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
>Number: 137271 >Category: misc >Synopsis: Cannot update /etc/host.conf when root filesystems mount read-only >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 17:00:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alex Keda >Release: 7.2 >Organization: USSR >Environment: FreeBSD router.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed May 13 22:39:57 MSD 2009 lissyara@router.local:/usr/obj/usr/src/sys/GENERIC i386 >Description: if root filesystem mount read-only (nfs, or etc), when machine boot I see Generating host.conf. eval: cannot create /etc/host.conf: Read-only file system eval: cannot create /etc/host.conf: Read-only file system eval: cannot create /etc/host.conf: Read-only file system ======== in file /etc/rc.d/nsswitch I see: router# grep -R generate_host_conf * rc.d/nsswitch:generate_host_conf() rc.d/nsswitch: generate_host_conf /etc/nsswitch.conf /etc/host.conf filename for host.conf is hardcoded =( >How-To-Repeat: boot with / mounted read-only >Fix: may be add variable into /etc/defaults/rc.conf? >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1AST_ZjF (FB_bugs)