PDA

View Full Version : slimserver.conf



Patrick Dixon
2005-03-18, 10:01
OK - but too late not to remove it ;-).

If you get a chance, might be worth updating the Installation.txt, although I'm probably the only person who's ever read it anyway ...

So when /etc/slimserver.conf is created at install (by root), presumably it needs 666 permissions so that any slimserver user can update it?

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Dan Sully
Sent: 18 March 2005 16:50
To: Slim Devices Discussion
Subject: [slim] slimserver.conf


* Patrick Dixon shaped the electrons to say...

>Not sure if this is a bug, but I just thought I'd point it out:
>
>The Installation.txt says that if /etc/slimserver.conf is deleted the
>software will reset to default values. Only problem is that it does this by
>writting new the values to ~/.slimsever.conf. Then, because
>/etc/slimserver.conf doesn't exist, the slimserver daemon bombs out.
>Wouldn't it be better to recreate the defualts as /etc/slimserver.conf?

Yes - but the user running SlimServer may not have permissions to do so.

If SlimServer was installed via RPM (as root), then it can create the initial
/etc/slimserver.conf file. Instead of removing that to clear out your config, try this instead:

cp /dev/null /etc/slimserver.conf

Which zeros out the file.

-D
--
<nil> It sucks to discover that you are the foremost authority on some set of things when you've got a problem.