| Summary: | SELinux is preventing /usr/sbin/sshd from using the 'dyntransition' accesses on a process. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bahtiar `kalkin` Gadimov <bahtiar> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:de067b33678292f1b533b5b3d68434d60e0f890dfc6a68da67202bf1b71d1638 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-27 16:42:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
If you execute # restorecon -v /usr/sbin/sshd # systemctl restart sshd does it help? If no, please reopen the bug. |
Description of problem: SELinux is preventing /usr/sbin/sshd from using the 'dyntransition' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sshd should be allowed dyntransition access on processes labeled sshd_net_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:init_t:s0 Target Context system_u:system_r:sshd_net_t:s0 Target Objects [ process ] Source sshd Source Path /usr/sbin/sshd Port <Unknown> Host (removed) Source RPM Packages openssh-server-6.3p1-5.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-90.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.8-300.fc20.x86_64 #1 SMP Wed Nov 13 16:34:27 UTC 2013 x86_64 x86_64 Alert Count 5 First Seen 2013-11-23 20:39:51 CET Last Seen 2013-11-27 02:27:39 CET Local ID 7c40528a-29dc-47d6-b60e-f20b4e202207 Raw Audit Messages type=AVC msg=audit(1385515659.188:3364): avc: denied { dyntransition } for pid=30136 comm="sshd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:sshd_net_t:s0 tclass=process type=SYSCALL msg=audit(1385515659.188:3364): arch=x86_64 syscall=write success=no exit=EACCES a0=6 a1=7fa0583aebd0 a2=20 a3=7fffea55ba10 items=0 ppid=30135 pid=30136 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=sshd exe=/usr/sbin/sshd subj=system_u:system_r:init_t:s0 key=(null) Hash: sshd,init_t,sshd_net_t,process,dyntransition Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.8-300.fc20.x86_64 type: libreport