hibernation support - lack of distro-wide coordination between systemd, dracut, anaconda, pm-utils and maybe more?

David Cantrell dcantrell at redhat.com
Thu Apr 9 17:03:11 UTC 2015


Fixed in rawhide now.

Thanks,

On Thu, Apr 09, 2015 at 10:36:50AM +0200, poma wrote:
> 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
> > wicd
> > 
> 
> http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/view/head:/INSTALL#L13
>   8. pm-utils (optional for suspend/resume integration)
> 
> http://bazaar.launchpad.net/~wicd-devel/wicd/experimental/view/head:/setup.py#L130
>         ('no-install-pmutils', None, 'do not install the pm-utils hooks'),
> 
> 
> diff --git a/wicd.spec b/wicd.spec
> index a5dcaf0..bc7afe6 100644
> --- a/wicd.spec
> +++ b/wicd.spec
> @@ -36,7 +36,6 @@ BuildRequires:       desktop-file-utils
>  BuildRequires:       pkgconfig
>  BuildRequires:       systemd-units
>  
> -Requires:            pm-utils >= 1.2.4
>  Requires:            %{name}-common = %{version}-%{release}
>  
>  %description
> @@ -140,10 +139,10 @@ rm -f po/ast.po
>      --share %{_datadir}/wicd \
>      --etc %{_sysconfdir}/wicd \
>      --bin %{_bindir} \
> -    --pmutils %{_libdir}/pm-utils/sleep.d \
>      --log %{_localstatedir}/log \
>      --systemd %{_systemd_unitdir} \
> -    --no-install-init
> +    --no-install-init \
> +    --no-install-pmutils
>  %{__python} setup.py build
>  %{__python} setup.py compile_translations
>  
> @@ -214,7 +213,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
>  
>  %files
>  %defattr(-,root,root,-)
> -%{_libdir}/pm-utils/sleep.d/55wicd
> +%{_datadir}/autostart/wicd-tray.desktop
>  
>  %files common -f %{name}.lang
>  %defattr(-,root,root,-)
> 
> 
> > I will drop pm-utils when resolved
> > 
> > regards
> > 
> > Jaroslav
> > 
> 

-- 
David Cantrell <dcantrell at redhat.com>
Manager, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT


More information about the devel mailing list