Bug 120434 - incomplete upgrade leaves system unbootable
Summary: incomplete upgrade leaves system unbootable
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: sysvinit
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-08 19:35 UTC by Lee Olsen
Modified: 2014-03-17 02:44 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-01-28 06:33:32 UTC


Attachments (Terms of Use)

Description Lee Olsen 2004-04-08 19:35:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031030

Description of problem:
/sbin/init is dynamically linked. Upgrades that change libc.so
or ld-linux.so may cause init to crash on startup. Upgrading
Redhat 7.3 (glibc 2.2.5) to Fedora Core (glibc 2.3.2) does this.
Upgrading glibc, glibc-devel, and bin-utils from 2.2.5 to 2.3.2
at the command line will do the same thing.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Start with a clean glibc 2.2.5 system
2.Upgrade glibc, glibc-devel, and bin-utils to 2.3.2
3.
    

Actual Results:  rpm seg faults, preventing upgrades or downgrades.
/sbin/init may or may not run. Trying chroot in
rescue mode seg faults

Additional info:

Programs used at boot time like /sbin/init should be statically linked,
as system upgrades are not atomic and can leave shared objects in
unpredictable and incompatible states.
Rpm and any support tools (like cpio) should be statically linked as well.

Comment 1 Bill Nottingham 2004-04-08 20:03:51 UTC
[notting@nostromo: ~]$ file /usr/lib/rpm/rpmi
/usr/lib/rpm/rpmi: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.2.5, for GNU/Linux 2.2.5, for GNU/Linux 2.2.5,
statically linked, stripped

That is statically linked. init has never been statically linked to
the best of my knowledge, and this is the first I've heard of this.
Just the glibc upgrade caused the crash for you.

Comment 2 Bill Nottingham 2004-04-08 20:04:09 UTC
Erm, that last statement was a question.

Comment 3 Bill Nottingham 2005-01-28 06:33:32 UTC
Closing, no response. Note that glibc does reexec init on upgrades.

Comment 4 David Lawrence 2007-06-22 02:11:14 UTC
Package name is now sysvinit in Fedora.


Note You need to log in before you can comment on or make changes to this bug.