Your message dated Wed, 18 Mar 2020 02:50:51 +0000
with message-id <[email protected]>
and subject line Bug#954062: Removed package(s) from unstable
has caused the Debian Bug report #453383,
regarding hibernate: scriptlets should be executable
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.)


-- 
453383: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453383
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hibernate
Severity: wishlist
Tags: patch

Hello,
in prevision of a backupt/restore, I populated each dir with a md5sum of 
the content, contained locally in a file 'md5sum.md5'. After that, 
hibernate stopped working, and the culprit was that it was trying to 
execute this new file. The fix is easy:
1) change each scriptlet mode to rwxr--r-- 
2) apply the enclosed patch to /usr/sbin/hibernate: scriptlets are 
executed only if they are executable
The added bonus is that you can add data or README files in the 
scriptlet dir, without perturbing the working of the command.

Best regards

Pascal Dupuis

-- Package-specific info:
--- configuration
==> /etc/hibernate/common.conf <==
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution debian
SaveClock restore-only
 ChangeGrubMenu yes
 GrubMenuFile /boot/grub/menu.lst
 AlternateGrubMenuFile /boot/grub/menu-suspended.lst
 BackupGrubMenuFile /var/backups/grub.conf.hibernate
UnloadBlacklistedModules yes
LoadModules auto
SwitchToTextMode yes
==> /etc/hibernate/disk.conf <==
TryMethod ususpend-disk.conf
TryMethod sysfs-disk.conf
==> /etc/hibernate/hibernate.conf <==
FullSpeedCPU on
TryMethod suspend2.conf
TryMethod disk.conf
TryMethod ram.conf
DownInterfaces wlan0
UnloadModules rt2500
UnmountFSTypes vfat smbfs nfs autofs fuse
RestartServices laptop-net
Mount /dos/C
==> /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 <==
[platform] test testproc shutdown reboot 
==> /sys/power/image_size <==
524288000
==> /sys/power/resume <==
3:8
==> /sys/power/state <==
mem disk

--- log
hibernate.log file not readable.

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

Kernel: Linux 2.6.23.9
Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
--- hibernate.orig      2007-11-29 09:59:43.000000000 +0100
+++ hibernate   2007-11-29 10:02:15.000000000 +0100
@@ -552,6 +552,9 @@
            # Avoid editor backup files.
            case "$scriptlet" in *~|*.bak) continue ;; esac
 
+           # only use executable files
+           [ -x "$scriptlet" ] || continue
+
            # Don't source a scriptlet by name more than once.
            scriptlet_name="${scriptlet##*/}"
 

--- End Message ---
--- Begin Message ---
Version: 2.0+15+g88d54a8-1+rm

Dear submitter,

as the package hibernate has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/954062

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to