kern/122215: startup script for hostid fails in single user

Dave Overton dave at syix.com
Fri Mar 28 17:50:02 PDT 2008


>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 at 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:


More information about the freebsd-bugs mailing list