Thinking about an extension to the cron patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm currently trying to get the SE Linux patches from Russell's homepage into upstream via the Debian BTS.
I already had a mail conversation with the cron maintainer about some changes to the patch. The patch is now a little smaller, because we don't need the *system* hack any more.
But we are also thinking about another change. In the system crontab's, there are the users. We could split them with a delimiter like :
and allow to set the SE Linux user for this line. As long this isn't used, the jobs run under system_u. With this change, we could clean up the crond policy. I don't feel very good allowing all system cronjobs all this. Also it would allow to get these policy parts back into the package policies owning these jobs.
Regards
Torsten
- --
Domain in provider transition, hope for smoothness. Planed date is 24.7.2003 pub 1024D/4CD29A2C 2001-01-12 Torsten Knodt <[email protected]>
Schl.-Fingerabdruck = A2B1 C626 F819 7C58 B2F9 4F4C BF16 64B6 4CD2 9A2C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+x6GUvxZktkzSmiwRAj+sAJ9ZD3hMvH0EjPKbejunBJQ7vu0D3gCfavQt 7rLt7ddM3iMFQIxMa8co8iI=
=ZDLL
-----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.
Quoted 13 lines · Torsten Knodt
I'm currently trying to get the SE Linux patches from Russell's homepage into upstream via the Debian BTS.
I already had a mail conversation with the cron maintainer about some changes to the patch. The patch is now a little smaller, because we don't need the *system* hack any more.
But we are also thinking about another change. In the system crontab's, there are the users. We could split them with a delimiter like :
and allow to set the SE Linux user for this line. As long this isn't used, the jobs run undersystem_u. With this change, we could clean up the crond policy. I don't feel very good allowing all system cronjobs all this. Also it would allow to get these policy parts back into the package policies owning these jobs.
Rather than specifying different SELinux users, why not just specify the domain for the system cron job? If the cron job is started in a given domain, then you can control the set of domains to which it can transition based purely on the TE configuration. You don't need to place them into separate user identities or roles.
Also, please note that the SELinux API is undergoing significant changes as part of integration into mainline 2.5, so the patches for the daemons and utilities are also being reworked. You can get a reasonably current snapshot of the ongoing 2.5 work from http://www.nsa.gov/selinux/lk; in particular, see the API being exported by libselinux from selinux-2.5.tgz.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- 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 10 lines
Quoted 10 lines
I already had a mail conversation with the cron maintainer about some changes to the patch. The patch is now a little smaller, because we don't need the *system* hack any more.
But we are also thinking about another change. In the system crontab's, there are the users. We could split them with a delimiter like : and allow to set the SE Linux user for this line. As long this isn't used, the jobs run undersystem_u. With this change, we could clean up the crond policy. I don't feel very good allowing all system cronjobs all this. Also it would allow to get these policy parts back into the package policies owning these jobs.
Quoted 2 lines
Rather than specifying different SELinux users, why not just specify the domain for the system cron job?
Sorry, that's what I wanted to say. I thought one thing and wrote the other.
Quoted 6 lines
Also, please note that the SELinux API is undergoing significant changes as part of integration into mainline 2.5, so the patches for the daemons and utilities are also being reworked. You can get a reasonably current snapshot of the ongoing 2.5 work from http://www.nsa.gov/selinux/lk; in particular, see the API being exported by libselinux from selinux-2.5.tgz.
Russell already pointed out this to me. I'm currently working on a 2.5 test environment for me.
Regards
Torsten
- --
Domain in provider transition, hope for smoothness. Planed date is 24.7.2003 pub 1024D/4CD29A2C 2001-01-12 Torsten Knodt <[email protected]>
Schl.-Fingerabdruck = A2B1 C626 F819 7C58 B2F9 4F4C BF16 64B6 4CD2 9A2C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+yRcmvxZktkzSmiwRAgSOAJ4mBVSNBnOIrPA5D6QX8G3r50Nu4gCffpkV FmOQZezY8hpnn4kY3hE+bHk=
=MAVH
-----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.