From owner-freebsd-bugs Wed Jun 14 17:20:05 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA08190 for bugs-outgoing; Wed, 14 Jun 1995 17:20:05 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA08157 ; Wed, 14 Jun 1995 17:20:04 -0700 Date: Wed, 14 Jun 1995 17:20:04 -0700 Message-Id: <199506150020.RAA08157@freefall.cdrom.com> From: root@totum.muc.de Reply-To: root@totum.muc.de To: freebsd-bugs Subject: bin/514: mt & chflags must be static and/or in /bin In-Reply-To: Your message of Thu, 15 Jun 1995 02:30:08 +0200 <199506150030.CAA01331@totum.muc.de> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 514 >Category: bin >Synopsis: Crash recovery impossible without static mt/chflags. >Confidential: yes >Severity: serious >Priority: high >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: support >Submitter-Id: current-users >Arrival-Date: Wed Jun 14 17:20:02 1995 >Originator: Michael Reifenberger >Organization: Bye! ---- Michael Reifenberger >Release: FreeBSD 2.0-BUILT-19950611 i386 >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. >Audit-Trail: >Unformatted: