You are not logged in.
Pages: 1
I've had to put lirc (and lirc-utils) on hold, because they fail to start via systemctl at boot. Version 1:0.9.0-41 works for me, but -43 and just today -45 fail.
$ systemctl status lircd
lircd.service - LIRC Daemon
Loaded: loaded (/usr/lib/systemd/system/lircd.service; enabled)
Active: failed (Result: exit-code) since Mon 2013-04-15 15:33:45 PDT; 1min 4s ago
Process: 592 ExecStart=/usr/sbin/lircd -d $LIRC_DEVICE -P /run/lirc/lircd.pid -H $LIRC_DRIVER $LIRC_CONFIGFILE (code=exited, status=1/FAILURE)
Process: 589 ExecStartPre=/bin/ln -s /run/lirc/lircd /dev/lircd (code=exited, status=0/SUCCESS)
Process: 586 ExecStartPre=/bin/rm -f /run/lirc/lircd (code=exited, status=0/SUCCESS)
Process: 583 ExecStartPre=/bin/rm -f /dev/lircd (code=exited, status=0/SUCCESS)
Process: 579 ExecStartPre=/bin/mkdir -p /run/lirc (code=exited, status=0/SUCCESS)Anyone else having this issue? Any suggestions on what might have changed, or a good fix?
Last edited by wilberfan (2013-06-01 02:52:20)
Hey, be nice...I'm new at this!
Offline
I had the same thing happen to me today. The lircd.service file I'm using was pointing at /usr/sbin/lircd & does not exist. Change the lircd.service file you're using to point to /usr/bin/lircd (which is where lircd is located).
Offline
Process: 592 ExecStart=/usr/sbin/lircd
lircd executable is move to /usr/bin/lircd
Offline
Process: 592 ExecStart=/usr/sbin/lircd
lircd executable is move to /usr/bin/lircd
Excellent! I'll try that when I get home... Thanks for pointing that out! :-)
Hey, be nice...I'm new at this!
Offline
Process: 592 ExecStart=/usr/sbin/lircd
lircd executable is move to /usr/bin/lircd
For future reference, here's how I got lircd working again:
I edited /usr/lib/systemd/system/lircd.service, and changed ExecStart=/usr/sbin/lircd to ExecStart=/usr/bin/lircd:
[Unit]
Description=LIRC Daemon
After=network.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/lircd.conf
PIDFile=/run/lirc/lircd.pid
ExecStartPre=/bin/mkdir -p /run/lirc
ExecStartPre=/bin/rm -f /dev/lircd
ExecStartPre=/bin/rm -f /run/lirc/lircd
ExecStartPre=/bin/ln -s /run/lirc/lircd /dev/lircd
ExecStart=/usr/bin/lircd -d $LIRC_DEVICE -P /run/lirc/lircd.pid -H $LIRC_DRIVER $LIRC_CONFIGFILE
ExecStopPost=/bin/rm -f /dev/lircd
ExecStopPost=/bin/rm -fR /run/lirc
[Install]
WantedBy=multi-user.targetIt still didn't start. I noticed that there was some kind of "Environment" error. When I checked, my /etc/conf.d/lircd.conf file was missing. (I have no idea why.) I noticed a lircd.pacsave file, and when I copied and renamed it, lircd started up fine! :-)
Hey, be nice...I'm new at this!
Offline
Pages: 1