On Fri, 27 Dec 2013, Joerg Dorchain escribió: > On Fri, Dec 27, 2013 at 12:06:05PM +0000, Debian Bug Tracking System wrote: > > I am closing this bug because I have no reply with in the last email. > > Sorry, I did not notice it.
No problem, if you think the problem is not solved, I will reopen the bug. > > > > uswsusp didsn't change their behavior, but other packages (like > > initramfs-tools) had changes. Please, test with other versions of > > uswsusp and initramfs-tools and reopen this bug if you think that the > > bug was not solved. > > > > I tested some versions here, and I cannot reproduce the problem. If > > you reopen the bug, please, include the info about the latest > > initramfs-tools and uswsusp package, and the configuration for > > /etc/uswsusp.conf and /etc/initramfs-tools/conf.d/resume files. > > I checked the initramfs generated by a version of debian testing > of today (including uswsusp 1.0+20120915-4) > > The file in question is scripts/local-premount/uswsusp, which > belongs to the uswsusp package. > > Here, the line > [ -n "${resume}" ] || exit 0; > implies the resume variable (set in init from parsing the command > line) must be set in order to resume. I don't agree :-) Yes, the file /usr/share/initramfs-tools/scripts/local-premount/uswsusp belongs to uswsusp. The script checks if the $resume variable is set. If is set, then the script calls /sbin/resume to load the save image. If is not set, is because the system was not hibernated (normal boot). But it doesn't mean that the resume variable is set as kernel parameter. You can test the initramfs-tools script to resume (/usr/share/initramfs-tools/scripts/local-premount/resume) and you will see the same: ---8<--- if [ -z "${resume}" ]; then exit 0 fi ---8<--- > Former versions checked for the noresume variable and did not > resume when it was set (also set in init) The noresume is used in the /usr/share/initramfs-tools/init script: ---8<--- noresume) noresume=y ;; ---8<--- ... ---8<--- if [ -n "${noresume}" ]; then export noresume unset resume else resume=${RESUME:-} fi ---8<--- If the variable resume was set, with the noresume option as kernel parameter, is unset. > Bye, > > Joerg Regards, kix -- .''`. Rodolfo García Peñas (kix) <k...@debian.org> : :' : Proud Debian Developer `. `'` 4096R / 3F48 0B8C C385 AD41 9E28 006A 7B1F 5490 72B7 4923 `- Debian - when you have better things to do than fixing systems -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org