Package: laptop-mode-tools Version: 1.65-2 Severity: important Dear Maintainer,
The package installs a config file, "/etc/laptop-mode/conf.d/ethernet.conf", which on line 59 sets ETHERNET_DEVICES="eth0", without first checking whether such a device exists (I ususally does, but see below), or whether other devices exist instead, or in addition. In my case, a few months ago debian changed my eth0 to eth1, and my wlan0 to wlan1. Package laptop-mode-tools did not detect this, and when it updated today (apt-get -t testing upgrade), reported the following: === start message === Cannot find device "eth0" /usr/sbin/laptop_mode: 108: [: /sys/bus/platform/devices/SP5100: unexpected operator /usr/sbin/laptop_mode: 115: [: /sys/bus/platform/devices/SP5100: unexpected operator /usr/sbin/laptop_mode: 118: [: /sys/bus/platform/devices/SP5100: unexpected operator [ ok ] Laptop mode enabled, not active. === end message === The install should check for the valid existing device names and insert them into the config file -- System Information: Debian Release: jessie/sid Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages laptop-mode-tools depends on: ii lsb-base 4.1+Debian13 ii psmisc 22.21-2 ii util-linux 2.20.1-5.8 Versions of packages laptop-mode-tools recommends: ii ethtool 1:3.13-1 ii hdparm 9.43-1.1 ii net-tools 1.60-26 ii python-qt4 4.11.1+dfsg-1 ii sdparm 1.07-1 ii udev 208-6 ii wireless-tools 30~pre9-8 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.22-3 pn hal <none> ii python 2.7.8-1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org