Bug 1906 - Compatible init script needed for SuSE
: Compatible init script needed for SuSE
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: RPM
: 6.1.1
: PC SuSE Linux
: P2 enhancement (vote)
: Future
Assigned To: Mark Miksis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-01 20:19 UTC by Will Irace
Modified: 2008-12-15 13:06 UTC (History)
0 users

See Also:
Category: ---


Attachments
/etc/init.d/skeleton (11.43 KB, text/plain)
2005-08-01 22:44 UTC, Will Irace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Will Irace 2005-08-01 20:19:23 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
Comment 1 Blackketter Dean 2005-08-01 21:20:54 UTC
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.
Comment 2 Will Irace 2005-08-01 22:44:58 UTC
Created attachment 689 [details]
/etc/init.d/skeleton
Comment 3 Will Irace 2005-08-01 22:45:52 UTC
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
Comment 4 KDF 2005-08-11 15:11:17 UTC
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
Comment 5 KDF 2005-08-11 15:13:42 UTC
wrong field for summary :)
Comment 6 Chris Owens 2007-12-10 18:24:44 UTC
Assigned to Fletch at his request per bug 5623
Comment 7 Mark Miksis 2007-12-26 10:51:38 UTC
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.
Comment 8 James Richardson 2008-12-15 13:06:55 UTC
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.