| Summary: | SELinux is preventing /usr/bin/ssh-agent from read, open access on the fichier /usr/bin/ssh-agent. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sylvain Arth <sylvain> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:d5a0351d83d71ec96eabebfc952ef185c53d5049856524aa594d4b368097de70 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-07 14:53:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
What were you doing when this happened? (In reply to comment #1) > What were you doing when this happened? I can't figure actually I only thought that too many selinux warnings (switched on permissive mode) were happening (most of them triggered by system's daemon or whatever), some looking like silly (bash reading .bas_history for instance) Hope this helps This looks like the gkeyringd is trying to execute ssh-agent? Has this changed? |
SELinux is preventing /usr/bin/ssh-agent from read, open access on the fichier /usr/bin/ssh-agent. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that ssh-agent should be allowed read open access on the ssh-agent file 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 ssh-agent /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context root:staff_r:staff_gkeyringd_t:s0 Target Context system_u:object_r:ssh_agent_exec_t:s0 Target Objects /usr/bin/ssh-agent [ file ] Source ssh-agent Source Path /usr/bin/ssh-agent Port <Inconnu> Host (removed) Source RPM Packages openssh-clients-5.6p1-33.fc15.1 Target RPM Packages openssh-clients-5.6p1-33.fc15.1 Policy RPM selinux-policy-3.9.16-34.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux esus.gwenved.dro 2.6.38.8-32.fc15.i686 #1 SMP Mon Jun 13 20:01:50 UTC 2011 i686 i686 Alert Count 1 First Seen mer. 20 juil. 2011 09:08:57 CEST Last Seen mer. 20 juil. 2011 09:08:57 CEST Local ID 30b9e690-fbd6-4e58-b0f7-0bfe7c7882b2 Raw Audit Messages type=AVC msg=audit(1311145737.261:126): avc: denied { read open } for pid=2515 comm="Xsession" name="ssh-agent" dev=dm-4 ino=150526 scontext=root:staff_r:staff_gkeyringd_t:s0 tcontext=system_u:object_r:ssh_agent_exec_t:s0 tclass=file type=AVC msg=audit(1311145737.261:126): avc: denied { execute_no_trans } for pid=2515 comm="Xsession" path="/usr/bin/ssh-agent" dev=dm-4 ino=150526 scontext=root:staff_r:staff_gkeyringd_t:s0 tcontext=system_u:object_r:ssh_agent_exec_t:s0 tclass=file type=SYSCALL msg=audit(1311145737.261:126): arch=i386 syscall=execve success=yes exit=0 a0=9a3b5b8 a1=9a3b068 a2=9a3c000 a3=9a3b068 items=0 ppid=2496 pid=2515 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=99 sgid=99 fsgid=99 tty=(none) ses=1 comm=ssh-agent exe=/usr/bin/ssh-agent subj=root:staff_r:staff_gkeyringd_t:s0 key=(null) Hash: ssh-agent,staff_gkeyringd_t,ssh_agent_exec_t,file,read,open audit2allow #============= staff_gkeyringd_t ============== allow staff_gkeyringd_t ssh_agent_exec_t:file { read open execute_no_trans }; audit2allow -R #============= staff_gkeyringd_t ============== allow staff_gkeyringd_t ssh_agent_exec_t:file { read open execute_no_trans };