Bug 1467625 - [Samba-SELINUX] avc denied messages are seen in audit.log for path "/run/ctdb/ctdbd.pid"
Summary: [Samba-SELINUX] avc denied messages are seen in audit.log for path "/run/ctdb...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: ctdb
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.3.0
Assignee: Anoop C S
QA Contact: Vivek Das
URL:
Whiteboard:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-07-04 11:48 UTC by Vivek Das
Modified: 2017-09-21 04:47 UTC (History)
6 users (show)

Fixed In Version: samba-4.6.3-5.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:47:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2780 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.3.0 samba bug fixes and enhancement update 2017-09-21 08:17:05 UTC
Samba Project 12898 0 None None None 2017-07-12 07:41:22 UTC

Description Vivek Das 2017-07-04 11:48:29 UTC
Description of problem:

Over a RHEL 7.4 , 3.3.0 samba-cdtb setup avc denied messages as shown below are seen. 
There is no functional issue seen as such.

type=AVC msg=audit(1499168563.384:321703): avc:  denied  { write } for  pid=7924 comm="ip" path="/run/ctdb/ctdbd.pid" dev="tmpfs" ino=34967954 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:object_r:ctdbd_var_run_t:s0 tclass=file

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-165.el7.noarch
samba-4.6.3-3.el7rhgs.x86_64
glusterfs-3.8.4-32.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Over samba ctdb setup run any IOs
2. Check for avc denied in audit.log
3.

Actual results:
Getting avc denied text

Expected results:
Should not get any avc denied

Additional info:
type=AVC msg=audit(1499168563.384:321703): avc:  denied  { write } for  pid=7924 comm="ip" path="/run/ctdb/ctdbd.pid" dev="tmpfs" ino=34967954 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:object_r:ctdbd_var_run_t:s0 tclass=file

Comment 4 Vivek Das 2017-07-10 04:26:22 UTC
No functional issues are seen as of now.

Comment 5 Anoop C S 2017-07-14 05:51:37 UTC
Fixed upstream:

https://git.samba.org/?p=samba.git;a=commit;h=3e85cbfd7541d8f30ce1f3244ebcc44332b394fe

see Samba upstream bug in 'External trackers' for more details.

Comment 8 Vivek Das 2017-07-24 06:58:08 UTC
No AVC denied messages are seen so far with the latest build i.e samba-4.6.3-5.el7rhgs.
Marking this as verified.

Comment 10 errata-xmlrpc 2017-09-21 04:47:10 UTC
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://access.redhat.com/errata/RHBA-2017:2780


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