Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 257583

Summary: media-sound/squeezecenter-7.2.1 fails to start from init script
Product: Gentoo Linux Reporter: Ben Weiner <ben>
Component: New packagesAssignee: Stuart Hickinbottom <stuart>
Status: VERIFIED FIXED    
Severity: normal CC: ben, lavajoe
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Weiner 2009-02-04 11:23:22 UTC
I couldn't start squeezecenter after upgrading to 7.2.1. Error: "/usr/bin/perl already running".

This fixed it:
-            --start --exec /usr/bin/perl  /usr/sbin/${scname} --chuid ${scuser} \
+            --start --exec /usr/sbin/${scname} --chuid ${scuser} \

this is the version header in the file:
# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/files/squeezecenter.init.d,v 1.2 2008/11/11 14:03:15 lavajoe Exp $



Hope this is helpful.

Reproducible: Always

Steps to Reproduce:
sudo /etc/init.d/squeezecenter start




My platform: 2.6.25-gentoo-r6
Comment 1 Stuart Hickinbottom 2009-02-05 08:09:00 UTC
I think this has already been addressed in later versions of the ebuild (from 7.3.0 onwards, I think), through the addition of the following to the start-stop-daemon:

--startas /usr/sbin/${scname} --pidfile ${pidfile} --chuid ${scuser}

From memory I think the key was the --startas parameter.

Could you try that and verify whether that also fixes it for you? If you need to stay with SqueezeCenter 7.2.1 for other reasons then I think you've already fixed it by effectively using the init.d script from the later ebuild anyway.
Comment 2 Ben Weiner 2009-02-26 20:29:59 UTC
(In reply to comment #1)

> Could you try that and verify whether that also fixes it for you?

Thanks, yes, perfect.

Comment 3 Stuart Hickinbottom 2009-02-27 08:05:46 UTC
Many thanks; on that basis I'll mark this as verified and closed.
Comment 4 Stuart Hickinbottom 2009-02-27 08:06:10 UTC
Closing.