gnome-screensav AVCs
I'm seeing AVCs related to netlink_audit_socket when the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which uses pam_unix which in turn runs the unix_chkpwd helper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possibly authlogin_common_auth_domain_template. Would it be best to add policy for this to gnome or should it have it's own module?
--
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 5 lines · Xavier Toth
I'm seeing AVCs related to
netlink_audit_socketwhen the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which usespam_unixwhich in turn runs theunix_chkpwdhelper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possiblyauthlogin_common_auth_domain_template.
I'm not 100% clear, is the auditing happening from unix_chkpwd or the screensaver proper?
Quoted 2 lines
Would it be best to add policy for this to gnome or should it have it's own module?
The gnome module is for policies for core gnome components. Unfortunately "core component" isn't really well defined at the moment. But I've been thinking about it since Dan has a gnome clock applet policy since it can set the clock. If we had a better idea what pieces needed their own domain, it'd be easier to make a decision. Something like dbus doesn't fit since its useful outside of gnome.
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.
Quoted 10 lines · Christopher J. PeBenito
Quoted 5 lines · Xavier Toth
I'm seeing AVCs related to
netlink_audit_socketwhen the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which usespam_unixwhich in turn runs theunix_chkpwdhelper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possiblyauthlogin_common_auth_domain_template.I'm not 100% clear, is the auditing happening from
unix_chkpwdor the screensaver proper?
I'm sure that it is unix_chkpwd that is auditing and not gnome-screensaver-dialog.
Quoted 9 lines
Quoted 2 lines
Would it be best to add policy for this to gnome or should it have it's own module?
The gnome module is for policies for core gnome components. Unfortunately "core component" isn't really well defined at the moment. But I've been thinking about it since Dan has a gnome clock applet policy since it can set the clock. If we had a better idea what pieces needed their own domain, it'd be easier to make a decision. Something like dbus doesn't fit since its useful outside of gnome.
Yes there may be other gnome apps that need policy but I don't know which at this point.
Quoted 7 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.
Quoted 9 lines · Xavier Toth
Quoted 7 lines · Christopher J. PeBenito
Quoted 5 lines · Xavier Toth
I'm seeing AVCs related to
netlink_audit_socketwhen the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which usespam_unixwhich in turn runs theunix_chkpwdhelper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possiblyauthlogin_common_auth_domain_template.
Quoted 6 lines
Quoted 3 lines
I'm not 100% clear, is the auditing happening from
unix_chkpwdor the screensaver proper?I'm sure that it is
unix_chkpwdthat is auditing and not gnome-screensaver-dialog.
Is gnome-screensaver-dialog not running the user domain? I would have expected that it was, and that when unix_chkpwd is run, that it transitions to *_unix_chkpwd_t, which should be able to send audit messages.
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.
Quoted 17 lines · Christopher J. PeBenito
Quoted 15 lines · Xavier Toth
Quoted 12 lines · Christopher J. PeBenito
Quoted 6 lines · Xavier Toth
I'm seeing AVCs related to
netlink_audit_socketwhen the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which usespam_unixwhich in turn runs theunix_chkpwdhelper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possiblyauthlogin_common_auth_domain_template.I'm not 100% clear, is the auditing happening from
unix_chkpwdor the screensaver proper?
Quoted 5 lines
Quoted 3 lines
I'm sure that it is
unix_chkpwdthat is auditing and not gnome-screensaver-dialog.Is gnome-screensaver-dialog not running the user domain?
I believe this is true.
Quoted 6 lines
I would have
expected that it was, and that whenunix_chkpwdis run, that it transitions to*_unix_chkpwd_t, which should be able to send audit messages.
You know policy better than I, where is the policy for this?
--
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 24 lines · Ted X Toth
Quoted 16 lines · Christopher J. PeBenito
Quoted 15 lines · Xavier Toth
Quoted 12 lines · Christopher J. PeBenito
Quoted 6 lines · Xavier Toth
I'm seeing AVCs related to
netlink_audit_socketwhen the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which usespam_unixwhich in turn runs theunix_chkpwdhelper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possiblyauthlogin_common_auth_domain_template.I'm not 100% clear, is the auditing happening from
unix_chkpwdor the screensaver proper?Quoted 5 lines
Quoted 3 lines
I'm sure that it is
unix_chkpwdthat is auditing and not gnome-screensaver-dialog.Is gnome-screensaver-dialog not running the user domain?
I believe this is true.
Quoted 7 lines
Quoted 6 lines
I would have
expected that it was, and that whenunix_chkpwdis run, that it transitions to*_unix_chkpwd_t, which should be able to send audit messages.You know policy better than I, where is the policy for this?
In authlogin_per_role_template():
role $3 types $1_chkpwd_t; # Transition from the user domain to this domain. domtrans_pattern($2,chkpwd_exec_t,$1_chkpwd_t)
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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 30 lines · Christopher J. PeBenito
Quoted 29 lines · Ted X Toth
Quoted 12 lines · Christopher J. PeBenito
Quoted 11 lines · Xavier Toth
Quoted 8 lines · Christopher J. PeBenito
Quoted 6 lines · Xavier Toth
I'm seeing AVCs related to
netlink_audit_socketwhen the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which usespam_unixwhich in turn runs theunix_chkpwdhelper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possiblyauthlogin_common_auth_domain_template.Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
I'm not 100% clear, is the auditing happening from
unix_chkpwdor the screensaver proper?I'm sure that it is
unix_chkpwdthat is auditing and not gnome-screensaver-dialog.Is gnome-screensaver-dialog not running the user domain?
I believe this is true.
Quoted 6 lines
I would have
expected that it was, and that whenunix_chkpwdis run, that it transitions to*_unix_chkpwd_t, which should be able to send audit messages.
Quoted 9 lines
Quoted 1 line
You know policy better than I, where is the policy for this?
In
authlogin_per_role_template():role $3 types $1_chkpwd_t; # Transition from the user domain to this domain. domtrans_pattern($2,chkpwd_exec_t,$1_chkpwd_t)
Gnome-clock and other policies are to cover
policykit/hal/dbus interaction where the system debus is doing things on behalf of the logged in user. In this case the latest gnome clock allows a user to specify the timezone that he is in, as well as change the time. So we want policy on the script that is execed by dbus for the user.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkhtODQACgkQrlYvE4MpobPgoQCgtXmqEsGaexePJMro55Vb6/Db oRMAnjRW/GTMEIiBTyGPW/74vB4ZRnvT
=JNQd
-----END PGP SIGNATURE-----
--
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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 34 lines · Xavier Toth
Quoted 9 lines · Christopher J. PeBenito
Quoted 5 lines · Xavier Toth
I'm seeing AVCs related to
netlink_audit_socketwhen the screen saver dialog is run. gnome-screensaver-dialog opens a pam session which usespam_unixwhich in turn runs theunix_chkpwdhelper. I'm thinking that gnome-screensaver-dialog is going to need some policy including possiblyauthlogin_common_auth_domain_template.I'm not 100% clear, is the auditing happening from
unix_chkpwdor the screensaver proper?I'm sure that it is
unix_chkpwdthat is auditing and not gnome-screensaver-dialog.Quoted 8 lines
Quoted 2 lines
Would it be best to add policy for this to gnome or should it have it's own module?
The gnome module is for policies for core gnome components. Unfortunately "core component" isn't really well defined at the moment. But I've been thinking about it since Dan has a gnome clock applet policy since it can set the clock. If we had a better idea what pieces needed their own domain, it'd be easier to make a decision. Something like dbus doesn't fit since its useful outside of gnome.
Yes there may be other gnome apps that need policy but I don't know which at this point.
Quoted 6 lines
--
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
Quoted 4 lines
--
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.
It is the pam library that is calling audit_open, which triggers this avc. You need to dontaudit it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkhtN7sACgkQrlYvE4MpobM8PACbBbESdnuEbdlT6u1fhyiWDSj3 hkQAnRYuulCW0b2GfcPbbnOzxXqn92CI
=4478
-----END PGP SIGNATURE-----
--
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.