lirc init script hangs in udev -- timeout

Bug #176616 reported by HPO
10
Affects Status Importance Assigned to Milestone
lirc (Ubuntu)
Fix Released
Medium
Mario Limonciello

Bug Description

Binary package hint: lirc

My /etc/init.d/lirc tries to circumvent a block if started by udev. It looks for $3 to be 'udev'.

Actually, the way the init is started by udev, parameter *$4* is set to 'udev'!

Therefore, while starting my HTPC, udev starts lirc, which in turn calls udevsettle to wait... And my startup hangs for two minutes.

Correcting the parameter number corrects the problem.

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

Which release was this with?

Changed in lirc:
status: New → Incomplete
Revision history for this message
Mario Limonciello (superm1) wrote :

Ah-ha. I see the error here. Thanks for catching it. I'll take care of it :)

Changed in lirc:
assignee: nobody → superm1
importance: Undecided → Medium
status: Incomplete → Confirmed
Changed in lirc:
status: Confirmed → In Progress
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: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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