[Pkg-acpi-devel] Bug#557442: acpi-support: acpi scripts assume login shell to be posix compliant

Alex Rozenshteyn rpglover64 at gmail.com
Wed Nov 18 06:12:56 UTC 2009

Package: acpi-support
Version: 0.123-1
Severity: important

/usr/share/acpi-support/screenblank uses the line
    su $user -c "(xscreensaver-command -lock)"
and other 'su $user -c "something"' commands.

Since my login shell is fish, these commands fail.
They should be of the form 'su $user -s /bin/sh -c "something"'.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (600, 'stable'), (501, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-support-base             0.123-1    scripts for handling base ACPI eve
ii  acpid                         1.0.10-3   Advanced Configuration and Power I
ii  dmidecode                     2.9-1.1    Dump Desktop Management Interface 
ii  finger                        0.17-13    user information lookup program
ii  hdparm                        9.15-1     tune hard disk parameters for high
ii  laptop-detect                 0.13.7     attempt to detect a laptop
ii  libc6                         2.10.1-7   GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  pm-utils                      1.2.5-4    utilities and scripts for power ma
ii  powermgmt-base                1.30+nmu1  Common utils and configs for power
ii  x11-xserver-utils             7.4+2      X server utilities

Versions of packages acpi-support recommends:
ii  dbus                          1.2.16-2   simple interprocess messaging syst
ii  hal                           0.5.13-4   Hardware Abstraction Layer
ii  nvclock                       0.8b4-1    Allows you to overclock your nVidi
ii  radeontool                    1.5-5      utility to control ATI Radeon back

Versions of packages acpi-support suggests:
pn  laptop-mode-tools             <none>     (no description available)

-- no debconf information

More information about the Pkg-acpi-devel mailing list