init script is missing LSB information

Bug #446703 reported by Henrik Groß
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
tpb (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

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).

Tags: lsb
Revision history for this message
Henrik Groß (henrik-gross) wrote :

Sorry, here's a corrected diff.

Changed in tpb (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
pcr (petitchevalroux) wrote :

I'm not familar with LSB tag and dependencies but is there anyway to use the Required-Start information to make tpb start after gdm or xorg server in order to have tpb osb working ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.