Date: Thu, 30 Jul 2009 17:01:43 GMT From: Alex Keda <admin@lissyara.su> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/137272: 'WARNING: could not store hostuuid in /tmp/hostid' when root filesystems mount read-only Message-ID: <200907301701.n6UH1hZU022450@www.freebsd.org> Resent-Message-ID: <200907301710.n6UHA1gK037622@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907301701.n6UH1hZU022450>