Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 00:43:53 +0200 (CEST)
From:      Matthias Andree <matthias.andree@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/72138: libc.so.5 isn't installed in a safe way
Message-ID:  <20040927224353.845381B217@merlin.emma.line.org>
Resent-Message-ID: <200409272250.i8RMo6K4005094@freefall.freebsd.org>

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

>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@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:



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