[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, 11 Jul 2010 18:07:57 +0200
with message-id <20100711160757.GG9869@baikonur.stro.at>
and subject line Re: Bug#565225: No /etc/initramfs-tools/conf.d/resume file after Sid upgrade
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 ---
On Sun, Jul 11, 2010 at 11:07:46AM -0500, Michael Conner wrote:
> 
> You're right, sorry -- it looks like this is an issue with antiX
> (based on Squeeze), rather than Debian. The file is also missing in a
> brand-new install of it that hasn't yet been upgraded to Sid.

thanks for the feedback, closing as not a Debian bug.
please report back to antiX dev.

happy hacking.


--- End Message ---

Reply to: