#40 LCDd init script in RPM package will prevent normal boot

server (16)
Hugh Sparks

SysV init scripts have a header with comments that are interpeted during the startup process.
Recently, the systemd startup manager used by Fedora, Redhat,, and others, started taking the
pidfile comment in this header seriously. If a pidfile is specified, the system will hang up during
boot waiting for the pid file to appear.

The change came about in systemd-37-11 and is designed to speed up the boot process by
starting daemons in parallel and later waiting for them to show they've started. It is now used
for legacy sysV init scripts such as the one used to start LCDd.

The LCDd init script contains a pidfile comment:

# pidfile: /var/run/LCDd.pid

But no such file is ever created. Consequently systems with the new systemd package will hang during boot.

The fix is simple: Remove the pidfile comment.
Enclosed is a fixed version of the file: init-LCDd.rpm.in


  • Hugh Sparks

    Hugh Sparks - 2012-02-16

    The pidfile comment is removed.

  • Markus Dolze

    Markus Dolze - 2012-02-18
    • assigned_to: nobody --> mmdolze
    • status: open --> closed-fixed
  • Markus Dolze

    Markus Dolze - 2012-02-18

    Fixed in CVS (both current and lcdproc-0-5-x stable). Added a note to the 'known bugs' sections of the release Readme.txt.


Log in to post a comment.