Hi, I sent the patch to support UUID to upstream. I am waiting a upload from one version from mentors and I have other version here ready. Then, I will include this new upstream version in Debian.
All,... if the patch I sent is ok ;-) http://marc.info/?l=linux-pm&m=136260673609522&w=2 Cheers, kix On Tue, 26 Feb 2013, Stephan Schwarzmann escribió: > Package: uswsusp > Version: 1.0+20110509-3 > Severity: important > > I need to use the UUID instead of the /dev device name of my swap partition > in config files "/etc/uswsusp.conf" and "/etc/initramfs-tools/conf.d/resume". > A "dpkg-reconfigure uswsusp" then tells that the swap-partition could not be > found. > Invoking "s2disk" drops the message "Could not stat the resume device file. > Reason: No such file or directory". > > /etc/uswsusp: > resume device = /dev/disk/by-uuid/79749f31-01f1-4739-b432-c25706c2850d > > /etc/initramfs-tools/conf.d/resume: > RESUME=UUID=79749f31-01f1-4739-b432-c25706c2850d > > excerpt from /etc/fstab: > # swap was on /dev/sda3 during installation > UUID=79749f31-01f1-4739-b432-c25706c2850d none swap sw 0 0 > > The swap partition is available. > > Using "/dev/sda3" resp. "/dev/sdb3" in /etc/uswsusp will make the "s2disk" > working, but since I've got two HDDs installed it's a matter of randomness > whether > the system will be able to resume (the device names of the HDDs are swapped > at boot). > > I found bug report 572729 where it is stated that UUIDs already would work > with an older version of uswsusp, and the bug reporter asks to make it the > default behaviour to use UUIDs > instead of device names. However here it seems not to work which makes > uswsusp unusable on some systems. > > > -- System Information: > Debian Release: 7.0 > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages uswsusp depends on: > ii debconf [debconf-2.0] 1.5.49 > ii libc6 2.13-38 > ii libgcrypt11 1.5.0-3 > ii liblzo2-2 2.06-1 > ii libpci3 1:3.1.9-6 > ii libx86-1 1.1+ds1-10 > > Versions of packages uswsusp recommends: > ii initramfs-tools 0.109 > ii mount 2.20.1-5.3 > > uswsusp suggests no packages. > > -- debconf information excluded -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org