Package: laptop-mode-tools Version: 1.11-1 Severity: normal Tags: patch When setting VERBOSE_OUTPUT=1 it truncated /var/log/acpid and only the last few lines are present. This is due to the "> /dev/stdout" redirections. This is solved by changing them to ">> /dev/stdout"
Hyper-compressed patch :-) sed -i 's/ \(> \?$OUTPUT\)/ >\1/g;' laptop_mode BTW maybe this should be notified to the acpid maintainer as well as this is not normal that a simple "client" handler can kill all the logfile of acpid! Just for fun because it puzzled me: $ echo one > /tmp/t; ( echo two >/dev/stdout ) >> /tmp/t;cat /tmp/t two So you can indeed destroy a file even with the >> operator! Phil -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages laptop-mode-tools depends on: ii powermgmt-base 1.23 Common utils and configs for power Versions of packages laptop-mode-tools recommends: ii acpid 1.0.4-3 Utilities for using ACPI power man ii apmd 3.2.2-4 Utilities for Advanced Power Manag ii hdparm 6.3-3 tune hard disk parameters for high -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]