Bug 768666

Summary: /etc/rc.d/rc.local isn't used
Product: [Fedora] Fedora Reporter: Need Real Name <lsof>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: iarlyy, jonathan, lnykryn, notting, plautrba, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-19 19:55:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Need Real Name 2011-12-17 18:41:00 UTC
Description of problem:

rc.local seems to be ignored at boot despite following the docs:

"The /etc/rc.d/rc.local local customization script is no longer included by default. Administrators who need this functionality merely have to create this file, make it executable, and it will run on boot."
from http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html

# ls -la /etc/rc.d/rc.local
-rwxr-xr-x. 1 root root 23 Dec 17 19:10 /etc/rc.d/rc.local

# cat /etc/rc.d/rc.local 
date > /tmp/date.txt &

# reboot

# cat /tmp/date.txt
cat: /tmp/date.txt: No such file or directory


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Bill Nottingham 2011-12-19 19:55:09 UTC
/etc/rc.d/rc.local needs to start with a valid shell script header, such as: "#!/bin/sh"