Skip to contentSkip to conversation

selinux-policy-mls is now available for your testing pleasure.

DISCUSSION [email protected] 2 participants 2 messages Apr 20, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 23 lines · --- Paul Moore
Quoted 7 lines · Paul Moore
Quoted 5 lines · Stephen Smalley
Quoted 3 lines · James Morris
Quoted 1 line

12 Rebooted normally, i.e. 'rhgb quiet 5', and X failed to start

Quoted 6 lines
Quoted 6 lines
Quoted 1 line

Haven't tried X yet, not sure it's supposed to work.

Works for me. Of course, you do need to have the allow_execmem=1 boolean enabled for X to run, but that is independent of MLS. /usr/sbin/setsebool -P allow_execmem=1. Did the RPM include

a

Quoted 4 lines
Quoted 2 lines

booleans file?

Yes it did, however, the allow_execmem entry was missing. I added

it

Quoted 1 line

via setsebool and verified that it was in the booleans.local file

and

Quoted 1 line

rebooted to see gdm startup this time but I could not login -

Quoted 9 lines

according

Quoted 1 line

to the xsession-errors file Xlib failed to connect to the display,

which

Quoted 2 lines

was running on ":0.0".

I was playing with this some more and a regular user was allowed to login via gdm - just not root.

Hi Paul,

I saw a similar problem. In my case /tmp/gconfd-root had a type other than tmp_t (I think it was sysadm_tmp or something like that). It is possible that it was there from a previous login of root when MLS was not active. Try removing that directory and see if you can login as root.

-Janak

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 48 lines · [email protected] wrote:
Quoted 35 lines · --- Paul Moore
Quoted 9 lines · Paul Moore
Quoted 6 lines · Stephen Smalley
Quoted 3 lines · James Morris
Quoted 1 line

12 Rebooted normally, i.e. 'rhgb quiet 5', and X failed to start

Quoted 6 lines
Quoted 6 lines
Quoted 1 line

Haven't tried X yet, not sure it's supposed to work.

Works for me. Of course, you do need to have the allow_execmem=1 boolean enabled for X to run, but that is independent of MLS. /usr/sbin/setsebool -P allow_execmem=1. Did the RPM include

a

Quoted 4 lines
Quoted 2 lines

booleans file?

Yes it did, however, the allow_execmem entry was missing. I added

it

Quoted 1 line

via setsebool and verified that it was in the booleans.local file

and

Quoted 1 line

rebooted to see gdm startup this time but I could not login -

according

Quoted 9 lines
Quoted 1 line

to the xsession-errors file Xlib failed to connect to the display,

which

Quoted 2 lines

was running on ":0.0".

I was playing with this some more and a regular user was allowed to login via gdm - just not root.

Quoted 8 lines

Hi Paul,

I saw a similar problem. In my case /tmp/gconfd-root had a type
other than tmp_t (I think it was sysadm_tmp or something like
that). It is possible that it was there from a previous login
of root when MLS was not active. Try removing that directory and see if you can login as root.

-Janak

Hi Janak,

Thanks for the suggestion. I made sure to clear out '/tmp' when I first ran into problems booting and I just checked it again - not gconf entries for root.

Signature · 8 lines
. paul moore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. [email protected]                                      hewlett packard
. (603) 884-5056                                          linux security

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.