Skip to contentSkip to conversation

unconfined_cronjob_t et al

refpolicy Russell Coker 3 participants 4 messages Aug 18, 2011 – Aug 23, 2011

lore
Share & tools
lore
#0 lore raw

Is anyone actually making use of domains such as unconfined_cronjob_t?

Is there any reason why I shouldn't just unilaterally remove them from the Debian policy for Squeeze regardless of what Red Hat and upstream are doing?

It seems to me that using a different domain for cron jobs causes pain with no gain.

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
#1 lore raw
Quoted 3 lines · Russell Coker

Is there any reason why I shouldn't just unilaterally remove them from the Debian policy for Squeeze regardless of what Red Hat and upstream are doing?

Sorry I meant to say Wheezy not Squeeze. I'm not making big changes for Squeeze.

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
#2 lore raw
In reply to Russell Coker

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 10 lines · Russell Coker

Is anyone actually making use of domains such as
unconfined_cronjob_t?

Is there any reason why I shouldn't just unilaterally remove them from the Debian policy for Squeeze regardless of what Red Hat and upstream are doing?

It seems to me that using a different domain for cron jobs causes pain with no gain.

I don't think so. I believe cronjobs in Red Hat os's are running cronjobs as the usertype. I would say this should just be removed.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5OOxkACgkQrlYvE4MpobMmlACcCDzLvpMW7LQ+BQPcxQtMrgYR hsUAoNehIAV+dNUWPtI0tAEAyHrfk2bn
=xqvS
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 8 lines · Daniel J Walsh
Quoted 6 lines · Russell Coker

Is anyone actually making use of domains such as
unconfined_cronjob_t?

Is there any reason why I shouldn't just unilaterally remove them from the Debian policy for Squeeze regardless of what Red Hat and upstream are doing?

Quoted 6 lines
Quoted 2 lines

It seems to me that using a different domain for cron jobs causes pain with no gain.

I don't think so. I believe cronjobs in Red Hat os's are running cronjobs as the usertype. I would say this should just be removed.

I don't see any objections, so I'll take a patch that eliminates the role-derived cronjob domains, including unconfined_cronjob_t. That would only leave the system_cronjob_t domain for running jobs out of /etc/cron*. User cronjobs would run out of the user's actual domain. The userspace files (eg default_contexts) files would need to be updated too.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com