refpolicy HEAD, Debian, syslogd & setrlimit
Hi,
audit(1196861341.205:26): avc: denied { setrlimit } for pid=2160 comm="cron" scontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=process
There is a content of /etc/pam.d/cron from my Debian Etch:
#
# The PAM configuration file for the cron daemon #
@include common-auth
auth required pam_env.so
@include common-account
@include common-session
# Sets up user limits, please define limits for cron tasks # through /etc/security/limits.conf
session required pam_limits.so
/etc/security/limits.conf
has only comment sections.
Can be rlimit allowed or should be solved this in some other way? Thanks
Signature · 6 lines
Zito -- 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 3 lines · Václav Ovsík
audit(1196861341.205:26): avc: denied { setrlimit } for pid=2160 comm="cron" scontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=process
There is a content of
/etc/pam.d/cronfrom my Debian Etch:
[...]
Quoted 9 lines
# Sets up user limits, please define limits for cron tasks # through
/etc/security/limits.conf
session required pam_limits.so
/etc/security/limits.confhas only comment sections.
Can be rlimit allowed or should be solved this in some other way?
I added this in distro_debian for now, so if someone does put limits, it will work.
Signature · 10 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 9 lines · Christopher J. PeBenito
Quoted 3 lines · Václav Ovsík
audit(1196861341.205:26): avc: denied { setrlimit } for pid=2160 comm="cron" scontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=process
There is a content of
/etc/pam.d/cronfrom my Debian Etch:[...]
Quoted 4 lines
# Sets up user limits, please define limits for cron tasks # through
/etc/security/limits.conf
session required pam_limits.so
Quoted 9 lines
Quoted 5 lines
/etc/security/limits.confhas only comment sections.
Can be rlimit allowed or should be solved this in some other way?
I added this in
distro_debianfor now, so if someone does put limits, it will work.
Seems reasonable for all distributions.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHWAu/rlYvE4MpobMRAkIFAKCB5ObRXtMutenjo3nW0uWIoGbwMwCeK3O+ CeettI1AWzS9LD/kEsU9fcs=
=WfQm
-----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.