Your message dated Mon, 31 Mar 2008 07:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#457185: fixed in hibernate 1.98-1
has caused the Debian Bug report #457185,
regarding hibernate script calls get_env_var_of_process with swapped args
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
457185: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457185
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: hibernate
Version: 1.97-1
Severity: grave
Tags: patch
Justification: renders package unusable

Hibernate just hung on my machine after a recent update. Examining the
script showed that get_env_var_of_process is called with the args the
wrong way round (or is defined with them the wrong way round ..). That
made everything hunky-dory for me (hibernate always used to work fine
before my upgrade).

Here's my patch

--- hibernate   2007-10-22 15:06:52.000000000 +0200
+++ /usr/sbin/hibernate 2007-11-28 23:21:50.000000000 +0100
@@ -222,8 +222,8 @@ FindXServer() {
            # Ensure the process still exists, and we aren't hallucinating.
            [ -d "/proc/$xpid/" ] || continue

-           xauth="`get_env_var_of_process XAUTHORITY $xpid`"
-           xhome="`get_env_var_of_process HOME $xpid`"
+           xauth="`get_env_var_of_process $xpid XAUTHORITY`"
+           xhome="`get_env_var_of_process $xpid HOME`"
            xuser=`/bin/ls -ld /proc/$xpid/ | awk '{print $3}'`
            [ -z $xauth ] && [ -n $xhome ] && [ -f $xhome/.Xauthority ] && 
xauth=$xhome/.Xauthority




-- Package-specific info:
--- configuration
==> /etc/hibernate/common.conf <==
Verbosity 1
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution debian
SaveClock restore-only
UnmountFSTypes smbfs nfs
UnmountGraceTime 5
OnSuspend 20 echo "Good night!"
OnResume 20 echo "Good morning!"
UnloadModules snd_via82cxxx usb-ohci dm_snapshot dm_mirror vfat msdos 
snd_pcm_oss eeprom battery button fan thermal usbmouse pcmcia irtty_sir 
hostap_pci hw_random nvram ibm_acpi firmware_class eeprom nls_cp437 
rsrc_nonstatic crc32 pcmcia_core
UnloadBlacklistedModules yes
LoadModules auto
DownInterfaces eth0 eth1
UpInterfaces auto
MuteAudio yes
PauseAudio yes
EjectCards yes
RestartServices laptop-mode
SwitchToTextMode yes
XStatus kde
==> /etc/hibernate/disk.conf <==
TryMethod sysfs-disk.conf
==> /etc/hibernate/hibernate.conf <==
TryMethod disk.conf
TryMethod ram.conf
==> /etc/hibernate/ram.conf <==
TryMethod ususpend-ram.conf
TryMethod sysfs-ram.conf
==> /etc/hibernate/suspend2.conf <==
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzf
Encryptor none
FullSpeedCPU yes
Include common.conf
==> /etc/hibernate/sysfs-disk.conf <==
UseSysfsPowerState disk
Include common.conf
==> /etc/hibernate/sysfs-ram.conf <==
UseSysfsPowerState mem
Include common.conf
==> /etc/hibernate/ususpend-both.conf <==
USuspendMethod both
Include common.conf
==> /etc/hibernate/ususpend-disk.conf <==
USuspendMethod disk
Include common.conf
==> /etc/hibernate/ususpend-ram.conf <==
USuspendMethod ram
Include common.conf

--- /sys/power
==> /sys/power/disk <==
shutdown
==> /sys/power/resume <==
3:2
==> /sys/power/state <==
mem disk 

--- log
Starting suspend at Thu Dec 20 06:59:54 CET 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [05] Executing XStatusSuspendBegin ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [15] Executing MuteAudio ...
hibernate: [15] Executing PauseAudio ...
hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing echo "Good night!"...
Good night!
hibernate: [20] Executing XStatusProgress ...
hibernate: [30] Executing ServicesStop ...
Disabling laptop mode...done (disabled, not active.).
hibernate: [30] Executing XStatusProgress ...
hibernate: [40] Executing XStatusProgress ...
hibernate: [45] Executing FSTypesUnmount ...
hibernate: [50] Executing XStatusProgress ...
hibernate: [55] Executing PCMCIAEject ...
hibernate: Ejecting PCMCIA cards
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [60] Executing NetworkStop ...
hibernate: [60] Executing XStatusProgress ...
hibernate: [70] Executing XStatusProgress ...
hibernate: [80] Executing XStatusProgress ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [90] Executing ModulesUnload ...
Unloading module nvram failed!
hibernate: [90] Executing XStatusProgress ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [95] Executing XStatusProgress ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [98] Executing XStatusProgressKill ...
hibernate: [99] Executing DoSysfsPowerStateSuspend ...
hibernate: Activating sysfs power state disk ...
hibernate: [95] Executing XStatusResumeBegin ...
hibernate: [90] Executing XStatusProgress ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [80] Executing XStatusProgress ...
hibernate: [70] Executing XStatusProgress ...
hibernate: [70] Executing ClockRestore ...
hibernate: [60] Executing XStatusProgress ...
hibernate: [60] Executing NetworkStart ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [55] Executing PCMCIAInsert ...
hibernate: Inserting PCMCIA cards /usr/kde/*/bin
hibernate: [50] Executing XStatusProgress ...
hibernate: [40] Executing XStatusProgress ...
hibernate: [30] Executing XStatusProgress ...
hibernate: [30] Executing ServicesStart ...
Enabling laptop mode...done (enabled, active.).
hibernate: [20] Executing XStatusProgress ...
hibernate: [20] Executing MiscLaunchAuxFunc2 ...
Executing echo "Good morning!"...
Good morning!
hibernate: [15] Executing XStatusProgress ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [05] Executing XStatusProgressKill ...
hibernate: [01] Executing XStatusReportErrors ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Thu Dec 20 07:03:44 CET 2007

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

Kernel: Linux 2.6.15.3 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages hibernate depends on:
ii  console-tools              1:0.2.3dbs-65 Linux console and font utilities

Versions of packages hibernate recommends:
ii  dash                   0.5.3-7           The Debian Almquist Shell
ii  hdparm                 7.7-1             tune hard disk parameters for high
ii  uswsusp                0.3~cvs20060928-7 tools to use userspace software su
ii  vbetool                0.7-1.1           run real-mode video BIOS code to a

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: hibernate
Source-Version: 1.98-1

We believe that the bug you reported is fixed in the latest version of
hibernate, which is due to be installed in the Debian FTP archive:

hibernate_1.98-1.diff.gz
  to pool/main/h/hibernate/hibernate_1.98-1.diff.gz
hibernate_1.98-1.dsc
  to pool/main/h/hibernate/hibernate_1.98-1.dsc
hibernate_1.98-1_all.deb
  to pool/main/h/hibernate/hibernate_1.98-1_all.deb
hibernate_1.98.orig.tar.gz
  to pool/main/h/hibernate/hibernate_1.98.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
martin f. krafft <[EMAIL PROTECTED]> (supplier of updated hibernate package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 30 Mar 2008 17:10:41 +0200
Source: hibernate
Binary: hibernate
Architecture: source all
Version: 1.98-1
Distribution: unstable
Urgency: low
Maintainer: martin f. krafft <[EMAIL PROTECTED]>
Changed-By: martin f. krafft <[EMAIL PROTECTED]>
Description: 
 hibernate  - smartly puts your computer to sleep (suspend to RAM or disk)
Closes: 445974 457185 464989 464989 473322
Changes: 
 hibernate (1.98-1) unstable; urgency=low
 .
   * Acknowledge NMU, thanks Morten!
   * New upstream release:
     - fixes get_env_var_of_process (closes: #457185)
     - implements USuspendRamPciSave  to allow passing the -v option to s2ram
       (closes: #473322).
     - implements USuspendRamRadeontool to allow passing the -r option to s2ram;
       thanks to Matthijs Kooijman (closes: #445974).
     - works around a bashism when mktemp is not available;
       thanks to Morten Werner Forsbring (closes: #464989).
     - removes further bashisms (local variables are initialised on
       declaration) (also closes: #464989).
   * debian/control: Now maintained in Git, so update Vcs-* headers.
   * Bump debhelper compatibility level to 6; no changes required.
   * Bump Standards-Version to 3.7.3; no changes required.
Files: 
 32a1575e7003e434aa937ee2414dd796 754 utils extra hibernate_1.98-1.dsc
 12b0168a84e7094a1c9a59b4a3303cc2 79303 utils extra hibernate_1.98.orig.tar.gz
 73e9ae76f3b0f07270962581190c5c15 15486 utils extra hibernate_1.98-1.diff.gz
 d5091984c17506fe17a08d2e43721d48 97954 utils extra hibernate_1.98-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH8JO8IgvIgzMMSnURAsUDAJ9yQVbc19G3DVytrXXySzGl9Xl/4QCg5Ac9
SyIg7WS95M1USfJDxVbXBNc=
=j/S6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to