Bug 629232

Summary: restorecon error when installing oracle-xe-selinux
Product: [Community] Spacewalk Reporter: Jan Hutař <jhutar>
Component: InstallationAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 1.2CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: oracle-xe-selinux-10.2-18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-19 16:16:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 623772    

Description Jan Hutař 2010-09-01 11:40:17 UTC
Description of problem:
When I'm installing oracle-xe-selinux, I got errors below.


Version-Release number of selected component (if applicable):
oracle-xe-selinux-10.2-17.fc12.noarch on F12 (not updated)


How reproducible:
always


Steps to Reproduce:
1. # yum -y install oracle-xe-selinux
2. Observe output


Actual results:
# yum -y install oracle-xe-selinux
[...]
  Installing     : oracle-xe-selinux-10.2-17.fc12.noarch                    2/2
[...]
/sbin/restorecon reset /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/log context system_u:object_r:lib_t:s0->user_u:object_r:oracle_db_log_t:s0
/sbin/restorecon:  lstat(/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/admin/patch) failed:  No such file or directory
xargs: /sbin/restorecon: exited with status 255; aborting
[...]
/sbin/restorecon:  lstat(/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/admin/patch) failed:  No such file or directory
xargs: /sbin/restorecon: exited with status 255; aborting
[...]

Installed:
  oracle-xe-selinux.noarch 0:10.2-17.fc12                                       

Dependency Installed:
  oracle-nofcontext-selinux.noarch 0:0.1-23.17.fc12                             

Complete!


Expected results:
There should not be such errors in the output


Additional info:
Maybe this is not a bug, but reporting to be tracked.

Comment 1 Jan Pazdziora (Red Hat) 2010-09-01 12:03:56 UTC
Fixed in Spacewalk master, 46cb0ca74c55ae7378dfef234c840edc49760b40.

Comment 2 Jan Pazdziora (Red Hat) 2010-09-06 07:35:37 UTC
Actually, the issue is with restorecon not ignoring missing files as it should. I've reported the problem in bug 542933 and it's been fixed since.

Please, install Spacewalks on upgraded systems, not on GA versions of Fedoras.

Comment 3 Jan Pazdziora (Red Hat) 2010-09-14 08:16:08 UTC
The package oracle-xe-selinux-10.2-18 is in nightly compose, moving ON_QA.

Comment 5 Jan Pazdziora (Red Hat) 2010-11-15 19:31:42 UTC
Oops, append $basearch/os to the paths to get correct baseurl.

Comment 7 Jan Pazdziora (Red Hat) 2010-11-19 16:16:28 UTC
With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE.

https://www.redhat.com/archives/spacewalk-list/2010-November/msg00111.html