lirc init script can create circular symlinks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lirc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: lirc
This is related to bug 697999 and specifically my need to work around that bug.
If, in /etc/lirc/
A patch for this solution is attached.
My preference would actually to be to use the new socket locations in /var/run/lircd, however, then the the order I create those sockets is irrelevant, as the magical symlinking always symlinks /dev/lircd to the remote and /dev/lircd1 to the transmitter, which is backwards from how I need it to be. I'm not actually sure what the best fix is here. Perhaps it could just test if the socket is /var/run/
tags: | added: patch |
Note that the original patch is not directly compatible with my patch in bug 697999. Here's a new one should that patch be applied first.
Also, the original patch was against Lucid's lirc, but should apply cleanly to the current version as well.