According to the package's debian/changelog: powermanagement-interface (0.3.16) gutsy; urgency=low
* pmi.acpi: Disable suspend and hibernate if /host is mounted via fuse; disable hibernate if a swap file is active. -- Colin Watson <[EMAIL PROTECTED]> Wed, 29 Aug 2007 18:40:49 +0100 A diff shows: diff -ru powermanagement-interface-0.3.15/debian/changelog powermanagement-interface-0.3.16/debian/changelog --- powermanagement-interface-0.3.15/debian/changelog 2007-04-10 23:09:35.000000000 +0100 +++ powermanagement-interface-0.3.16/debian/changelog 2007-08-29 18:40:52.000000000 +0100 @@ -1,3 +1,17 @@ +powermanagement-interface (0.3.16) gutsy; urgency=low + + * pmi.acpi: Disable suspend and hibernate if /host is mounted via fuse; + disable hibernate if a swap file is active. + + -- Colin Watson <[EMAIL PROTECTED]> Wed, 29 Aug 2007 18:40:49 +0100 + +powermanagement-interface (0.3.15ubuntu1) gutsy; urgency=low + + * Build for lpia. + * Set Ubuntu maintainer address. + + -- Matthias Klose <[EMAIL PROTECTED]> Fri, 24 Aug 2007 01:39:22 +0000 + powermanagement-interface (0.3.15) feisty; urgency=low * gdm-signal/gdm-logout-action.c: diff -ru powermanagement-interface-0.3.15/debian/control powermanagement-interface-0.3.16/debian/control --- powermanagement-interface-0.3.15/debian/control 2005-03-22 22:45:54.000000000 +0000 +++ powermanagement-interface-0.3.16/debian/control 2007-08-24 02:39:22.000000000 +0100 @@ -1,7 +1,8 @@ Source: powermanagement-interface Section: admin Priority: optional -Maintainer: Thom May <[EMAIL PROTECTED]> +Maintainer: Ubuntu Core developers <[EMAIL PROTECTED]> +XSBC-Original-Maintainer: Thom May <[EMAIL PROTECTED]> Build-Depends: debhelper (>=4.1.16), libglib2.0-dev, libgtk2.0-dev, libxau-dev Standards-Version: 3.6.1.0 diff -ru powermanagement-interface-0.3.15/debian/rules powermanagement-interface-0.3.16/debian/rules --- powermanagement-interface-0.3.15/debian/rules 2006-03-20 06:34:39.000000000 +0000 +++ powermanagement-interface-0.3.16/debian/rules 2007-08-24 02:38:30.000000000 +0100 @@ -3,7 +3,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) # good known arches go up here -ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), "i386 amd64 ia64")) +ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), "i386 amd64 ia64 lpia")) TYPE := acpi pmtool-depends := -V'pmtool:Depends=acpi-support (>= 0.17)' endif diff -ru powermanagement-interface-0.3.15/pmi.acpi powermanagement-interface-0.3.16/pmi.acpi --- powermanagement-interface-0.3.15/pmi.acpi 2007-03-06 15:23:19.000000000 +0000 +++ powermanagement-interface-0.3.16/pmi.acpi 2007-08-29 18:40:44.000000000 +0100 @@ -22,14 +22,19 @@ [ ! -z "$1" ] && event="$1" case "$event" in suspend|sleep) - if [ "$ACPI_SLEEP" = true ]; then + if grep -q ' /host fuse' /proc/mounts; then + result=1 + elif [ "$ACPI_SLEEP" = true ]; then result=0 else result=1 fi ;; hibernate) - if [ "$ACPI_HIBERNATE" != true -o -f /var/run/do-not-hibernate ]; then + if grep -q ' /host fuse' /proc/mounts || \ + swapon -s | tail -n +2 | awk '$2 == "file" { exit 1 }'; then + result=1 + elif [ "$ACPI_HIBERNATE" != true -o -f /var/run/do-not-hibernate ]; then result=1 else result=0 -- Hibernate missing from shutdown menu after 30/08/07 updates https://bugs.launchpad.net/bugs/136433 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs