Bug 800925

Summary: login via console triggers an AVC
Product: Red Hat Enterprise Linux 7 Reporter: Milos Malik <mmalik>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Milos Malik <mmalik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-07 18:49:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 802465, 816135    

Description Milos Malik 2012-03-07 14:12:56 UTC
Description of problem:


Version-Release number of selected component (if applicable):
selinux-policy-3.10.0-56.el7.noarch
selinux-policy-targeted-3.10.0-56.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. log in as root via console

Actual results:
----
time->Wed Mar  7 12:24:24 2012
type=SYSCALL msg=audit(1331119464.514:45): arch=c000003e syscall=16 success=yes exit=0 a0=b a1=5401 a2=7fff30f5f368 a3=7fff30f5f180 items=0 ppid=1 pid=1141 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-logind" exe="/lib/systemd/systemd-logind" subj=system_u:system_r:systemd_logind_t:s0 key=(null)
type=AVC msg=audit(1331119464.514:45): avc:  denied  { sys_tty_config } for  pid=1141 comm="systemd-logind" capability=26  scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=capability
----

Expected results:
* no AVCs

Comment 1 Daniel Walsh 2012-03-07 18:49:05 UTC
Fixed in selinux-policy-3.10.0-96.fc17