+++ This bug was initially created as a clone of Bug #790922 +++ Description of problem: The LCDd service fails to start because systemd is waiting for /run/LCDd.pid and LCDd does not create a pid file. Version-Release number of selected component (if applicable): systemd-44-8.fc17.x86_64 lcdproc-0.5.5-3.fc17.x86_64 How reproducible: Every time. Steps to Reproduce: 1. Enable LCDd with appropropriate configuration for your hardware 2. systemctl start LCDd.service Actual results: systemd eventual times out starting the service. Expected results: successfuly start LCDd Work-around (suggested fix?) Remove "PIDFile=/run/LCDd.pid" from /usr/lib/systemd/system/LCDd.service --- Additional comment from hugh on 2012-02-15 12:58:10 EST --- Created attachment 562288 [details] The fixed LCDd init script. --- Additional comment from kwizart on 2012-03-10 14:40:14 EST --- Can you reproduce with lcdproc-0.5.5-3.fc17 ?
This also happens for me with lcdproc-0.5.5-3.fc17/systemd-44-12.fc17. Looks like the lcdproc project has updated their 0.5.5 ReadMe/Release Notes (2012-02-18) and added another Known Bug: - On recent Linux distributions which use RPM style init scripts the script init-LCDd.rpm hangs because it incorrectly references a pid file that is not created. Workaround: Remove the line '# pidfile: /var/run/LCDd.pid'. LCDd starts up and runs if executed manually (/usr/sbin/LCDd -c /etc/lcdproc/LCDd.conf) but systemd times out and fails to start the service (systemctl start LCDd.service) because the unit file references a pid file (/run/LCDd.pid) which LCDd never creates. This can be fixed by removing the pid file reference in the systemd unit file: Remove or comment out the "PIDFile=/run/LCDd.pid" line in the systemd unit file (/usr/lib/systemd/system/LCDd.service) systemctl daemon-reload systemctl start LCDd.service (success!)
Created attachment 593802 [details] Corrected LCDd.service file Replacement LCDd.service file modified from current file in master. I'd appreciate it if the package can be updated to use this one instead.
Is there anyone that can apply to co-maintainership of lcdproc here ?
(In reply to comment #3) > Is there anyone that can apply to co-maintainership of lcdproc here ? If I can get myself sponsored I could. I'm not currently a package maintainer but I do have a FAS account and I've read through most of the packaging documentation. I've built my own private packages and spec files over the years.
lcdproc-0.5.5-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/lcdproc-0.5.5-5.fc17
Package lcdproc-0.5.5-5.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lcdproc-0.5.5-5.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11006/lcdproc-0.5.5-5.fc17 then log in and leave karma (feedback).
lcdproc-0.5.5-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.