https://bugzilla.novell.com/show_bug.cgi?id=309522 Summary: pm-utils shouldn't sabotage suspend-to-file Product: openSUSE 10.3 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pbaudis@novell.com QAContact: qa@suse.de Found By: --- I use swap to file + suspend to disk. I realize that this isn't quite supported on OpenSUSE, still I think the scripts shouldn't sabotage this by their sanity checks. :-) In /usr/lib/pm-utils/sleep.d/30s2disk-check, the check if [ -z "$DEV" ]; then echo "ERROR: resume partition '$RESUME' not active, can not suspend" echo "resume partition '$RESUME' not active" >> $INHIBIT return 1 fi fails if swap to file is used. I'm attaching a quick patch to fix the script. In the course of fixing this, I've hit another bug, HIBERNATE does not equal HIBERNATE_METHOD if the latter is set in /usr/pm-utils/defaults - that is probably not the right place where to set it, OTOH when I set HIBERNATE in /etc/pm/conf.d/, that didn't appear to have an effect; in retrospect, I should've set both HIBERNATE and HIBERNATE_METHOD in /etc/pm/config.d, but that's a bug too - both scripts should use the same environment variable. Currently, the configuration looks a bit messy anyway, only when writing this I've noticed that filenames actually matter in the /etc/pm/config.d directory... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.