contents of /etc/acpi/suspend.d ignored

Bug #220383 reported by DaveAbrahams on 2008-04-21
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
gnome-power-manager (Ubuntu)

Bug Description

Binary package hint: gnome-power-manager

This is in the latest hardy:

    Linux delly 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

To reproduce:
$ sudo -s
# cat > /etc/acpi/<<EOF
touch /tmp/suspend.tst
# chmod +x /etc/acpi/

Now suspend and resume. Then

  ls /tmp/suspend.tst

I expect to see a file there. Instead I get "no such file."

DaveAbrahams (boostpro) wrote :

The same goes for the contents of /etc/pm/sleep.d and /usr/lib/pm-utils/sleep.d

DaveAbrahams (boostpro) wrote :

I take my second comment back; /usr/lib/pm-utils/sleep.d/* are not ignored. However,

1. I stand by my initial statement that /etc/acpi/suspend.d/* are ignored.

2. the usual tricks one uses to run X applications as the X user (setting up XAUTHORITY and DISPLAY) don't seem to work in /usr/lib/pm-utils/sleep.d scripts

Josh Hill (ingenium) wrote :

I'm having the same problem. From other things I have read, it seems this was intentional, though I don't know why.

DaveAbrahams (boostpro) wrote :

It's just broken. /etc/default/acpi-support, if it has any effect at all, can't have all the effects it purports to. For example, DOUBLE_CONSOLE_SWITCH is activated by one of the /etc/acpi/resume.d scripts. Really, I appreciate all the work that's done gratis to make Ubuntu great, but I think this is a serious problem. It's bad enough to break backward compatibility without providing a transition path, but to leave the old stuff lying around and yet non-operational seems irresponsible. People will think existing instructions and their dapper/edgy/feisty/gutsy tweaks work, but they don't.

DaveAbrahams (boostpro) wrote :

I've integrated my replacement for DOUBLE_CONSOLE_SWITCH into the workaround posted in

Yes, separating it would be better. Maybe someday.

Mario Limonciello (superm1) wrote :

The real problem is that the acpi-support package needs to be cleaned up for stuff that isn't used anymore.

Changed in gnome-power-manager:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers