PDA

View Full Version : rpm spec request



Jack Coates
2004-05-02, 09:23
BTW, it would be handy if the RPM update script double-checked
ownership, since things change over time. For instance, moving the
shoutcast browser from plugin to integrated feature caused this
permissions-replated crash:

[jack@felix jack]$ cat /tmp/slimserver.log
getpeername() on closed socket GEN60956 at
/usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/Socket.pm line 206.
flock() on closed filehandle GEN81981 at Plugins/ShoutcastBrowser.pm
line 1248.
can't create /usr/local/slimserver/.shoutcastbrowser.recent: Permission
denied at Plugins/ShoutcastBrowser.pm line 1272

Two seconds to troubleshoot and fix, but the rpm shoulda done it :-)

--
Jack at Monkeynoodle Dot Org: It's A Scientific Venture...
************************************************** ********************
* "These things happen to other people... they don't happen at all *
* in fact." *
* -- She's An Angel by They Might Be Giants *
************************************************** ********************

Victor Brilon
2004-05-02, 09:40
I sent a patch to Dean a few days back to fix the install permissions
problems via the RPM. Basically at every install/upgrade time we chown
the entire hierarchy to the Slim user/group.

Victor

Jack Coates wrote:
> BTW, it would be handy if the RPM update script double-checked
> ownership, since things change over time. For instance, moving the
> shoutcast browser from plugin to integrated feature caused this
> permissions-replated crash:
>
> [jack@felix jack]$ cat /tmp/slimserver.log
> getpeername() on closed socket GEN60956 at
> /usr/lib/perl5/5.8.1/i386-linux-thread-multi/IO/Socket.pm line 206.
> flock() on closed filehandle GEN81981 at Plugins/ShoutcastBrowser.pm
> line 1248.
> can't create /usr/local/slimserver/.shoutcastbrowser.recent: Permission
> denied at Plugins/ShoutcastBrowser.pm line 1272
>
> Two seconds to troubleshoot and fix, but the rpm shoulda done it :-)
>