Bug 629232 - restorecon error when installing oracle-xe-selinux
Summary: restorecon error when installing oracle-xe-selinux
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 1.2
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space12
TreeView+ depends on / blocked
 
Reported: 2010-09-01 11:40 UTC by Jan Hutař
Modified: 2010-11-19 16:16 UTC (History)
1 user (show)

Fixed In Version: oracle-xe-selinux-10.2-18
Clone Of:
Environment:
Last Closed: 2010-11-19 16:16:28 UTC
Embargoed:


Attachments (Terms of Use)

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


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