[Bug 856381] New: libvirt-client: get rid of pm-utils dependency
https://bugzilla.novell.com/show_bug.cgi?id=856381 https://bugzilla.novell.com/show_bug.cgi?id=856381#c0 Summary: libvirt-client: get rid of pm-utils dependency Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: All OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: KVM AssignedTo: jfehlig@suse.com ReportedBy: vdziewiecki@suse.com QAContact: jdouglas@suse.com Found By: Development Blocker: --- Hello, it is very important not to support pm-utils in SLE12 (fate#316824), also in factory it would be best to replace pm-utils by systemd's suspend capabilities, so I'd like to ask to remove this dependency. We had a discussion about it on Factory ML, this is the relevant part:
As far as I know it needs "pm-is-supported" alternative. Otherwise it just calls pm-suspend/hibernate commands which are easily replaceable.
If it's only about pm-is-supported, the script below should suffice for systemd. It's a subset, but systemd supports only kernel-mode suspend in anyway... Takashi === #!/bin/sh case "$1" in --suspend) exec grep -q mem /sys/power/state > /dev/null 2>&1;; --hibernate) exec grep -q disk /sys/power/state > /dev/null 2>&1;; --suspend-hybrid) exec grep -q suspend /sys/power/disk > /dev/null 2>&1;; esac echo "pm-is-supported [--suspend | --hibernate | --suspend-hybrid ]" exit 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.
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c1
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c2
--- Comment #2 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c3
Nikolai Zhubr
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c4
James Fehlig
I'd like to confirm that indeed pm-utils dependancy (I use opensuse 13.1) is a problem.
What problems does it cause on 13.1? I'd like to know if this is something that needs addressed in a libvirt maintenance update. -- 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=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c5
--- Comment #5 from Nikolai Zhubr
(In reply to comment #3)
I'd like to confirm that indeed pm-utils dependancy (I use opensuse 13.1) is a problem.
What problems does it cause on 13.1? I'd like to know if this is something that needs addressed in a libvirt maintenance update.
Filled here: https://bugzilla.novell.com/show_bug.cgi?id=859000 Thank you. -- 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=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c6
Wojtek Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c7
Cédric Bosdonnat
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c8
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c9
--- Comment #9 from Cédric Bosdonnat
https://bugzilla.novell.com/show_bug.cgi?id=856381
https://bugzilla.novell.com/show_bug.cgi?id=856381#c11
Cédric Bosdonnat
participants (1)
-
bugzilla_noreply@novell.com