Hide Forgot
Description of problem: The system hangs during boot waiting for LCDd to start. I believe this problem will occur in all legacy sys5 init scripts that specify a pidfile, but who's associated daemons don't create one. Version-Release number of selected component (if applicable): systemd-37-11.fc16.x86_65 lcdproc-0.5.3.1.fc16.x86_64 How reproducible: Even time the system boots Steps to Reproduce: 1. Enable LCDd with appropropriate configuration for your hardware 2. Enable LCDd at startup "chkconfig LCDd on" 3. Reboot Actual results: The system will hang for a long time. (5 minutes?) Expected results: A normal boot. Additional info: After the recent update to systemd-*-11-37, the pidfile comment in legacy sysV init scripts is used by the startup process to wait for the specified pid file to appear. This causes a hang during boot if a pidfile doesn't get created. The LCDd init script specifies a pidfile in its comment header, but the LCDd deamon doesn't create a pid file. Work-around (suggested fix?) In the file: /etc/rc.d/init.d/LCD.d Remove the comment in the header that reads: # pidfile: /var/run/LCDd.pid The system will now boot normally and LCDd works fine. Enclosed is the fixed LCDd init script.
Created attachment 562288 [details] The fixed LCDd init script.
Can you reproduce with lcdproc-0.5.5-3.fc17 ?