misc/137272: 'WARNING: could not store hostuuid in /tmp/hostid' when root filesystems mount read-only

Alex Keda admin at lissyara.su
Thu Jul 30 17:10:02 UTC 2009


>Number:         137272
>Category:       misc
>Synopsis:       'WARNING: could not store hostuuid in /tmp/hostid' 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:10:01 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 at router.local:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
if root filesystem mount read-only (nfs, or etc), when machine boot I see
eval: cannot create /tmp/hostid: Read-only file system
/etc/rc: WARNING: could not store hostuuid in /tmp/hostid.
Setting hostuuid: 82559667-7d48-11de-a424-0050228da6b7.
Setting hostid: 0xbee50505.
Mounting local file systems:
========
in /etc/rc.conf file I have:
router# grep tmp /etc/rc.conf
hostid_file="/tmp/hostid"
# tmp on memory
tmpmfs="YES"
tmpsize="1m"
router#    

=======
I think, it attempt store hostid before mounting all filesystems

router# rcorder /etc/rc.d/* | grep -E "host|mount"
/etc/rc.d/hostid
/etc/rc.d/mountcritlocal
/etc/rc.d/hostname
/etc/rc.d/mountcritremote
/etc/rc.d/mountd
/etc/rc.d/mountlate
/etc/rc.d/hostapd
router#  
>How-To-Repeat:
boot with
hostid_file="/path/to/not/root/filesystems"
settings into rc.conf
>Fix:
change boot sequence?

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list