Summary: SELinux is preventing /usr/libexec/gam_server "getattr" access on /etc/rc.d/init.d/sshd. Detailed Description: SELinux denied access requested by gam_server. It is not expected that this access is required by gam_server and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:fail2ban_t:s0 Target Context system_u:object_r:sshd_initrc_exec_t:s0 Target Objects /etc/rc.d/init.d/sshd [ file ] Source gam_server Source Path /usr/libexec/gam_server Port <Unknown> Host (removed) Source RPM Packages gamin-0.1.10-7.fc13 Target RPM Packages openssh-server-5.4p1-1.fc13 Policy RPM selinux-policy-3.7.19-69.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.33.3-85.fc13.i686 #1 SMP Thu May 6 18:44:12 UTC 2010 i686 i686 Alert Count 2 First Seen Mon 22 Nov 2010 09:01:38 PM MST Last Seen Mon 22 Nov 2010 09:21:48 PM MST Local ID d52b8221-3f17-4621-84a0-fbccf1401c09 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1290486108.706:12503): avc: denied { getattr } for pid=1469 comm="gam_server" path="/etc/rc.d/init.d/sshd" dev=dm-0 ino=43103 scontext=system_u:system_r:fail2ban_t:s0 tcontext=system_u:object_r:sshd_initrc_exec_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1290486108.706:12503): arch=40000003 syscall=196 success=no exit=-13 a0=9d4dfe8 a1=bfe960dc a2=9ceff4 a3=100 items=0 ppid=1 pid=1469 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="gam_server" exe="/usr/libexec/gam_server" subj=system_u:system_r:fail2ban_t:s0 key=(null) Hash String generated from catchall,gam_server,fail2ban_t,sshd_initrc_exec_t,file,getattr audit2allow suggests: #============= fail2ban_t ============== allow fail2ban_t sshd_initrc_exec_t:file getattr;
Can you turn off the gam_server by changing fail2ban to polling.
*** Bug 656130 has been marked as a duplicate of this bug. ***
*** Bug 656135 has been marked as a duplicate of this bug. ***
*** Bug 656137 has been marked as a duplicate of this bug. ***
*** Bug 656140 has been marked as a duplicate of this bug. ***
*** Bug 656149 has been marked as a duplicate of this bug. ***
*** Bug 656153 has been marked as a duplicate of this bug. ***
*** Bug 656156 has been marked as a duplicate of this bug. ***
*** Bug 656159 has been marked as a duplicate of this bug. ***
*** Bug 656162 has been marked as a duplicate of this bug. ***
*** Bug 656165 has been marked as a duplicate of this bug. ***
*** Bug 656166 has been marked as a duplicate of this bug. ***
*** Bug 656168 has been marked as a duplicate of this bug. ***
maurizio, if you see a ton of AVC errors that look the same, please report it once and then mention that you have a ton of them. Otherwise we have to run through them all and close them as dups. Thanks for reporting them though.
*** Bug 657159 has been marked as a duplicate of this bug. ***
*** Bug 657161 has been marked as a duplicate of this bug. ***
*** Bug 657163 has been marked as a duplicate of this bug. ***
*** Bug 657168 has been marked as a duplicate of this bug. ***
*** Bug 657170 has been marked as a duplicate of this bug. ***
*** Bug 657171 has been marked as a duplicate of this bug. ***
*** Bug 657173 has been marked as a duplicate of this bug. ***
*** Bug 657176 has been marked as a duplicate of this bug. ***
*** Bug 657178 has been marked as a duplicate of this bug. ***
*** Bug 657180 has been marked as a duplicate of this bug. ***
*** Bug 657184 has been marked as a duplicate of this bug. ***
*** Bug 657185 has been marked as a duplicate of this bug. ***
*** Bug 657186 has been marked as a duplicate of this bug. ***
*** Bug 657190 has been marked as a duplicate of this bug. ***
*** Bug 657191 has been marked as a duplicate of this bug. ***
*** Bug 657193 has been marked as a duplicate of this bug. ***
maurizio, have you read the comment #14?
Use the following settings in /etc/fail2ban/jail.conf --- # "backend" specifies the backend used to get files modification. Available # options are "gamin", "polling" and "auto". This option can be overridden in # each jail too (use "gamin" for a jail and "polling" for another). # # gamin: requires Gamin (a file alteration monitor) to be installed. If Gamin # is not installed, Fail2ban will use polling. # polling: uses a polling algorithm which does not require external libraries. # auto: will choose Gamin if available and polling otherwise. backend = polling ---
*** Bug 658661 has been marked as a duplicate of this bug. ***