Description of problem: The necessary folder and file is not created by default at install time by this package to run the packaged config file. There needs to be a /var/run/mpdscribble folder and a /var/run/mpdscribble/mpdscribble.pid file with the ownership of mpdscribble:mpdscribble for this service not to error out and crash. Version-Release number of selected component (if applicable): Name : mpdscribble Arch : x86_64 Version : 0.22 Release : 2.fc18 How reproducible: Should be on every single install Steps to Reproduce: 1. sudo yum install mpdscribble 2. sudo service start mpdscribble 3. sudo systemctl status mpdscribble 4. view the error Actual results: mpdscribble[5351]: Failed to create pidfile /var/run/mpdscribble/mpdscribble.pid: No such file or directory Expected results: mpdscribble.service - Mpdscribble Loaded: loaded (/usr/lib/systemd/system/mpdscribble.service; enabled) Active: active (running) since Fri, 2013-01-11 10:13:21 EST; 3s ago Main PID: 5874 (mpdscribble) CGroup: name=systemd:/system/mpdscribble.service └ 5874 /usr/bin/mpdscribble --no-daemon --pidfile /var/run/mpdscribble/mpdscribble.pid
After a reboot the /var/run/mpdscribble folder is removed
After talking on IRC #freenode the user Fenris02 suggested to modify the /etc/tmpfiles.d/mpdscribble file and add "d /var/run/mpdscribble 0755 mpdscribble mpdscribble" This persists the folder after reboot. I noticed that there is already a line in there for /var/cache/mpdscribble which doesn't appear to be necessary as /var/cache is not a temp fs. I would suggest patching to incorporate the line "d /var/run/mpdscribble 0755 mpdscribble mpdscribble"
(In reply to comment #2) > After talking on IRC #freenode the user Fenris02 suggested to modify the > /etc/tmpfiles.d/mpdscribble file and add "d /var/run/mpdscribble 0755 > mpdscribble mpdscribble" > > This persists the folder after reboot. > > I noticed that there is already a line in there for /var/cache/mpdscribble > which doesn't appear to be necessary as /var/cache is not a temp fs. > > I would suggest patching to incorporate the line "d /var/run/mpdscribble > 0755 mpdscribble mpdscribble" Thanks for the report. It looks like I copypasted /var/cache from somewhere and made a nasty typo. A new build will be available shortly.
mpdscribble-0.22-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mpdscribble-0.22-3.fc18
I wonder if it still works. Could you please test it?
Package mpdscribble-0.22-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mpdscribble-0.22-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1450/mpdscribble-0.22-3.fc18 then log in and leave karma (feedback).
mpdscribble-0.22-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.