[Bug 446703] [NEW] init script is missing LSB information

Henrik Groß henrik.gross at gmx.de
Thu Oct 8 21:06:16 UTC 2009


Public bug reported:

Binary package hint: tpb

After installing tpb, update-rc.d notices that /etc/init.d/tpb is
missing LSB information.

# apt-get install tpb
...
Richte tpb ein (0.6.4-2.3ubuntu1) ...
update-rc.d: warning: /etc/init.d/tpb missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Log ended: 2009-10-08  22:57:00

I think /etc/init.d/tpb should begin with:

#!/bin/sh
### BEGIN INIT INFO
# Provides:          tpb
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: 
# Description:       
### END INIT INFO

I don't know if the Default-Start and -Stop runlevels are correct.
Short-Description and Description have to be added, I have no good idea for it, sorry.
The attached patch adds LSB information, information about the author and website and makes some minor changes (I compared the script with /etc/init.d/bluetooth).

** Affects: tpb (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lsb

-- 
init script is missing LSB information
https://bugs.launchpad.net/bugs/446703
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list