PDA

View Full Version : slimserver.conf



Patrick Dixon
2005-03-18, 07:43
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?

Patrick

Dan Sully
2005-03-18, 09:49
* 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.