[Pkg-lirc-maint] Bug#430898: lirc: floods syslog without end, and cpu at 100% (reopen #367151)

Alexander V. Inyukhin shurick at sectorb.msk.ru
Thu Jun 28 03:00:58 UTC 2007


Package: lirc
Version: 0.8.0-9.3
Severity: normal
Tags: patch

Bug #367151 is still exists.

After disconnecting dev/input device its fd remains valid
but select() shows event and read() returns ENODEV.
So, lircd enters into an endless loop and floods syslog.

Proposed solution is to check for ENODEV in devinput_rec() and
close fd if disconnect is detected.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.3-cfs-v15-rt (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages lirc depends on:
ii  debconf [debconf-2.0]     1.5.13         Debian configuration management sy
ii  dialog                    1.1-20070604-1 Displays user-friendly dialog boxe
ii  libasound2                1.0.14a-1      ALSA library
ii  libc6                     2.5-9+b1       GNU C Library: Shared libraries
ii  liblircclient0            0.8.0-9.3      LIRC client library
ii  libusb-0.1-4              2:0.1.12-7     userspace USB programming library

lirc recommends no packages.

-- debconf-show failed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-c
Size: 608 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lirc-maint/attachments/20070628/56d55dc7/attachment.bin 


More information about the Pkg-lirc-maint mailing list