Date: Wed, 13 Oct 1999 02:41:35 -0700 (PDT) From: cemerson+freebsd@chiark.greenend.org.uk To: freebsd-gnats-submit@freebsd.org Subject: misc/14300: MAKEDEV requires /usr to be mounted (for chown(1)) Message-ID: <19991013094135.2FE0714BC8@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 14300 >Category: misc >Synopsis: MAKEDEV requires /usr to be mounted (for chown(1)) >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: Wed Oct 13 02:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Chris Emerson >Release: 3.3 >Organization: >Environment: FreeBSD test 3.3-19990918-STABLE FreeBSD 3.3-19990918-STABLE #0: Sat Sep 18 10:21:02 GMT1999 root@usw3.freebsd.org:/usr/src/sys/compile/GENERIC i386 >Description: MAKEDEV fails to create devices, even with wrong ownerships, when /usr is not mounted because chown(1) is not available. This makes recovery when the device node for /usr (or other filesystems) is missing harder. >How-To-Repeat: # umount /usr # cd /dev # ./MAKEDEV wd1s1a wd1s1[a-h] will be removed, and not recreated as MAKEDEV bombs out when chown(1) fails to run. A manual mknod is required. >Fix: (a) move chown(1) to /bin or /sbin or (b) cause MAKEDEV to at least create the nodes (with conservative permissions) before bombing out. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991013094135.2FE0714BC8>