udev script causes race conditions with multiple lirc instances

Bug #204672 reported by Andrew Barbaccia
2
Affects Status Importance Assigned to Milestone
lirc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When using a remote and a transmitter on the same box, udev will cause some (ugly) race conditions that result in very long boot times and occasionally will bring down the system. The udev script also notes some flaws when trying to handle two lirc instances.

Since the modules are loaded at boot time and configuration is driven through /etc/lirc/hardware.conf, the udev rules may not be required at this point.

Comments and discussion on this topic is encouraged. Confirmation of this problem would also be nice.

Related branches

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 204672] [NEW] udev script causes race conditions with multiple lirc instances

Andrew Barbaccia wrote:
> Public bug reported:
>
> When using a remote and a transmitter on the same box, udev will cause
> some (ugly) race conditions that result in very long boot times and
> occasionally will bring down the system. The udev script also notes some
> flaws when trying to handle two lirc instances.
>
> Since the modules are loaded at boot time and configuration is driven
> through /etc/lirc/hardware.conf, the udev rules may not be required at
> this point.
>
> Comments and discussion on this topic is encouraged. Confirmation of
> this problem would also be nice.
>
> ** Affects: lirc (Ubuntu)
> Importance: Undecided
> Status: New
>
Hi Andrew,

I wasn't aware of these race conditions. Could you elaborate a little bit with
them?

--
Mario Limonciello
<email address hidden>

Revision history for this message
Mario Limonciello (superm1) wrote :

I believe i've got the proper fix for this in another bug being uploaded soon. If not, then please re-open and un-duplicate mark this bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lirc - 0.8.3~pre1-0ubuntu7

---------------
lirc (0.8.3~pre1-0ubuntu7) hardy; urgency=low

  [ Mario Limonciello ]
  * Fix a logical error in the init script related
    to udev preventing it from working. (LP: #176616)
  * Fix race conditions with udev (LP: #204672)
  * Backup hardware.conf before changing. (LP: #198903)
  * Add support for the Medion MD1-NBC remote. (LP: #192392)
    - Thanks Florian Fahr
  * Add support for the Hauppauge HVR-1100 remote (LP: #203493)
    - Thanks Lucas
  * Flag repeat events on apple mac mini (LP: #179608)
    - Thanks Don Mahurin
  * Add support for Radioshack 15-2116 remote (LP: #193568)
    - Thanks Scott D
  * Add support for ASUS MyCinema P7131 remote (LP: #190018)
    - Thanks Gianfranco Liporace

  [ Mathias Hasselmann ]
  * Add 28_irrecord_resume_support for resume support to
    irrecord. (LP: #197493)

  [ Andrew Barbaccia ]
  * Fix typo in lirc init script preventing transmitter
    arguments from properly being built. (LP: #204664)
  * Update Scientific Atlanta config in 26_transmitter_lircd.conf.dpatch
    to better naming convention. (LP: #204342)

 -- Mario Limonciello <email address hidden> Sun, 23 Mar 2008 23:25:36 -0500

Changed in lirc:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.