Re: [libvirt-users] Please remove pm-utils dep from libvirt-clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5 August 2013 15:14, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
>> I'd rather see libvirt dependent on pm-utils than dbus.

pm-utils is going to be retired for F20, so that's not really an
option long term.

>> org.freedesktop.UPower.HibernateAllowed()
>> org.freedesktop.UPower.SuspendAllowed()

Allowed means "Is the user allowed to do this" rather than "Is the
system capable of this action".

> Seem that the org.freedesktop.login1 APIs are provided by systemd.
> Since we need to work on non-systemd distros too,at the very least
> we'll have to keep code to fallback to using  pm-utils on those
> distros.

Right, you can do that if you want, but on Fedora this isn't going to
work in the future. UPower could ship a /usr/bin/pm-is-supported
helper, but I'd rather not duplicate functionality available
elsewhere.

Richard.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]