Bug#348610: kcontrol: Causes delay during boot
Subject: kcontrol: Causes delay during boot
Package: kcontrol
Version: 4:3.4.3-3
Severity: normal
The script /etc/hotplug/usb/logitechmouse causes a long delay during
boot, while udev waits 'for /dev to by fully populated'. From my tests,
it seems that DEVICE isn't even set in the script's environment, so the
script is timing out while waiting for a file with an empty file to be
created. I suggest adding something like this to the top of the script:
test -n "$DEVICE" || exit
Or better yet, removing the script entirely: what is the purpose of the
script, and why is it in kcontrol? Why should mouse devices have their
group set to plugdev? Why does this only apply to Logitech mice, and why
only for users of KDE? :)
In fact I just noticed the presence of /etc/udev/logitechmouse.rules that
does the same thing (even though `find /dev -group plugdev` returns no
results--should I file a separate bug for that?). Perhaps the script should
exit immediatly if it detects that /dev/.udev exists?
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages kcontrol depends on:
pn kdebase-data Not found.
pn kdelibs4c2a Not found.
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libaudio2 1.7-2 The Network Audio System (NAS). (s
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii libfontconfig1 2.3.1-2 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.2-5 GCC support library
ii libglu1-xorg [libglu1] 6.9.0.dfsg.1-4 Mesa OpenGL utility library [X.Org
ii libice6 6.9.0.dfsg.1-4 Inter-Client Exchange library
ii libidn11 0.5.18-1 GNU libidn library, implementation
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libqt3-mt 3:3.3.5-3 Qt GUI Library (Threaded runtime v
ii libraw1394-5 0.10.1-1.1 library for direct access to IEEE
ii libsm6 6.9.0.dfsg.1-4 X Window System Session Management
ii libssl0.9.8 0.9.8a-5 SSL shared libraries
ii libstdc++6 4.0.2-5 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.10a-22 userspace USB programming library
ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii libxft2 2.1.7-1 FreeType-based font drawing librar
ii libxi6 6.9.0.dfsg.1-4 X Window System Input extension li
ii libxinerama1 6.8.2.dfsg.1-11 X Window System multi-head display
ii libxrandr2 6.9.0.dfsg.1-4 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0.2-1 X Rendering Extension client libra
ii libxt6 6.9.0.dfsg.1-4 X Toolkit Intrinsics
ii libxtst6 6.9.0.dfsg.1-4 X Window System event recording an
ii xlibmesa-gl [libgl1] 6.9.0.dfsg.1-4 Mesa 3D graphics library [X.Org]
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
Reply to: