xdm leaks file descriptors on purpose, but this is causing random avc messages.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206709
Basically by design xdm/gdm opens a file descriptor to xsession-errors and then passes this to the session as stdout/stderr. If at some time later a user opens up a gnome terminal and restarts a confined domain. AVC's are generated on this fd.
Not sure of a way to handle this other then "
dontaudit domain xdm_t:fd use;
--
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.
Quoted 9 lines · Daniel J Walsh
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206709
Basically by design xdm/gdm opens a file descriptor to xsession-errors and then passes this to the session as stdout/stderr. If at some time later a user opens up a gnome terminal and restarts a confined domain. AVC's are generated on this fd.
Not sure of a way to handle this other then "
dontaudit domain xdm_t:fd use;
There's something here that doesn't compute for me. When you open up a gnome-terminal, the shell's fd 0, 1, and 2 should be set to the user's own pty, replacing the fd 0, 1, and 2 that gnome-terminal itself inherits from xdm. So I don't see how a daemon would get it.
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- 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.