Bug 1272699 - virtualization-poller use heavy-weight check for libvirtd
Summary: virtualization-poller use heavy-weight check for libvirtd
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2015-10-17 19:06 UTC by Tomasz Torcz
Modified: 2017-09-28 18:07 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-29 17:03:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomasz Torcz 2015-10-17 19:06:52 UTC
Description of problem:
poller.py checks for running libvirtd with following command:

 if (subprocess.call(['/sbin/service','libvirtd','status'],

on contemporary Linux systems, this has a side effect of pulling logs to display for administration.  This is completely unnecessary in script usage.
Above check should be replaced by running:

 systemctl is-active libvirtd

Or even using D-Bus interface of systemd directly, without forking external program.

Version-Release number of selected component (if applicable):
rhn-virtualization-host-5.4.55-1.fc22.noarch

Comment 1 Tomasz Torcz 2016-04-29 17:03:12 UTC
I'm no longer interested in Spacewalk.

Comment 2 Eric Herget 2017-09-28 18:07:49 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


Note You need to log in before you can comment on or make changes to this bug.