From root@totum.muc.de  Wed Jun 14 17:14:38 1995
Received: from colin.muc.de (root@colin.muc.de [193.174.4.1])
          by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id RAA07698
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Jun 1995 17:14:35 -0700
Received: from totum by colin.muc.de with UUCP id <25598-2>; Thu, 15 Jun 1995 02:14:26 +0200
Received: (from root@localhost) by totum.muc.de (8.6.11/8.6.9) id CAA01331; Thu, 15 Jun 1995 02:30:08 +0200
Message-Id: <199506150030.CAA01331@totum.muc.de>
Date: Thu, 15 Jun 1995 02:30:08 +0200
From: root@totum.muc.de
Reply-To: root@totum.muc.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: mt & chflags must be static and/or in /bin
X-Send-Pr-Version: 3.2

>Number:         514
>Category:       bin
>Synopsis:       Crash recovery impossible without static mt/chflags.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    joerg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 14 17:20:02 1995
>Closed-Date:    Sat Jan 11 14:11:47 PST 1997
>Last-Modified:  Tue Nov 27 18:42:06 PST 2001
>Originator:     Michael Reifenberger
>Release:        FreeBSD 2.0-BUILT-19950611 i386
>Organization:
Bye!
----
Michael Reifenberger
>Environment:

	
	Current system.

>Description:

	
	o I have 2 partitions ( /, /usr)
	o I made backups of / and /usr onto one tape.
	  First / then /usr.
	o A make install under /usr/src/lib corrupted my libc.so.2.1
	o After reboot all shared bins exited with Sig11's.
	o I couldn'd delete libc.so.2.1 'cause of the immunitable flag.
	o Clearing the flag was impossible 'cause of shared chflags.

The mt is independent of the chflags problem.
	o I could not wind tho the 2'nd backup on the Tape (the /usr backup)
	  'cause of the shared mt.

>How-To-Repeat:

	
	See above.

>Fix:
	
	
	Make mt and chflags at least static.
	mt should go into /sbin cause it is too essential for recovery.
	chflags should also go into /sbin 'cause progs under / have the
	immuntable flags set too and could therefore not be replaced if
	they where corrupt.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->joerg 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Sun May 26 16:00:38 PDT 1996 
Responsible-Changed-Why:  
seemed the logical person to change it to... 
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sat Jan 11 14:11:47 PST 1997 
State-Changed-Why:  
Chflags is now a static binary, and mt used from 
from the fixit floppy if all else fails. 
>Unformatted:


