Bug 647200

Summary: /usr/lib/lsb/install_initd implementation does not conform to LSB spec
Product: [Fedora] Fedora Reporter: Jason Corley <jason.corley>
Component: chkconfigAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: herrold, notting, 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: 2010-10-27 16:11:46 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:

Description Jason Corley 2010-10-27 14:22:09 UTC
Description of problem:

The LSB spec says that init scripts should be installed by running the following:
  /usr/lib/lsb/install_initd /etc/init.d/foo
On F13 this does not work:
  [root@localhost ~]# rpm -q chkconfig redhat-lsb
  chkconfig-1.3.45-1.fc13.i686
  redhat-lsb-4.0-5.fc13.i686
  [root@localhost ~]# chkconfig --del sshd
  [root@localhost ~]# 
  [root@localhost ~]# ls -l /etc/rc?.d/*ssh*
  ls: cannot access /etc/rc?.d/*ssh*: No such file or directory
  [root@localhost ~]# 
  [root@localhost ~]# /usr/lib/lsb/install_initd /etc/init.d/sshd 
  [root@localhost ~]# echo $?
  1
  [root@localhost ~]# 
  [root@localhost ~]# ls -l /etc/rc?.d/*ssh*
  ls: cannot access /etc/rc?.d/*ssh*: No such file or directory
  [root@localhost ~]# 



Version-Release number of selected component (if applicable):
  chkconfig-1.3.45-1.fc13.i686
  redhat-lsb-4.0-5.fc13.i686



Additional info:

Here are the references (as best as I can tell this has never changed in the LSB spec):
http://refspecs.freestandards.org/LSB_1.0.0/gLSB/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_1.1.0/gLSB/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_1.2.0/gLSB/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_1.3.0/gLSB/gLSB/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_2.0.1/LSB-Core/LSB-Core/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/initsrcinstrm.html
http://refspecs.freestandards.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/initsrcinstrm.html

Comment 1 Jason Corley 2010-10-27 14:33:06 UTC
chkconfig 1.3.30.2 in rhel 5 does work

Comment 2 Bill Nottingham 2010-10-27 16:11:01 UTC
Please try the F-14 version (it should install without dependency issues) - I believe it's fixed there. If you confirm, I can push an update.

Comment 3 Bill Nottingham 2010-10-27 16:11:46 UTC
Whoops, never mind.

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