Bugzilla – Bug 1906
Compatible init script needed for SuSE
Last modified: 2008-12-15 13:06:55 UTC
Using slimserver-6.1.1-1.noarch.rpm First of all, the RPM saved the init script as /etc/init.d/init.d/slimserver. It should be /etc/init.d/slimserver. Second of all, the script doesn't work anyway, even if I move it to the right spot. scratchy:~ # cd /etc/init.d/init.d/ scratchy:/etc/init.d/init.d # ./slimserver start ./slimserver: line 12: /etc/rc.d/init.d/functions: No such file or directory ./slimserver: line 15: .: /etc/sysconfig/network: is a directory ./slimserver: line 22: [: =: unary operator expected Starting SlimServer: ./slimserver: line 33: daemon: command not found
Script works fine for me on my Fedora 3 system. SuSE uses a different init mechanism. Which version of SuSE are you using? I suspect we'll need a separate RPM for that distro.
Created attachment 689 [details] /etc/init.d/skeleton
Oops, shoulda said. I'm on SuSE 9.3. Attached is a sample init script. And this may be useful, though dated: http://forums.slimdevices.com/archive/index.php/t-7045.html
an early suggestion mentioned a repository for different linux init scripts (gentoo, suse, debian, etc). I dont think it ever came to fruition. marking this as an enhancement. the RPM script is for redhat style, and thus works as designed. the need for other styles is clearly there, though
wrong field for summary :)
Assigned to Fletch at his request per bug 5623
This is fixed in the new SqueezeCenter RPM which includes a SUSE-compatible init script. Please see http://forums.slimdevices.com/showthread.php?t=41217 and http://wiki.slimdevices.com/index.cgi?SqueezeCenterRPM for more information. Marking as FIXED.
This bug appears to have been fixed in the latest release! If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look. Make sure to include the version number of the software you are seeing the error with.