Bug 1022046 - [ovirt-guest-agent] /bin/systemctl daemon-reload in RHEL rpm scripts (postinstall)
Summary: [ovirt-guest-agent] /bin/systemctl daemon-reload in RHEL rpm scripts (postins...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-guest-agent
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.3.0
Assignee: Vinzenz Feenstra [evilissimo]
QA Contact: Ilanit Stein
URL:
Whiteboard: virt
Depends On:
Blocks: 3.3snap2
TreeView+ depends on / blocked
 
Reported: 2013-10-22 14:31 UTC by Jiri Belka
Modified: 2014-01-21 15:52 UTC (History)
8 users (show)

Fixed In Version: is22
Doc Type: Bug Fix
Doc Text:
This update removes the /bin/systemctl daemon-reload call, which is required for systemd in Red Hat Enterprise Linux postinstall scripts, but not for the ovirt-guest-agent.
Clone Of:
Environment:
Last Closed: 2014-01-21 15:52:50 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0058 0 normal SHIPPED_LIVE rhevm-guest-agent bug fix update 2014-01-21 20:04:33 UTC

Description Jiri Belka 2013-10-22 14:31:04 UTC
Description of problem:
RHEL GA rpm contains systemctl commands in (rpm) scriplet:

    51  postuninstall scriptlet (using /bin/sh):
    52  if [ "$1" -eq 0 ]
    53  then
    54      /bin/systemctl daemon-reload
    55      # Let udev clear access rights
    56      /sbin/udevadm trigger --subsystem-match="virtio-ports" \
    57          --attr-match="name=com.redhat.rhevm.vdsm"
    58  fi
    59  
    60  if [ "$1" -ge 1 ]; then
    61      /sbin/service ovirt-guest-agent condrestart > /dev/null 2>&1
    62  fi

Current RHEL 6.x does not have magnificent systemd.

Version-Release number of selected component (if applicable):
rhevm-guest-agent-common-1.0.8-4

How reproducible:
100%

Steps to Reproduce:
1. rpm --scripts -qp $rpm
2.
3.

Actual results:
systemd invasion

Expected results:
not yet, not yet... :D

Additional info:

Comment 3 Ilanit Stein 2013-11-05 12:14:53 UTC
Verified on is21 + install rhevm-guest-agent-common-1.0.8-5.

Checked  rpm --scripts -q rhevm-guest-agent-common do not contain /bin/systemctl daemon-reload

Comment 5 errata-xmlrpc 2014-01-21 15:52:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0058.html


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