Bug 132985 - Could not get current context for /dev/tty1
Summary: Could not get current context for /dev/tty1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-09-20 17:03 UTC by Brian Millett
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-20 19:43:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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