Bug 1351355

Summary: Errors/warnings during installation of ovirt-vmconsole-proxy
Product: [oVirt] ovirt-vmconsole Reporter: Davor Cubranic <davor>
Component: Packaging.rpmAssignee: Francesco Romani <fromani>
Status: CLOSED DUPLICATE QA Contact: Nikolai Sednev <nsednev>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.3CC: aperotti, bugs
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-08 19:50:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Rel-Eng RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Davor Cubranic 2016-06-29 20:34:30 UTC
Description of problem:

During the installation of oVirt engine 4.0 (yum install ovirt-engine), I see the following messages in the console:

==> default:   Installing : ovirt-vmconsole-proxy-1.0.3-1.el7.centos.noarch          213/232
==> default:
==> default: SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version.
==> default: SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.29:  No such file or directory
==> default: /sbin/load_policy:  Can't load policy:  No such file or directory
==> default: libsemanage.semanage_reload_policy: load_policy returned error code 2.
==> default: SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version.
==> default: SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.29:  No such file or directory
==> default: /sbin/load_policy:  Can't load policy:  No such file or directory
==> default: libsemanage.semanage_reload_policy: load_policy returned error code 2.
==> default: ValueError: Could not commit semanage transaction


Version-Release number of selected component (if applicable): ovirt-vmconsole-proxy 1.0.3-1


How reproducible: reliably


Steps to Reproduce:
1. disable SELinux
2. install ovirt-engine release 4.0 on a Centos 7 host
3. observe console output

Comment 1 Francesco Romani 2016-06-29 20:41:50 UTC
aseems duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1342270

Comment 2 Andrea Perotti 2016-07-06 16:11:57 UTC
Please note that also ovirt-vmconsole has some trouble when SELinux is disabled:

This has happened upgrading from 3.5 to 3.6:

2016-06-30 18:19:50 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:95 Yum install: 12/65: ovirt-vmconsole-1.0.2-2.el6ev.noarch
2016-06-30 18:20:55 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:91 Yum Script sink: SELinux is disabled.
warning: %post(ovirt-vmconsole-1.0.2-2.el6ev.noarch) scriptlet failed, exit status 1


thanks

Comment 3 Davor Cubranic 2016-07-08 19:50:26 UTC
You're right, Francesco, it's a duplicate of #1342270.

*** This bug has been marked as a duplicate of bug 1342270 ***