Vagrant Cascadian <[EMAIL PROTECTED]> wrote: > Package: uswsusp > Version: 0.3~cvs20060928-2 > Severity: serious > Justification: Policy 10.7.3 > > i had locally modified my /etc/uswsusp.conf to use a different "resume > device", but on a recent upgrade, it over-wrote my configuration file > changes without asking. > > this also results in my resume partition getting written to a device it > can't read from(an encrypted swap device on lvm), which could cause > data loss if i do not manually regenerate the initramfs image and try to > use s2disk.
At a short glance, it looks like the config script sets resume_device unconditionally to the first partition in /proc/swap (or rather, the first one produced from sort -r -k 3 /proc/swaps | awk '$2=="partition" {print $1}' ) without asking or, what's more important, without checking the configuration file. Later, the postinst script enters this value into the configuration file, which would be correct if the config script had taken it from there. Regards, Frank -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)