Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 592947 - service xendomains status - fails due to selinux, can't read xen config file
service xendomains status - fails due to selinux, can't read xen config file
Status: CLOSED DUPLICATE of bug 579497
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
medium Severity medium
: rc
: ---
Assigned To: Miroslav Grepl
BaseOS QE Security Team
Depends On:
  Show dependency treegraph
Reported: 2010-05-17 08:57 EDT by David Kovalsky
Modified: 2014-03-31 19:45 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-05-17 12:40:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Kovalsky 2010-05-17 08:57:26 EDT
I've noticed that in 5.5 `service xendomains status' doesn't work. Returns 1.

# service xendomains status
Checking for xendomains:Error: Unable to open config file: /etc/xen/auto/private.xen
 MISS AUTO:       [dead]                                   [FAILED]

# echo $?

/var/log/audit/audit.log contains these entries.

14508 type=AVC msg=audit(1274100371.856:18735): avc:  denied  { read } for  pid=10953 comm="xm" name="private.xen" dev=md3 ino=246341 scontext=root:system_r:xm_t:s0 tcontext=system_u:object_r:virt_etc_rw_t:s0 tclass=lnk_file
Comment 1 Daniel Walsh 2010-05-17 09:05:35 EDT
Miroslav add
	manage_lnk_files_pattern($1, virt_etc_rw_t, virt_etc_rw_t)

To virt_manage_config
Comment 2 Miroslav Grepl 2010-05-17 12:40:10 EDT

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

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