Hide Forgot
Description of problem: SELinux is preventing /usr/bin/net from block_suspend access on the capability2 Version-Release number of selected component (if applicable): samba-common-4.1.0-0.5.rc2 selinux-policy-3.12.1-73 How reproducible: Always Steps to Reproduce: 1. Try to join a RHEL7 machine to the AD domain using the realmd tool as follows: realm join -v -U Administrator --user-principal=host/clienthostname ad_domain.com Actual results: Join is successful, but avcs appear. SELinux is preventing /usr/bin/net from block_suspend access on the capability2 . Additional Information: Source Context system_u:system_r:samba_net_t:s0-s0:c0.c1023 Target Context system_u:system_r:samba_net_t:s0-s0:c0.c1023 Target Objects [ capability2 ] Source net Source Path /usr/bin/net Port <Unknown> Host clienthostname Source RPM Packages samba-common-4.1.0-0.5.rc2.el7.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-73.el7.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name clienthostname Platform Linux clienthostname 3.10.0-2.el7.x86_64 #1 SMP Fri Jul 19 14:41:08 EDT 2013 x86_64 x86_64 Alert Count 455 First Seen 2013-08-12 19:26:53 IST Last Seen 2013-09-05 14:35:47 IST Local ID 4be69344-e3b6-4550-92e1-60f3ba2521b4 Raw Audit Messages type=AVC msg=audit(1378371947.682:48194): avc: denied { block_suspend } for pid=2408 comm="net" capability=36 scontext=system_u:system_r:samba_net_t:s0-s0:c0.c1023 tcontext=system_u:system_r:samba_net_t:s0-s0:c0.c1023 tclass=capability2 type=SYSCALL msg=audit(1378371947.682:48194): arch=x86_64 syscall=epoll_ctl success=yes exit=0 a0=3 a1=2 a2=5 a3=7ffff98cb290 items=0 ppid=2333 pid=2408 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=net exe=/usr/bin/net subj=system_u:system_r:samba_net_t:s0-s0:c0.c1023 key=(null) Hash: net,samba_net_t,samba_net_t,capability2,block_suspend Expected results: No avc should appear.
I believe this bug is a duplicate of BZ#1004186.
*** This bug has been marked as a duplicate of bug 1004186 ***