Bug 17622 - LMS deb installer improperly preserves squeezeboxserver user account when installed over SBS 7.6
: LMS deb installer improperly preserves squeezeboxserver user account when ins...
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Debian
: 7.7.0
: PC Debian Linux
: P3 normal with 2 votes (vote)
: 7.7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-30 18:45 UTC by Gordon Harris
Modified: 2012-05-25 09:13 UTC (History)
4 users (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Harris 2011-09-30 18:45:19 UTC
Using LMS 7.7.0 - r33539 on Ubuntu server 10.04

LMS still uses 'squeezeboxserver' as the service operating user account name and in various pathnames.

If LMS is installed over SBS, the 'squeezeboxserver' account and several configuration files and paths are removed if the user subsequently runs:

# /usr/bin/dpkg -P squeezeboxserver
# apt-get clean

This renders the LMS installation inoperable and unusable.

These are standard debian housecleaning steps so this is liable to be a problem for many debian users.

The LMS deb installer should flag the squeezeboxserver account as to be preserved while LMS is still installed.
Comment 1 Gordon Harris 2011-10-24 11:56:46 UTC
Easiest way to deal with this might be to change the LMS user account to logitechmediaserver and change the various pathname elements from squeezeboxserver to logitechmediaserver.

e.g.

/etc/logitechmediaserver/modules.conf, etc.

/usr/share/logitechmediaserver

/var/lib/logitechmediaserver

/var/log/logitechmediaserver