Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 1998 11:19:02 -0700 (PDT)
From:      dwhite@resnet.uoregon.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/6860: chgrp missing from /sbin
Message-ID:  <199806041819.LAA29537@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806041819.LAA29537>