Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182017

Re: initramfs-tools - forgotten change?

From Hans <hans.ullrich@loop.de>
Newsgroups linux.debian.user
Subject Re: initramfs-tools - forgotten change?
Date 2017-06-10 15:50 +0200
Message-ID <tQOW5-7Ev-5@gated-at.bofh.it> (permalink)
References <tQN3X-6uo-1@gated-at.bofh.it> <tQOW5-7Ev-7@gated-at.bofh.it> <tQOW5-7Ev-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Ben,

I believe, this is what happened:

Most people will have 

/etc/initramfs-tools/conf.d/resume

file, which has  a "RESUME=" content. So it will be the same, as set in 
initramfs.conf. This "resume"-file (I believe, but I am not sure!) was some day 
created by package uswsusp (If I am wrong. please correct me!)

So, no people do see a difference, because a variable RESUME= exists, either 
with /dev/sdaX or UUID=somewhatever.

I checked a fresh installation of initramfs-tools (0.130) and latest uswsusp: 
None of these installation creates  

/etc/initramfs-tools/conf.d/resume

file. So, maybe this should be checked and confirmed somehow. 

I also found out, that it is recommended, to use UUID entries in /etc/fstab, 
otherwise you get some warnings. However, they do not harm. They are like:

cryptsetup: can not find canonical name for /dev/sda3

I suppose, this is well known and not important in this case.

As far as I tested, adding RESUME=auto in initramfs.conf did find my swap 
device. Hibernation (=suspen-to-disk) is working but Resume from swap is still 
not working. This is also another story, and might not be involved in this one 
(especially, because at boot the resume device IS FOUND, and the saved image 
IS loaded, but THEN crashes).  So, do not look at this bug, just wanted to 
mention it.

Back to my state: People should make sure. if there is a "resume" file, because 
I believe, a fresh installation does not create one. Instead, the debian 
installer would do, but neither initramfs-tools-package, nor uswsusp-package 
don't. The latter one previous did create one and edited it, too. Now this 
configuration option is no more called again by dpkg-reconfigure (as it did 
before!)

Hope, this make things a little bit clearer.

Best regards

Hans 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

initramfs-tools - forgotten change? Hans <hans.ullrich@loop.de> - 2017-06-10 13:50 +0200
  Re: initramfs-tools - forgotten change? Hans <hans.ullrich@loop.de> - 2017-06-10 15:50 +0200
    Re: initramfs-tools - forgotten change? David Wright <deblis@lionunicorn.co.uk> - 2017-06-10 18:50 +0200
      Re: initramfs-tools - forgotten change? Dejan Jocic <jodejka@gmail.com> - 2017-06-10 19:40 +0200

csiph-web