Bug 132985

Summary: Could not get current context for /dev/tty1
Product: [Fedora] Fedora Reporter: Brian Millett <bmillett>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-20 19:43:37 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: 123268    

Description Brian Millett 2004-09-20 17:03:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040904 Firefox/0.9.3

Description of problem:
with selinuxtype set to targeted, I get a strange warning when I go to
a tty[1-9]

Fedora Core release Rawhide (Rawhide)
Kernel 2.6.8-1.549 on an i686

indoffcallacctg login: root
Password:
login(pam_unix)[3770]: session opened for user root by (uid=0)
login[3770]: Warning!  Could not get current context for /dev/tty1,
not relabeling.
Last login: Mon Sep 20 11:25:06 on tty1
 -- root[3770]: ROOT LOGIN ON tty1



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.enable selinuxtype-targeted
2.boot
3.go to a tty[1-9] and login
    

Actual Results:  login(pam_unix)[3770]: session opened for user root
by (uid=0)
login[3770]: Warning!  Could not get current context for /dev/tty1,
not relabeling.
Last login: Mon Sep 20 11:25:06 on tty1

Expected Results:  simple login

Additional info:

Comment 1 Brian Millett 2004-09-20 19:43:37 UTC
this was resolved by using the -1.541 kernel.  The kernel I was using
from Arjan did not have the xattr patch.