Bug 185528 - /etc/inittab gets deleted after update -> no boot
/etc/inittab gets deleted after update -> no boot
Status: CLOSED DUPLICATE of bug 197906
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
rawhide
All Linux
medium Severity high
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
: 185731 (view as bug list)
Depends On:
Blocks: FC5Blocker
  Show dependency treegraph
 
Reported: 2006-03-15 10:22 EST by drago01
Modified: 2014-03-16 22:58 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-10 15:42:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
yum.log illustrating bad upgrade (22.24 KB, text/plain)
2006-03-15 14:11 EST, Julian C. Dunn
no flags Details
rpmpkgs file (23.97 KB, text/plain)
2006-03-15 15:33 EST, Julian C. Dunn
no flags Details
old initscripts rpm (1.17 MB, application/octet-stream)
2006-03-16 14:49 EST, Bill Nottingham
no flags Details

  None (edit)
Description drago01 2006-03-15 10:22:31 EST
Description of problem:
after updating to initscripts-8.31.1-1  /ect/inittab gots deleted and I 
/etc/inittab.rpmsave got created instead. (no bootable system!)
Version-Release number of selected component (if applicable):
8.31.1-1 

How reproducible:
always

Steps to Reproduce:
1. boot
2.
3.
  
Actual results:

no inittab file found

Expected results:

inittabfile should be found an not dropped by an update (this may even break
fc3/4->fc5 updates)
Additional info:
please mark this as a blocker
Comment 1 Bill Nottingham 2006-03-15 10:42:55 EST
What were you upgrading from?
Comment 2 Julian C. Dunn 2006-03-15 10:45:18 EST
I had this problem too, upgrading from initscripts.i386 8.31-1
Comment 3 Jesse Keating 2006-03-15 10:46:03 EST
We're trying to duplicate this here w/ anaconda upgrades from FC4 to the current
release candidate of FC5.
Comment 4 drago01 2006-03-15 11:06:53 EST
this info might help:
my rawhide install was installed in textmode so it defaulted to runlevel 3 and I
edited it to be 5 (could it be deleting edited files only?)
Comment 5 Bill Nottingham 2006-03-15 11:16:17 EST
Is SELinux enabled, and are there any AVC messages?

How did you upgrade - anaconda, yum , or straight RPM?

Was there any messages about saving files as .rpmsave or installing them as .rpmnew?

I can't reproduce this here on a simple 8.31-1 -> 8.31.1-1 upgrade.
Comment 6 drago01 2006-03-15 11:19:59 EST
(In reply to comment #5)
> Is SELinux enabled, and are there any AVC messages?
> 
enabled no avcs
> How did you upgrade - anaconda, yum , or straight RPM?
> 
pup
> Was there any messages about saving files as .rpmsave or installing them as
.rpmnew?
> 
pup does not show such infos :(
> I can't reproduce this here on a simple 8.31-1 -> 8.31.1-1 upgrade.

Comment 7 Jeremy Katz 2006-03-15 11:38:30 EST
I can't reproduce either, selinux enabled, using pup, edited /etc/inittab.

Any text spew from pup will end up in your X session log (/tmp/xses.* usually)
Comment 8 drago01 2006-03-15 11:40:38 EST
(In reply to comment #7)
> I can't reproduce either, selinux enabled, using pup, edited /etc/inittab.
> 

> Any text spew from pup will end up in your X session log (/tmp/xses.* usually)
too late :(
currently installing fc4 on that box to test anaconda update...
Comment 9 Bill Nottingham 2006-03-15 11:54:57 EST
Can you reproduce it at will by downgrading, moving in your rpmsave file, and
upgrading?
Comment 10 Bill Nottingham 2006-03-15 13:22:02 EST
Also, did you have *any* third party packages installed?
Comment 11 Julian C. Dunn 2006-03-15 14:11:36 EST
Created attachment 126163 [details]
yum.log illustrating bad upgrade

Per discussion on the test list, it looks like yum went and uninstalled my
initscripts, which would explain the behaviour... I'll attach the complete
yum.log now.

I have only two "third-party" packages installed: the Cisco VPN client, and
VMWare, but I just reinstalled them and they don't touch /etc/inittab.
Comment 12 Paul Nasrat 2006-03-15 14:22:36 EST
Thanks, do you have any yum plugins installed/enabled. Can you also attach
/var/log/rpmpkgs*
Comment 13 Paul Nasrat 2006-03-15 14:50:55 EST
Julian, also if you rollback initscripts to previous version and update does it
recurr?
Comment 14 Julian C. Dunn 2006-03-15 15:32:56 EST
(In reply to comment #12)
> Thanks, do you have any yum plugins installed/enabled. Can you also attach
> /var/log/rpmpkgs*

The only plugin installed/enabled is "installonlyn" which is what came with
FC4... I'm not too clear on what this does and what its impact might be.

I'll attach the /var/log/rpmpkgs* output now
Comment 15 Julian C. Dunn 2006-03-15 15:33:58 EST
Created attachment 126167 [details]
rpmpkgs file
Comment 16 Julian C. Dunn 2006-03-15 15:36:00 EST
(In reply to comment #13)
> Julian, also if you rollback initscripts to previous version and update does it
> recurr?

Paul - can you advise where I could get the old build of initscripts I will try
this and let you know.
Comment 17 drago01 2006-03-16 12:11:27 EST
(In reply to comment #10)
> Also, did you have *any* third party packages installed?

first: does not happend using anaconda...
2: I had no third party packages installed ; clean rawhide box with some
packages from extras.
Comment 18 Bill Nottingham 2006-03-16 14:49:45 EST
Created attachment 126244 [details]
old initscripts rpm

Here's the old version of initscripts.
Comment 19 Julian C. Dunn 2006-03-17 09:21:59 EST
I tried to reproduce the behaviour by installing the old initscripts and doing a
yum update, but the problem did not reoccur.
Comment 20 Bill Nottingham 2006-03-17 11:21:52 EST
*** Bug 185731 has been marked as a duplicate of this bug. ***
Comment 21 Bill Nottingham 2006-07-10 15:42:56 EDT

*** This bug has been marked as a duplicate of 197906 ***

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