On Thu, Feb 12, 2009 at 12:12:08AM +0100, Guus Sliepen wrote: > On Wed, Feb 11, 2009 at 12:02:45AM +0100, Jaap Eldering wrote: > > > I recently upgraded my desktop to Lenny and installed the insserv > > dependency based init package. I'm pretty sure that since then my remote > > stopped working correctly: it did send signals, but it didn't seem to > > read/use the .lircrc config file anymore. Restarting lirc and then > > inputlirc solves the problem and restores the original behaviour. > > > > So it seems that /etc/init.d/inputlirc is missing a boot-time depencency > > on lirc, but I'm not completely sure that it not an error in > > configuration from my side. > > Inputlirc does not depend at all on lirc. However, I guess that you are using > the init script from the lirc package to automatically start irexec. I cannot > specify in the LSB header of the inputlirc init script that the lirc init > script should start after it. The only thing you can do is to add > Should-Start: > inputlirc to /etc/init.d/lirc's header. > > Does that solve your problem?
I'm a bit confused about you saying "add Should-Start: inputlirc to /etc/init.d/lirc". The correct order of starting is lirc, inputlirc. That I can confirm manually: starting them in that order and my configuration works, starting them in the reverse order and it doesn't work. So it seems to me that in /etc/init.d/inputlirc on the 'Should-Start:' line 'lirc' should be added. I tried this and after a reboot it works as it originally did. Jaap
signature.asc
Description: Digital signature