https://bugzilla.novell.com/show_bug.cgi?id=230267
Summary: Hook needed to restart nut for suspend to RAM/disk; obsolete powersave dependency Product: openSUSE 10.2 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse+build@de-korte.org QAContact: qa@suse.de
Since the use of the powersave package is no longer recommended/supported, the SUSPEND2DISK_RESTART_SERVICES and SUSPEND2RAM_RESTART_SERVICES (from /etc/powersave/sleep) are no longer used. Instead they should be replaced by a hook in /etc/pm/hooks. Consequently. the dependencies of the nut package should be changed. It should now depend on pm-utils instead of powersave.
https://bugzilla.novell.com/show_bug.cgi?id=230267
------- Comment #1 from suse+build@de-korte.org 2006-12-21 09:26 MST ------- Created an attachment (id=110713) --> (https://bugzilla.novell.com/attachment.cgi?id=110713&action=view) new pm-utils hook for NUT
https://bugzilla.novell.com/show_bug.cgi?id=230267
suse+build@de-korte.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #110713|application/octet-stream |application/text mime type| |
https://bugzilla.novell.com/show_bug.cgi?id=230267
suse+build@de-korte.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #110713|application/text |text/plain mime type| |
https://bugzilla.novell.com/show_bug.cgi?id=230267
suse+build@de-korte.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #110713|0 |1 is obsolete| |
------- Comment #2 from suse+build@de-korte.org 2006-12-21 09:35 MST ------- Created an attachment (id=110716) --> (https://bugzilla.novell.com/attachment.cgi?id=110716&action=view) new pm-utils hook for NUT
Previous one did not cover suspend to RAM
https://bugzilla.novell.com/show_bug.cgi?id=230267
chrubis@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sbrabec@novell.com |screening@forge.provo.novell| |.com |
https://bugzilla.novell.com/show_bug.cgi?id=230267#c3
Stanislav Brabec sbrabec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hmacht@novell.com, seife@novell.com Status|NEW |NEEDINFO Info Provider| |seife@novell.com
--- Comment #3 from Stanislav Brabec sbrabec@novell.com 2007-09-13 07:33:22 MST --- Stefan, could you help me with this bug?
Directory /etc/pm/hooks does not exist in SuSE. Is it a bug or was it moved somewhere.
Powersave have had powersave-notify script to send a desktop neutral warning to users. How should it be done now?
https://bugzilla.novell.com/show_bug.cgi?id=230267#c4
Stefan Seyfried seife@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kde-maintainers@suse.de, bnc-team- | |gnome@forge.provo.novell.com Status|NEEDINFO |NEW Info Provider|seife@novell.com |
--- Comment #4 from Stefan Seyfried seife@novell.com 2007-09-13 08:05:12 MST --- The hooks are now in /etc/pm/sleep.d/. for stuff we ship with our packages, please put them in /usr/lib/pm-utils/sleep.d/.
More information about pm-utils can be found in http://en.opensuse.org/Pm-utils and http://en.opensuse.org/Pm-utils_10.2 (the latter one for the first version as used in 10.2).
For popping up a warning on the desktops, you have to ask the desktop experts, there surely is some dbus-thing you could use to pop up a window.
https://bugzilla.novell.com/show_bug.cgi?id=230267#c5
--- Comment #5 from JP Rosevear jpr@novell.com 2007-09-13 08:18:51 MST --- For GNOME you can use the notify-send tool in scripts.
https://bugzilla.novell.com/show_bug.cgi?id=230267#c6
--- Comment #6 from Holger Macht hmacht@novell.com 2007-09-13 08:22:28 MST --- Actually the problem is that you need some logic to detect where to put this message to: Which desktop, console, syslog? With ConsoleKit and co, we have the infrastructure for that (like we had with powersaved in the past), but someone has to put some work into this. And preferably we would need a generic solution. Sure, nothing for 10.3, but for the future....
https://bugzilla.novell.com/show_bug.cgi?id=230267#c7
--- Comment #7 from Stanislav Brabec sbrabec@novell.com 2007-09-13 08:58:05 MST --- I cannot use desktop specific way.
I have just tested, that powersave-notify still works for KDE, but no more for GNOME.
https://bugzilla.novell.com/show_bug.cgi?id=230267#c8
Stanislav Brabec sbrabec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kerekfyp@komal.hu
--- Comment #8 from Stanislav Brabec sbrabec@novell.com 2007-09-14 08:10:06 MST --- *** Bug 297170 has been marked as a duplicate of this bug. ***
https://bugzilla.novell.com/show_bug.cgi?id=297170
https://bugzilla.novell.com/show_bug.cgi?id=230267
User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=230267#c9
Stanislav Brabec sbrabec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #9 from Stanislav Brabec sbrabec@novell.com 2008-05-12 03:26:26 MST --- Suspend restart hook added. Notification still needs update.
https://bugzilla.novell.com/show_bug.cgi?id=230267
User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=230267#c10
Stanislav Brabec sbrabec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #10 from Stanislav Brabec sbrabec@novell.com 2008-09-17 08:52:51 MDT --- Notification removed. Powersave was dropped and there is no successor allowing desktop neutral notification.
It seems to be an important feature regression, but this is above the scope of this bug. Entered as Feature request FATE#305307.