Bug 647200 - /usr/lib/lsb/install_initd implementation does not conform to LSB spec
Summary: /usr/lib/lsb/install_initd implementation does not conform to LSB spec
Keywords:
Status: CLOSED DUPLICATE of bug 632294
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: 13
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-27 14:22 UTC by Jason Corley
Modified: 2014-03-17 03:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-27 16:11:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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