Package: sysfsutils Version: 1.2.0-5 Severity: grave Justification: renders package unusable
my /etc/sysfs.conf is like : ---------------------------------------- # # /etc/sysfs.conf - Configuration file for setting sysfs attributes. # # The sysfs mount directory is automatically prepended to the attribute # paths. # # Examples: # # Always use the powersave CPU frequency governor # devices/system/cpu/cpu0/cpufreq/scaling_governor=powersave # # Use userspace CPU frequency governor and set initial speed # devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace # devices/system/cpu/cpu0/cpufreq/scaling_setspeed = 600000 devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand ---------------------------------------- but the script doesn't affect any file in sys, a proof : i've had 'set -x' in the script and the result of "/etc/init.d/sysfsutils start" is the following : ---------------------------------------- [EMAIL PROTECTED]:26] [/home/manu] >/etc/init.d/sysfsutils start + CONFFILE=/etc/sysfs.conf ++ /usr/bin/systool -m + MNTPATH=/sys + '[' -r /etc/sysfs.conf ']' + case "$1" in + echo -n 'Setting sysfs variables...' Setting sysfs variables...+ sed 's/#.*$//; /^[[:space:]]*$/d; s/^[[:space:]]*\([^[:space:]]*\)[[:space:]]*=[[:space:]]*\(.*\)/\1 \2/' /etc/sysfs.conf + read key val + echo done. done. [EMAIL PROTECTED]:26] [/home/manu] > ---------------------------------------- it seems that the problem comes from this kind of operation : ---------------------------------------- [EMAIL PROTECTED]:26] [/home/manu] >echo "test" | read line ; echo $line [EMAIL PROTECTED]:28] [/home/manu] >dash # echo "test" | read line ; echo $line # [EMAIL PROTECTED]:29] [/home/manu] > ---------------------------------------- i've tried with bash and dash and the problem is the same ! it seems to be a well known problem see E4 question and answer in : http://www.faqs.org/faqs/unix-faq/shell/bash/ M. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.11-openics2-k7 Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) Versions of packages sysfsutils depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libsysfs1 1.2.0-5 interface library to sysfs -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]