Bug 1044184 - SELinux is preventing /usr/sbin/sshd from using the 'dyntransition' accesses on a process.
Summary: SELinux is preventing /usr/sbin/sshd from using the 'dyntransition' accesses ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:60489ae3e599784932446051b51...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 21:45 UTC by BrollyLSSJ
Modified: 2013-12-18 10:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-18 10:20:01 UTC
Type: ---


Attachments (Terms of Use)

Description BrollyLSSJ 2013-12-17 21:45:55 UTC
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 unconfined_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                unconfined_u:unconfined_r:unconfined_t:s0
Target Objects                 [ process ]
Source                        sshd
Source Path                   /usr/sbin/sshd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           openssh-server-6.4p1-3.fc20.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.10-301.fc20.i686+PAE #1 SMP
                              Thu Dec 5 14:12:06 UTC 2013 i686 i686
Alert Count                   1
First Seen                    2013-12-17 22:42:26 CET
Last Seen                     2013-12-17 22:42:26 CET
Local ID                      a1545a63-2d7a-4b03-9876-6c251ef0d9a3

Raw Audit Messages
type=AVC msg=audit(1387316546.117:544): avc:  denied  { dyntransition } for  pid=2842 comm="sshd" scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=process


type=SYSCALL msg=audit(1387316546.117:544): arch=i386 syscall=write success=no exit=EACCES a0=7 a1=b8d40290 a2=2a a3=b8d40290 items=0 ppid=2640 pid=2842 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=sshd exe=/usr/sbin/sshd subj=system_u:system_r:init_t:s0 key=(null)

Hash: sshd,init_t,unconfined_t,process,dyntransition

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.10-301.fc20.i686+PAE
type:           libreport

Comment 1 Lukas Vrabec 2013-12-18 10:20:01 UTC
Hi, 

Use this command : "# restorecon -R /" , but be patient it can take a while.

This should fix the issue.


Note You need to log in before you can comment on or make changes to this bug.