Bug 629006 - SELinux is preventing /bin/login "create" access on frieben.
Summary: SELinux is preventing /bin/login "create" access on frieben.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:68372c64c45...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-31 16:22 UTC by Joachim Frieben
Modified: 2010-09-23 12:40 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.3-4.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-22 09:10:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2010-08-31 16:22:14 UTC
Summary:

SELinux is preventing /bin/login "create" access on frieben.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by login. It is not expected that this access is
required by login 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:local_login_t:s0-s0:c0.c1023
Target Context                system_u:object_r:var_auth_t:s0
Target Objects                frieben [ dir ]
Source                        login
Source Path                   /bin/login
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           util-linux-ng-2.18-4.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP Fri
                              Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   11
First Seen                    Tue 31 Aug 2010 12:56:54 PM CEST
Last Seen                     Tue 31 Aug 2010 05:34:48 PM CEST
Local ID                      425f22c5-6a23-4987-b1cd-a2b10ac988e4
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283268888.841:15): avc:  denied  { create } for  pid=1313 comm="login" name="frieben" scontext=system_u:system_r:local_login_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_auth_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1283268888.841:15): arch=c000003e syscall=83 success=yes exit=0 a0=fdd5f0 a1=1c0 a2=1f5 a3=64 items=0 ppid=1 pid=1313 auid=501 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="login" exe="/bin/login" subj=system_u:system_r:local_login_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,login,local_login_t,var_auth_t,dir,create
audit2allow suggests:

#============= local_login_t ==============
allow local_login_t var_auth_t:dir create;

Comment 1 Daniel Walsh 2010-08-31 16:30:14 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.9.1-2.fc14

Comment 2 Fedora Update System 2010-09-10 16:48:50 UTC
selinux-policy-3.9.3-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14

Comment 3 Fedora Update System 2010-09-11 02:16:46 UTC
selinux-policy-3.9.3-4.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14

Comment 4 Fedora Update System 2010-09-23 12:40:33 UTC
selinux-policy-3.9.3-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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