Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1347391 - [RH Ceph 2.0 / 10.2.2-2] selinux avc: denied { chown } for pid=12251 comm="radosgw"
[RH Ceph 2.0 / 10.2.2-2] selinux avc: denied { chown } for pid=12251 c...
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Build (Show other bugs)
2.0
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 2.0
Assigned To: Boris Ranto
ceph-qe-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-16 13:00 EDT by Vasu Kulkarni
Modified: 2016-08-23 15:42 EDT (History)
2 users (show)

See Also:
Fixed In Version: ceph-10.2.2-5.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-23 15:42:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1755 normal SHIPPED_LIVE Red Hat Ceph Storage 2.0 bug fix and enhancement update 2016-08-23 19:23:52 EDT

  None (edit)
Description Vasu Kulkarni 2016-06-16 13:00:42 EDT
Description of problem:

Following denial found during smoke run
SELinuxError: SELinux denials found on ubuntu@pluto006.ceph.redhat.com: ['type=AVC msg=audit(1466048150.488:2656): avc:  denied  { chown } for  pid=12251 comm="radosgw" capability=0  scontext=system_u:system_r:ceph_t:s0 tcontext=system_u:system_r:ceph_t:s0 tclass=capability']

I believe this was recently fixed in master

Version-Release number of selected component (if applicable):

10.2.2-2.el7cp (f1f313912893a3ecab6afbdc5690054dde9789fb)

more logs:

http://magna002.ceph.redhat.com/vasu-2016-06-15_19:14:50-smoke-jewel---basic-pluto/238903/teuthology.log
Comment 2 Ken Dreyer (Red Hat) 2016-06-16 15:53:58 EDT
Boris, would you please look into this and prepare a patch for the selinux policy if necessary?
Comment 3 Ken Dreyer (Red Hat) 2016-06-17 08:26:16 EDT
Vasu, what is the minimal reproduction case for this denial? I'd like to try to reproduce it outside of teuthology.
Comment 4 Ken Dreyer (Red Hat) 2016-06-17 13:09:18 EDT
Vasu clarified that this is probably fixed by https://github.com/ceph/ceph/pull/9669 , so we will cherry-pick that downstream.
Comment 6 Boris Ranto 2016-06-20 05:45:38 EDT
Yes, this should be fixed by the PR#9669.
Comment 9 Vasu Kulkarni 2016-06-21 18:01:52 EDT
Verified in 10.2.2
Comment 11 errata-xmlrpc 2016-08-23 15:42:04 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1755.html

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