All of lore.kernel.org
 help / color / mirror / Atom feed
* Two constraint violations
@ 2010-05-17 19:11 Alan Rouse
  2010-05-17 20:20 ` Daniel J Walsh
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Rouse @ 2010-05-17 19:11 UTC (permalink / raw)
  To: selinux@tycho.nsa.gov

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

1.  When I boot to a desktop as user_t, then open a terminal, and execute 'su' to login as root, a file is created in the /root directory called .xauth0SiF7t.  That produces the following AVC:

type=AVC msg=audit(1274122005.740:4): avc: denied { create } for pid=4410 comm="su" name=".xauth0SiF7t" scontext=user_u:user_r:user_su_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file

Audit2allow generates the an allow rule but tells me it is a constraint violation.

allow user_su_t default_t:file create;

Any insights into why this is happening / what I should do to fix it?

2.  Note, I'm still also getting this AVC during system boot, for which audit2allow also generates a rule which is a constraint violation:

type=AVC msg=audit(1274121983.953:3): avc: denied { relablefrom } for pid=4335 comm="restorecond" name=".xsession-errors" dev=sda3 ino=127759 scontext=user_u:user_r:user_t:s0 tcontext=system_u:object_r:xauth_home_t:s0 tclass=file

Any insights into why this is happening / what I should do to fix it?






[-- Attachment #2: Type: text/html, Size: 2117 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-17 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-17 19:11 Two constraint violations Alan Rouse
2010-05-17 20:20 ` Daniel J Walsh

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.