Package: lirc
Version: 0.7.2-2
Severity: grave
Tags: patch
Justification: renders package unusable


if udev is used and /etc/init.d/lirc loads the lirc modules, 
it should wait for a moment after doing modprobe. Otherwise
this happens in /etc/init.d/lirc:

modprobe lirc_serial
# here we should sleep for a second, so that udev has time to
# allocate /dev/lirc0
test -c /dev/lirc0      # does not yet exist
build_args() fails to use /dev/lirc0

simple patch is to add "sleep 1" in load_modules.

a better patch would probably be to only sleep and try again
if udev is used && LOAD_MODULES=true && test ! -c /dev/lirc0


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lirc depends on:
ii  debconf [debconf-2.0]     1.4.72         Debian configuration management sy
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
ii  libc6                     2.3.6-6        GNU C Library: Shared libraries
ii  liblircclient0            0.7.2-2        LIRC client library

lirc recommends no packages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to