Bug 590703

Summary: Init process freezes if /etc/inittab does not exist.
Product: [Fedora] Fedora Reporter: Martin Cermak <mcermak>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: cdahlin, iarlyy, jonathan, notting, plautrba, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.12.1-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 590706 (view as bug list) Environment:
Last Closed: 2010-07-01 18:46:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 590706    
Attachments:
Description Flags
rcS*.conf - check if /etc/inittab exists none

Description Martin Cermak 2010-05-10 14:20:01 UTC
Description of problem:

   If /etc/inittab does not exist, init process freezes:

awk: cmd. line:1: fatal: cannot open file `/etc/inittab' for reading (No such file or directory) 
init: rcS post-stop process (751) terminated with status 2


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

[root@localhost ~]# rpm -q upstart
upstart-0.6.5-5.fc13.x86_64
[root@localhost ~]# cat /etc/fedora-release 
Fedora release 13 (Goddard)
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.33.3-85.fc13.x86_64 #1 SMP Thu May 6 18:09:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
  
How reproducible:

always

Steps to Reproduce (DESTRUCTIVE*):
1. mv /etc/inittab /etc/inittab.ORIG
2. reboot

  
Actual results:

  Init process freezes.

Expected results:

   Init process does not freeze.

Additional info:

Comment 1 Petr Lautrbach 2010-05-10 14:30:57 UTC
Created attachment 412857 [details]
rcS*.conf - check if /etc/inittab exists

Upstart job fails if any of processes doesn't end with success. We should check if /etc/inittab exists before try parse out default runlevel.

Comment 2 Bill Nottingham 2010-05-13 17:02:49 UTC
Thanks! 

http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=0b8393964ed79dbf7382266b7cb62e7d530bb2c5

Also backported to F-13 branch.

Comment 3 Fedora Update System 2010-06-24 19:32:46 UTC
initscripts-9.12.1-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/initscripts-9.12.1-1.fc13

Comment 4 Fedora Update System 2010-06-25 18:14:31 UTC
initscripts-9.12.1-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update initscripts'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/initscripts-9.12.1-1.fc13

Comment 5 Martin Cermak 2010-06-28 10:58:31 UTC
Seems like it is fixed in initscripts-9.03.10-1.el6. RHTS tests scheduled...

Comment 7 Martin Cermak 2010-06-28 11:19:21 UTC
=> VERIFIED

Comment 8 Fedora Update System 2010-07-01 18:45:44 UTC
initscripts-9.12.1-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.