From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 30 17:10:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 013221065674 for ; Thu, 30 Jul 2009 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B4B4C8FC19 for ; Thu, 30 Jul 2009 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6UHA1qQ037623 for ; Thu, 30 Jul 2009 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6UHA1gK037622; Thu, 30 Jul 2009 17:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 30 Jul 2009 17:10:01 GMT Resent-Message-Id: <200907301710.n6UHA1gK037622@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Keda Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E54C31065673 for ; Thu, 30 Jul 2009 17:01:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D38B08FC14 for ; Thu, 30 Jul 2009 17:01:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6UH1hoD022451 for ; Thu, 30 Jul 2009 17:01:43 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6UH1hZU022450; Thu, 30 Jul 2009 17:01:43 GMT (envelope-from nobody) Message-Id: <200907301701.n6UH1hZU022450@www.freebsd.org> Date: Thu, 30 Jul 2009 17:01:43 GMT From: Alex Keda To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/137272: 'WARNING: could not store hostuuid in /tmp/hostid' when root filesystems mount read-only X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 17:10:02 -0000 >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: