Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697592 - app-emulation/libvirt-5.5.0-r1 : Cannot find 'pm-is-supported' in path: No such file or directory
Summary: app-emulation/libvirt-5.5.0-r1 : Cannot find 'pm-is-supported' in path: No su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-10-13 01:11 UTC by Garry Filakhtov
Modified: 2019-10-15 16:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch to add pm-utils flag (libvirt-no-pm-utils.patch,1.19 KB, patch)
2019-10-13 01:11 UTC, Garry Filakhtov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Garry Filakhtov 2019-10-13 01:11:05 UTC
Created attachment 592604 [details, diff]
Ebuild patch to add pm-utils flag

When running libvirtd it produces the following stderr (when pm-utils is not installed):

Oct 13 11:41:11 libvirt libvirtd[33]: Cannot find 'pm-is-supported' in path: No such file or directory
Oct 13 11:41:11 libvirt libvirtd[33]: Failed to get host power management capabilities

libvirt provides --without-pm-utils flag that can be used to disable PM checks, which would be useful on server systems.

Attaching a patch that adds a new pm-utils flag. When enabled - sys-power/pm-utils package will be installed and libvirt will be compiled with --with-pm-utils flag. When disabled, no pm-utils will be installed and compilation will proceed with --without-pm-utils, disabling PM checks.
Comment 1 Larry the Git Cow gentoo-dev 2019-10-15 16:09:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b492b82a421555b1fa0ff0a2e8d2f6b172ef3f

commit 98b492b82a421555b1fa0ff0a2e8d2f6b172ef3f
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2019-10-15 15:52:30 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2019-10-15 16:08:48 +0000

    app-emulation/libvirt: version bump to 5.8.0
    
     - add pm-utils use flag
     - fix runstatedir
    
    Closes: https://bugs.gentoo.org/697592
    Closes: https://bugs.gentoo.org/695332
    Closes: https://bugs.gentoo.org/692594
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 app-emulation/libvirt/Manifest             |   1 +
 app-emulation/libvirt/libvirt-5.8.0.ebuild | 382 +++++++++++++++++++++++++++++
 app-emulation/libvirt/metadata.xml         |   3 +
 3 files changed, 386 insertions(+)