[Bug 309522] New: pm-utils shouldn't sabotage suspend-to-file
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.
https://bugzilla.novell.com/show_bug.cgi?id=309522#c1 --- Comment #1 from Petr Baudis <pbaudis@novell.com> 2007-09-11 08:54:45 MST --- Created an attachment (id=163256) --> (https://bugzilla.novell.com/attachment.cgi?id=163256) Hackish patch -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |seife@novell.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522#c2 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Stefan Seyfried <seife@novell.com> 2007-09-13 04:10:08 MST --- I'll look into this after 10.3. You cannot resume anyway, since the initrd does not support this, it would need to create a suspend.conf on-the-fly, wouldn't it? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522#c3 --- Comment #3 from Stefan Seyfried <seife@novell.com> 2007-09-13 04:11:07 MST --- Ah, now i see. You restrict it to in-kernel suspend. Hm. Let me think about it. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522#c4 Felix Möller <felix@derklecks.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |felix@derklecks.de --- Comment #4 from Felix Möller <felix@derklecks.de> 2007-09-13 05:30:00 MST --- Thanks Petr. ;) I hit this one too but never had the time to look into it. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522#c5 --- Comment #5 from Stefan Seyfried <seife@novell.com> 2007-11-27 06:52:55 MST --- working on it for next openSUSE -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Minor |Normal Component|Basesystem |Basesystem Product|openSUSE 10.3 |openSUSE 11.0 Target Milestone|--- |Beta 3 Version|Beta 3 |Factory -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522 User fm@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=309522#c6 --- Comment #6 from Felix Möller <fm@opensuse.org> 2008-10-08 12:21:40 MDT --- it was said that openSUSE 11.1 support suspend to swap file so what is the status of this one? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309522#c7 --- Comment #7 from Stefan Seyfried <seife@novell.com> 2008-10-15 04:57:02 MDT --- I have not forgotten this bug, I just did not get to fixing it yet. sorry, please bear with me ;) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=309522 User felix@derklecks.de added comment https://bugzilla.novell.com/show_bug.cgi?id=309522#c8 --- Comment #8 from Felix Möller <felix@derklecks.de> 2008-11-21 03:00:04 MST --- is this postponed to 11.2, or is there still a chance to get this in 11.1? -- 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.
participants (1)
-
bugzilla_noreply@novell.com