Bug 567707 - SELinux is preventing /usr/sbin/sshd "setattr" access on 0.
SELinux is preventing /usr/sbin/sshd "setattr" access on 0.
Status: CLOSED DUPLICATE of bug 567129
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-02-23 12:46 EST by Vaclav "sHINOBI" Misek
Modified: 2010-02-23 13:31 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-02-23 13:31:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vaclav "sHINOBI" Misek 2010-02-23 12:46:47 EST

SELinux is preventing /usr/sbin/sshd "setattr" access on 0.

Detailed Description:

[sshd has a permissive type (sshd_t). This access was not denied.]

SELinux denied access requested by sshd. It is not expected that this access is
required by sshd 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

Additional Information:

Source Context                system_u:system_r:sshd_t:SystemLow-SystemHigh
Target Context                unconfined_u:object_r:user_devpts_t:SystemLow
Target Objects                0 [ chr_file ]
Source                        sshd
Source Path                   /usr/sbin/sshd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           openssh-server-5.3p1-22.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.9-4.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux dragon.panthernet.cz
                              2.6.33-0.47.rc8.git1.fc13.x86_64 #1 SMP Wed Feb 17
                              05:21:51 UTC 2010 x86_64 x86_64
Alert Count                   6
First Seen                    Tue 23 Feb 2010 12:34:28 PM CET
Last Seen                     Tue 23 Feb 2010 12:34:36 PM CET
Local ID                      7b32067a-1ec7-4208-87c8-61063aa4b8ca
Line Numbers                  

Raw Audit Messages            

node=dragon.panthernet.cz type=AVC msg=audit(1266924876.325:105): avc:  denied  { setattr } for  pid=10034 comm="sshd" name="0" dev=devpts ino=3 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_devpts_t:s0 tclass=chr_file

node=dragon.panthernet.cz type=SYSCALL msg=audit(1266924876.325:105): arch=c000003e syscall=90 success=yes exit=4294967424 a0=7f67567875fc a1=1b6 a2=0 a3=7fff49c53990 items=0 ppid=1410 pid=10034 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=500 fsgid=0 tty=(none) ses=8 comm="sshd" exe="/usr/sbin/sshd" subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  catchall,sshd,sshd_t,user_devpts_t,chr_file,setattr
audit2allow suggests:

#============= sshd_t ==============
allow sshd_t user_devpts_t:chr_file setattr;
Comment 1 Daniel Walsh 2010-02-23 13:31:16 EST

*** This bug has been marked as a duplicate of bug 567129 ***

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