[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#565225: marked as done (don't assume RESUME partition will never change)



Your message dated Sun, 22 Sep 2013 19:18:37 +0000
with message-id <E1VNpAz-0004iV-SC@franck.debian.org>
and subject line Bug#565225: fixed in initramfs-tools 0.114
has caused the Debian Bug report #565225,
regarding don't assume RESUME partition will never change
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 owner@bugs.debian.org
immediately.)


-- 
565225: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565225
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.93.4

How can one just _assume_ that nobody will ever adjust their disk
partitions ever?

In /var/lib/dpkg/info/initramfs-tools.preinst
you do
 # First time install.  Can we autodetect the RESUME partition?

So then forever and ever
/etc/initramfs-tools/conf.d/resume and thus
$ zcat /boot/initrd.img-2.6.*-trunk-686|cpio -i --to-stdout conf/conf.d/resume
contain this never changing resume partition from years ago when we
first bought the computer.

OK, now let's look at what happens when the user boots.
He will see
Loading... please wait
readlink: No such file or directory

Which of course also zip way off the screen, and don't end up in any
logs.

Now he will wonder "gee, those guys are missing the "readlink" command".
Bug#564812

And when one day he does actually try to resume... who knows what will
happen.

Anyway it makes much more sense to check where the swap space is located
upon each time /boot/initrd.img.* is made. -- And perhaps even more like
each boot or shutdown or ... suspend.

Or upon boot warn the user that it was detected that his swap partition
is not where it used to be, and he should now "remove and reinstall
initramfs-tools"! (as apparently there is no script command to fix it
short of editing the file by hand.) ... (And don't just let the message
fly off the screen beyond where Shift PgUp can reach, and not kept in
any log file.)

Also man initramfs-tools:
 resume
   On install initramfs-tools tries to autodetect the resume parti-
   tion. On success the RESUME variable is written to
   /etc/initramfs-tools/conf.d/resume. The boot variable noresume
   overrides it.
Here again it is like the author _just assumes_ that the RESUME part of
the computer is the only part of the computer that never could change.



--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.114

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

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 565225@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 22 Sep 2013 21:04:19 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.114
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - generic modular initramfs generator
Closes: 565225 707040 721519
Changes: 
 initramfs-tools (0.114) unstable; urgency=low
 .
   [ Ian Campbell ]
   * [90f4cdb] include ehci-orion in auto_add_modules_list (Closes: #721519)
 .
   [ maximilian attems ]
   * [fef37d5] hooks: Add resume hook instead of hardcoding RESUME once on
     preinst (Closes: #565225, LP 50437)
   * [5550692] hooks/resume: First check if a valid RESUME config is set
   * [e268df7] initramfs-tools.8: Document new resume handling
   * [6f0396a] hooks/klibc: Check for existence of klibc dash instead of
     executable property (Closes: #707040)
   * [9c823ad] mkinitramfs: check if initramfs has a shell
   * [6ad0985] hooks/resume: Fix function call
   * Update to latest standards version 3.9.4.
Checksums-Sha1: 
 0d375b5557921e630af0ed8de8ac82d0271f84b9 1727 initramfs-tools_0.114.dsc
 6623ebd6ac4bf7c3a0a6dd71cfb5c9cbb191d854 86513 initramfs-tools_0.114.tar.gz
 2a3e65cee1503a512a0852af14dd4df7293c52c6 92306 initramfs-tools_0.114_all.deb
Checksums-Sha256: 
 4d8f1808ccb2f766c38172a30ff17bac4cba079a8394a4e09bb499a66a8d8860 1727 initramfs-tools_0.114.dsc
 a7d77c7b5189976b6d37279317710aed15aeb34a83e6d93b6ded376234ee1ebc 86513 initramfs-tools_0.114.tar.gz
 1749991b8cfc60aeb9ba155c597b5a17ff747aab05c0e205f4bebd92a3272950 92306 initramfs-tools_0.114_all.deb
Files: 
 41621e2bdd71b0ba826beaed5b40af37 1727 utils optional initramfs-tools_0.114.dsc
 d335922c64ab829c7f1692d15fe09dcb 86513 utils optional initramfs-tools_0.114.tar.gz
 7260571886bdeec478fe0c53c8bd2f8c 92306 utils optional initramfs-tools_0.114_all.deb

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

iQIcBAEBAgAGBQJSP0DaAAoJEBAlLmU6keUnqvwQAKgtPRE4FkdSI3tGOrGsH9pc
6bhD8VWAgLYw1eRmOfXyNFLGOQ5qAOIvZ41qST+rytdIutR+e63CrMx+gECQZQ5k
sISEwL4qvBOpPTo+UyqaUJHJZSTHKf9y6frJM2r5/mJhf+lPho3/SsZ3bO0vANQX
47CUTE3veG9StcoVvpXcV0iTAsGl27QvImA8PKdA+PCfNFkw43iPuCAH8MTKkrL/
MFX3AxJJM6MUXty3wN8LZmeeE85F1Gu9ZHfaSX+spvrGFC+IjsVkC6B8pYrPznDM
joDts9ivF9abf3eIpJskay30iG2OhdQmxKiMjIvPFgpNqPLNFz8FiF0Z/pwY4wVP
hMucMe3pgQVcOJJazxReSohuXrehNyyPN7/T/azUXJO534+nSnHIcPOi196jCYti
I/ZXP9JMIHNCs2fXk5N7RG/PeRI6e/uAJbbSOqT9k7n++Cj5y912pv8w4lHJN208
4kXGN8ueumYJCxwVX2R82Vxm81KFpBKVCvy49VjpoV5YMWS+nhqIXWLY4YuNWrNR
tEV3J2NEkwZeBn0QZ4vQBGYjSpbsdkfcNDO6LcpgEbsAZidud8DiYO/WaLRU5XlL
90KMFYrpuPSKf8kRKOudEAvmVJdsxzcg50iMfmtV2bQaFA1lG9owrqgSmpoXYBtl
0Qa+DsGGde3nsIXu9eEm
=ybdN
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: