From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 29 00:50:02 2008 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 722171065670 for ; Sat, 29 Mar 2008 00:50:02 +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 ED9368FC31 for ; Sat, 29 Mar 2008 00:50: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.2/8.14.2) with ESMTP id m2T0o1mP046553 for ; Sat, 29 Mar 2008 00:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2T0o1s9046552; Sat, 29 Mar 2008 00:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 29 Mar 2008 00:50:01 GMT Resent-Message-Id: <200803290050.m2T0o1s9046552@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, Dave Overton Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEFFC106564A for ; Sat, 29 Mar 2008 00:46:28 +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 DF9878FC21 for ; Sat, 29 Mar 2008 00:46:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2T0k9mF025195 for ; Sat, 29 Mar 2008 00:46:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2T0k9tg025194; Sat, 29 Mar 2008 00:46:09 GMT (envelope-from nobody) Message-Id: <200803290046.m2T0k9tg025194@www.freebsd.org> Date: Sat, 29 Mar 2008 00:46:09 GMT From: Dave Overton To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/122215: startup script for hostid fails in single user 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: Sat, 29 Mar 2008 00:50:02 -0000 >Number: 122215 >Category: kern >Synopsis: startup script for hostid fails in single user >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 29 00:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dave Overton >Release: 7.0-Stable >Organization: SYIX.COM >Environment: FreeBSD mail04.syix.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Mar 26 16:37:23 PDT 2008 dave@mail04.syix.com:/usr/obj/usr/src/sys/MAIL01 amd64 >Description: Booting into single user mode, and trying to mount ZFS zpool required that you run the script /etc/hostid first. But it won't do the md5 calculations since md5 isn't in the path. >How-To-Repeat: hit 4 at the beastie screen >Fix: make line 48 look like this: id=`echo -n $uuid | /sbin/md5` >Release-Note: >Audit-Trail: >Unformatted: