Bug 1088218 - [ovirt-node-plugin-vdsm] - postinstall scriptlet is changing time of vdsm files
Summary: [ovirt-node-plugin-vdsm] - postinstall scriptlet is changing time of vdsm files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node-plugin-vdsm
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.4.0
Assignee: Douglas Schilling Landgraf
QA Contact: Jiri Belka
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-16 09:11 UTC by Pavel Stehlik
Modified: 2016-02-10 19:30 UTC (History)
6 users (show)

Fixed In Version: ovirt-node-plugin-vdsm-0.1.1-17.el6ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-09 14:26:30 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0673 0 normal SHIPPED_LIVE ovirt-node-plugin-vdsm bug fix and enhancement update 2014-06-09 18:24:50 UTC
oVirt gerrit 26865 0 master MERGED spec: remove uneeded sed's Never
oVirt gerrit 26899 0 node-3.0 MERGED spec: remove uneeded sed's Never

Description Pavel Stehlik 2014-04-16 09:11:51 UTC
Description of problem:
 Found when performing Errata TPS:
#rpm -V vdsm
.......T.    /etc/rc.d/init.d/vdsmd

TPS:
======
result: verify test: FAIL:
vdsm.x86_64: /etc/rc.d/init.d/vdsmd .......T. [tps:B]
TPS verify test analysis tags:
tps:a -- verify errors on both arches
tps:b -- verify error on file not present in alternative arch
tps:c -- verify error on preferred binary/ELF file
tps:d -- significant type of verify error
TPSINFO: built-in verifyTest result: FAIL


postscripts:
=============
# rpm -q ovirt-node-plugin-vdsm --scripts
postinstall scriptlet (using /bin/sh):
# semanage is not present in the image and virt_use_nfs is on (see rhbz#642209)
# remove it from vdsmd startup script to avoid error
sed -i 's#/usr/sbin/semanage#/bin/true#' /etc/rc.d/init.d/vdsmd
...
# chkconfig results (symlinks) cannnot be peristed
sed -i 's#/sbin/chkconfig \$srv off##' /etc/rc.d/init.d/vdsmd


Version-Release number of selected component (if applicable):
ovirt-node-plugin-vdsm-0.1.1-15.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. install vdsm
2. rpm -V vdsm
3. install ovirt-node-plugin-vdsm && rpm -V vdsm

Actual results:


Expected results:


Additional info:

Comment 1 Jiri Belka 2014-05-14 15:18:18 UTC
ok, av9.1

# rpm --scripts -q ovirt-node-plugin-vdsm
postinstall scriptlet (using /bin/sh):
# reserve vdsm port 54321
augtool << \EOF_sysctl
set /files/etc/sysctl.conf/net.ipv4.ip_local_reserved_ports 54321
save
EOF_sysctl

#SELinux Booleans
/usr/sbin/setsebool -P virt_use_nfs=1 \
                       virt_use_sanlock=1 \
                       sanlock_use_nfs=1

# ensure Network Manager is disabled
preuninstall program: /bin/sh
# rpm -q ovirt-node-plugin-vdsm
ovirt-node-plugin-vdsm-0.1.1-19.el6ev.noarch

Comment 3 errata-xmlrpc 2014-06-09 14:26:30 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-0673.html


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