Hide Forgot
happened on target machine during scp file transfer SELinux is preventing /usr/sbin/sshd from using the 'getcap' accesses on a process. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that sshd should be allowed getcap access on processes labeled sshd_t by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep sshd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:sshd_t:s0-s0:c0.c1023 Target Context system_u:system_r:sshd_t:s0-s0:c0.c1023 Target Objects Unknown [ process ] Source sshd Source Path /usr/sbin/sshd Port <Unknown> Host (removed) Source RPM Packages openssh-server-5.6p1-30.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-16.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38.3-17.fc15.x86_64 #1 SMP Tue Apr 19 20:54:44 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Fri 22 Apr 2011 08:56:25 AM CEST Last Seen Fri 22 Apr 2011 08:56:25 AM CEST Local ID 8fe1f204-6b64-428b-a413-f6c32d6b6d10 Raw Audit Messages type=AVC msg=audit(1303455385.578:84): avc: denied { getcap } for pid=20163 comm="sshd" scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tclass=process type=SYSCALL msg=audit(1303455385.578:84): arch=x86_64 syscall=capget success=yes exit=0 a0=7f6a6acc52e4 a1=7f6a6acc52ec a2=7f6a66cf41e0 a3=0 items=0 ppid=1118 pid=20163 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm=sshd exe=/usr/sbin/sshd subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 key=(null) Hash: sshd,sshd_t,sshd_t,process,getcap audit2allow #============= sshd_t ============== allow sshd_t self:process getcap; audit2allow -R #============= sshd_t ============== allow sshd_t self:process getcap;
Fixed in selinux-policy-3.9.16-17.fc16