Bugzilla – Bug 9764
SqueezeCenter init scripts issue warnings on Debian Lenny
Last modified: 2009-07-31 10:30:59 UTC
The SqueezeCenter init scripts issue warnings on install on Debian Lenny due to new LSB requirements: Setting up squeezecenter (7.3~23623) ... update-rc.d: warning: /etc/init.d/squeezecenter missing LSB information update-rc.d: see <http://wiki.debian.org/LSBInitScripts> Starting SqueezeCenter Audio Server. Simply adding the following to /etc/init.d/squeezecenter resolves the issue: ### BEGIN INIT INFO # Provides: squeezecenter # Required-Start: $all # Required-Stop: $all # Should-Start: $all # Should-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: web, slimproto media server ### END INIT INFO
Is there a particular reason you want to start SC in runlevel 2? Other than that, I'll add longer descriptions and fix this today.
I copied this from the mediatomb (another media streaming application) startup script, so I didn't inspect it very carefully. That said, my references indicate that 2-5 are various multi-user runlevels and 2 is the default. What about runlevel 2 is it that you would not want it started?
All networking is disabled in runlevel 2. Fixed in change 23626 (7.3/trunk). Please test tomorrow's nightly.
Thanks for fixing it Fletch. I think you're thinking of Redhat with respect to the runlevels. Debian doesn't differentiate between runlevel 2-5 according to my research, and the default runlevel is 2.
I stand corrected, thanks. Looks like this was changed when they moved to upstart. Change 23627 adds back runlevels 2 and 4.
I can confirm this is fixed with the latest 7.3 nightlies.
(In reply to comment #6) > I can confirm this is fixed with the latest 7.3 nightlies. > Marking bug as Fixed
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC