From nobody  Thu Jun  4 11:19:02 1998
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
Subject: chgrp missing from /sbin
X-Send-Pr-Version: www-1.0

>Number:         6860
>Category:       bin
>Synopsis:       chgrp missing from /sbin
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun  4 11:20:01 PDT 1998
>Closed-Date:    Sat Jan 2 13:24:05 PST 1999
>Last-Modified:  Sat Jan  2 13:25:32 PST 1999
>Originator:     Doug White
>Release:        2.2.6-RELEASE
>Organization:
UO ResNet
>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.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sat Jan 2 13:24:05 PST 1999 
State-Changed-Why:  
I don't believe that the recommended fix is reasonable; chgrp has 
been where it is for too long to move.  Better to simply make the error 
non-fatal for now since if one is trying to reconstitute one's devices 
from a catastrophic lossage, the ownerships of the device nodes are the 
least of one's worries. 
>Unformatted:
