bin/72138: libc.so.5 isn't installed in a safe way

Matthias Andree matthias.andree at web.de
Mon Sep 27 15:50:07 PDT 2004


>Number:         72138
>Category:       bin
>Synopsis:       libc.so.5 isn't installed in a safe way
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 22:50:06 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 5.3-BETA5 i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 5.3-BETA5 FreeBSD 5.3-BETA5 #6: Sat Sep 25 15:03:30 CEST 2004 root at merlin.emma.line.org:/usr/src/sys/i386/compile/MA5 i386


	
>Description:
I ran "make installworld" from a ready built BETA6 while / was low on space.
Make installworld crashed in the middle of its process and left me with
a system that had no libc.so.5.

I have no "INSTALL"-related options in /etc/make.conf.
	
>How-To-Repeat:
1. build world and install rescue so you can back out
2. fill / (perhaps with dd if=/dev/zero of=/deleteme) so it
   cannot hold another libc.so.5 copy
3. install world

Depending on the exact amount of free space on / in step #2 and #3, you may not
hit a problem with installing libc.so.5 but some other installation.

to recover, use: /rescue/cp /usr/obj/usr/src/lib/libc/libc.so.5 /lib
	
>Fix:
Let the installation for ESSENTIAL files use the -S flag so that there is
always a usable copy of these files in place.
	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list