From: Michael Reilly <michaelr@cisco.com>
To: lky <lky77@sjtu.edu.cn>
Cc: SELINUX <SELinux@tycho.nsa.gov>
Subject: Re: can't start X window in enforce mode
Date: Sun, 12 Oct 2003 16:15:03 -0700 [thread overview]
Message-ID: <3F89E077.9030802@cisco.com> (raw)
In-Reply-To: <000901c390ef$d8b3c770$5d38a8c0@lky>
I had both problems. I added the dontaudit memory devices
as mentioned in the file macros/program/xserver_macros.te.
I have the second problem and have not yet solved it. Nothing is logged
and I cannot figure out what is wrong.
BTW - on my system /dev/tty0 is the same file as dev/console (both 4,0).
The man page indicates that it should be this way. I tried labeling
/dev/tty0 as console_device_t (like /dev/console) but that did not help.
michael
lky wrote:
> Hi, I have eliminated all the denied messages in permissive mode. But when I change to the enforce mode I can't start X window now.The error message is below:
> -----------------------------------------------------------------------------------------
> ...............
> (EE) NV(0): Cannot open /dev/mem
> ................
> Fatal server error:
> xf86MapVidMem: failed to open /dev/mem (Permission denied)
> ................
> XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
> after 0 requests (0 known processed) with 0 events remaining.
> -----------------------------------------------------------------------------------------
> Why the system didn't display the denied message if the opration violate the policy? How should I configure my policy in order to start the X window?
> Thanks!
--
---- ---- ----
Michael Reilly michaelr@cisco.com
Cisco Systems, Santa Cruz, CA
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2003-10-12 23:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-12 18:37 can't start X window in enforce mode lky
2003-10-12 22:11 ` Russell Coker
2003-10-13 3:14 ` lky
2003-10-12 23:15 ` Michael Reilly [this message]
2003-10-13 7:52 ` Russell Coker
2003-10-14 15:00 ` Stephen Smalley
2003-10-14 19:02 ` Michael Reilly
2003-10-15 0:18 ` Russell Coker
2003-10-15 0:26 ` Michael Reilly
2003-10-16 1:43 ` Michael Reilly
2003-10-16 3:17 ` Russell Coker
-- strict thread matches above, loose matches on Subject: below --
2003-10-16 14:21 Kratzer, James R.
2003-10-16 15:57 ` Russell Coker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F89E077.9030802@cisco.com \
--to=michaelr@cisco.com \
--cc=SELinux@tycho.nsa.gov \
--cc=lky77@sjtu.edu.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.