hibernation support - lack of distro-wide coordination between systemd, dracut, anaconda, pm-utils and maybe more?
Jaroslav Skarvada
jskarvad at redhat.com
Mon Apr 13 10:09:43 UTC 2015
----- Original Message -----
> On 01.04.2015 10:29, Jaroslav Skarvada wrote:
> >>> pm-hibernate is obsolete as others already mentioned.
> >>
> >> Do the pm-utils maintainers/upstream know this?
> >>
> >
> > Hi,
> >
> > I am pm-utils maintainer. I own some other "legacy" packages and
> > I am retiring them only if there are good reasons for it
> > (e.g. unfixed security bugs, breakage, etc.), because there may
> > be still users using such packages / depending on their functionality.
> >
> > Regarding pm-utils, most of the functionality is currently handled
> > by systemd. If there is anybody still using it, I think it shouldn't be
> > hard to migrate. Also I think this package may be quite confusing
> > for newcomers. Upstream said it's dead, so there are probably
> > good reasons to retire. But currently there are the following
> > packages in rawhide depending on pm-utils:
> >
> > cdm
> > kdebase3
>
>
> Same as with the 'cdm'.
>
> http://pkgs.fedoraproject.org/cgit/kdebase3.git/commit/?id=2221c4
> +
> kdebase3.spec
> Patch26: kdebase-3.5.5-suspend.patch
> %define _with_suspend 1
> %{?_with_suspend:%patch26 -p1 -b .suspend}
>
> ---
> kdebase-3.5.5-suspend.patch | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kdebase-3.5.5-suspend.patch b/kdebase-3.5.5-suspend.patch
> index 0462543..e1a5d0a 100644
> --- a/kdebase-3.5.5-suspend.patch
> +++ b/kdebase-3.5.5-suspend.patch
> @@ -62,8 +62,8 @@
> +void KSMShutdownDlg::slotSuspend()
> +{
> + switch ( suspendType ) {
> -+ case SUSPEND_TYPE_HIBERNATE: system("/usr/bin/pm-hibernate"); break;
> -+ case SUSPEND_TYPE_STANDBY: system("/usr/bin/pm-suspend"); break;
> ++ case SUSPEND_TYPE_HIBERNATE: system("/usr/bin/systemctl hibernate");
> break;
> ++ case SUSPEND_TYPE_STANDBY: system("/usr/bin/systemctl suspend");
> break;
> + }
> + reject();
> +}
>
> ...
>
> > I will drop pm-utils when resolved
> >
> > regards
> >
> > Jaroslav
> >
>
> And that's it.
> - cdm DONE
> - kdebase3 DONE
> - wicd DONE
> - pm-utils DONE
>
>
>
Thanks,
retired in master
regards
Jaroslav
More information about the devel
mailing list