/var/run can be mounted tmpfs and cleared during a reboot. Hence, programs (or their init scripts) should not rely on dirs under /var/run and should create them if necessary instead. squeezeboxserver fails to start when /var/run/squeezeboxserver is missing: [12-02-06 13:02:42.1336] main::init (326) Starting Squeezebox Server (v7.5.5, r32671, Mon Jul 11 12:59:44 MDT 2011) perl 5.012004 [12-02-06 13:02:42.2548] Carp::croak (62) Warning: write_file '/var/run/squeezeboxserver/squeezeboxserver.pid' - sysopen: No such file or directory at /usr/sbin/squeezeboxserver line 1060 The attached patch to the init script calls checkpath to ensure this directory exists when the service is started. Reproducible: Always Steps to Reproduce: 1. remove /var/run/squeezeboxserver 2. try to start the service Actual Results: squeezeboxserver fails to start Expected Results: squeezeboxserver should start
Created attachment 301033 [details, diff] patch to files/squeezeboxserver.init.d
Package has been masked for removal - please reopen for: media-sound/logitechmediaserver-bin if still an issue there.