From owner-freebsd-bugs Thu Jun 4 11:20:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29923 for freebsd-bugs-outgoing; Thu, 4 Jun 1998 11:20:58 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29895 for ; Thu, 4 Jun 1998 11:20:52 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA25583; Thu, 4 Jun 1998 11:20:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29537; Thu, 4 Jun 1998 11:19:02 -0700 (PDT) (envelope-from nobody) Message-Id: <199806041819.LAA29537@hub.freebsd.org> Date: Thu, 4 Jun 1998 11:19:02 -0700 (PDT) From: dwhite@resnet.uoregon.edu To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/6860: chgrp missing from /sbin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6860 >Category: bin >Synopsis: chgrp missing from /sbin >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 4 11:20:01 PDT 1998 >Last-Modified: >Originator: Doug White >Organization: UO ResNet >Release: 2.2.6-RELEASE >Environment: Problem machine was running 2.2.2-RELEASE, but problem exists on all releases. >Description: The `chgrp' command is not statically linked on the root partition in /bin or /sbin, and /dev/MAKEDEV wants it to rebuild the disk devices. >How-To-Repeat: You can shoot yourself in the foot by running 'MAKEDEV all' on 2.2.2 (which deletes all the slice entries and does not recreate them) and then not be able to reconstitute the device nodes using 'MAKEDEV wd0s1' since chgrp cannot be found. You can get the same behavior by running rm /dev/?d?s? Now try to rebuild the device. You need the fixit floppy to recover. Note that the 'MAKEDEV all' bug has been fixed, it rebuilds the slices in the all target. >Fix: Move chgrp from /usr/src/usr.bin to /usr/src/bin. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message