Bug 1319871 - systemd avc: denied { enable } for auid=1000 uid=0 gid=0 cmdline="systemctl enable ceph.target" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Summary: systemd avc: denied { enable } for auid=1000 uid=0 gid=0 cmdline="systemctl e...
Keywords:
Status: CLOSED DUPLICATE of bug 1324589
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-21 17:41 UTC by Vasu Kulkarni
Modified: 2016-04-26 12:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-26 12:32:57 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Vasu Kulkarni 2016-03-21 17:41:43 UTC
Description of problem:

Following denial issue is seen during the ceph testing

SELinux denials found on ubuntu.sepia.ceph.com: ['type=USER_AVC msg=audit(1458092966.151:3237): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=\'avc: denied { enable } for auid=1000 uid=0 gid=0 cmdline="systemctl enable ceph.target" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:system_r:init_t:s0 tclass=service exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?\''] 
Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:

1. Install ceph
2. systemctl enable ceph.target


Actual results:



Expected results:
No denials should be reported

Additional info:
http://qa-proxy.ceph.com/teuthology/vasu-2016-03-15_15:34:41-selinux-master---basic-mira/62626/teuthology.log

Comment 2 Boris Ranto 2016-04-26 12:32:57 UTC
This is related to the systemd packaging mess in Ceph, tagging as dup of bz1324589.

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


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