FS#20676 - [lirc-utils] Lircd init script needs improvement
Attached to Project:
Arch Linux
Opened by Simon Perry (pezz) - Monday, 30 August 2010, 14:04 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 08 September 2010, 13:32 GMT
Opened by Simon Perry (pezz) - Monday, 30 August 2010, 14:04 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 08 September 2010, 13:32 GMT
|
Details
Description:
The lircd init script does a blind ln without verifying that /var/run/lirc exists: ---- 8< ---- LIRCD_SOCKET=/var/run/lirc/lircd case "$1" in start) stat_busy "Starting LIRC Daemon" rm -f $LIRCD_SOCKET && ln -s $LIRCD_SOCKET $LIRCD_SYMLINKFILE ---- 8< ---- If you mount /var/run on tmpfs like I do, this causes the script to fail after a reboot and not start lircd. It'd be nice if the script was a but smarter about checking and creating /var/run/lirc. Cheers. Additional info: * lirc-utils 0.8.6-3 Steps to reproduce: * Remove /var/run/lirc and try and start the daemon with /etc/rc.d/lircd |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 08 September 2010, 13:32 GMT
Reason for closing: Implemented
Additional comments about closing: lirc-utils 0.8.6-4
Wednesday, 08 September 2010, 13:32 GMT
Reason for closing: Implemented
Additional comments about closing: lirc-utils 0.8.6-4
Comment by
Gerardo Exequiel Pozzi (djgera) -
Monday, 30 August 2010, 17:29 GMT
- Field changed: Summary (Lircd init script needs improvement → [lirc-utils] Lircd init script needs improvement)
- Field changed: Status (Unconfirmed → Assigned)
- Task assigned to Andrea Scarpino (BaSh), Dan Griffiths (Ghost1227), Giovanni Scafora (giovanni), Hugo Doria (hdoria)
Also assigned to OT, since Hugo is not around here.