mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #10286
[Bug 460027] Re: using lirc init script restart function fails sometimes
This bug was fixed in the package lirc - 0.9.4c-1
---------------
lirc (0.9.4c-1) experimental; urgency=medium
* New upstream release.
* New tool irtext2udp.
* Resolves build errors on kernels > 4.8.0A.
* Most of patches upstreamed.
-- Alec Leamas <leamas.alec@xxxxxxxxx> Sat, 22 Oct 2016 14:52:05 +0200
** Changed in: lirc (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/460027
Title:
using lirc init script restart function fails sometimes
Status in lirc package in Ubuntu:
Fix Released
Bug description:
Binary package hint: lirc
Using lircd 0.8.6 on Mythbuntu 9.10:
Using "/etc/init.d/lirc restart" successfully shuts down lircd however it fails to start back up even though the output on the console indicates that it started (the [ OK ] on the right)
If I then immediately run "/etc/init.d/lirc start" it starts up fine.
I believe it is just a simple timing problem. Maybe it takes lircd
half a second or so to shut down but the init script is not waiting
for it. When the new instance tries to start, it can't grab the
resources it needs because the old one is still holding on to them.
For me, simply adding a "sleep 1" in the restart function right after
the call to "stop" (line 222) fixes this problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/460027/+subscriptions