Bug#467347: acpi-support: local 915resolution leads to broken restore

2008-02-25 Thread Raphael Hertzog
On Sun, 24 Feb 2008, John Paul Lorenti wrote:
> Package: acpi-support
> Version: 0.103-5
> Severity: normal
> 
> I installed 915resolution on my own 

Not that in this case, it shouldn't be in /usr/ but in /usr/local/.
It's a bad idea to install non-packaged software in /usr/ directly.

> if [ -x /usr/sbin/915resolution ] && [ -e /etc/default/915resolution ]; then
> 
> in order to verify that the /etc/default file exists, takes care of
> this problem.

Though adding this check doesn't hurt.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/




Bug#467347: acpi-support: local 915resolution leads to broken restore

2008-02-24 Thread Bart Samwel

John Paul Lorenti wrote:

Package: acpi-support
Version: 0.103-5
Severity: normal

I installed 915resolution on my own and do not have the file
/etc/default/915resolution. The files
/etc/resume.d/13-915-resolution-set.sh and
/etc/resume.d/49-915-resolution-set.sh check for the existance of
/usr/sbin/915resolution and then try to source
/etc/default/915resolution. Without that file to source, the script
fails. Once that script returns an error, the whole set of following
resume scripts are not executed at all. Since 13 is early in the
process, things like network card restore and such do not occur.
Replacing
if [ -x /usr/sbin/915resolution ]; then

with

if [ -x /usr/sbin/915resolution ] && [ -e /etc/default/915resolution ]; then

in order to verify that the /etc/default file exists, takes care of
this problem.


That check should indeed have been in there. I'll add it in the next 
upload. Thanks for reporting!


Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#467347: acpi-support: local 915resolution leads to broken restore

2008-02-24 Thread John Paul Lorenti
Package: acpi-support
Version: 0.103-5
Severity: normal

I installed 915resolution on my own and do not have the file
/etc/default/915resolution. The files
/etc/resume.d/13-915-resolution-set.sh and
/etc/resume.d/49-915-resolution-set.sh check for the existance of
/usr/sbin/915resolution and then try to source
/etc/default/915resolution. Without that file to source, the script
fails. Once that script returns an error, the whole set of following
resume scripts are not executed at all. Since 13 is early in the
process, things like network card restore and such do not occur.
Replacing
if [ -x /usr/sbin/915resolution ]; then

with

if [ -x /usr/sbin/915resolution ] && [ -e /etc/default/915resolution ]; then

in order to verify that the /etc/default file exists, takes care of
this problem.

Thanks,

John Paul

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.23
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-support-base 0.103-5scripts for handling base ACPI eve
ii  acpid 1.0.4-7.1  Utilities for using ACPI power man
ii  dmidecode 2.9-1  Dump Desktop Management Interface
ii  finger0.17-11user information lookup program
ii  hdparm7.7-1  tune hard disk parameters for high
ii  laptop-detect 0.13.5 attempt to detect a laptop
ii  libc6 2.7-6  GNU C Library: Shared libraries
ii  lsb-base  3.1-24 Linux Standard Base 3.1 init scrip
ii  nvclock   0.8b3-1Allows you to overclock your nVidi
ii  powermgmt-base1.29   Common utils and configs for power
ii  radeontool1.5-5  utility to control ATI Radeon back
ii  toshset   1.72-7 Access much of the Toshiba laptop
ii  vbetool   1.0-1.1run real-mode video BIOS code to a
ii  x11-xserver-utils 7.3+2  X server utilities

acpi-support recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]