All of lore.kernel.org
 help / color / mirror / Atom feed
* refpolicy HEAD, Debian, syslogd & setrlimit
@ 2007-12-05 14:13 Václav Ovsík
  2007-12-06 14:28 ` Christopher J. PeBenito
  0 siblings, 1 reply; 3+ messages in thread
From: Václav Ovsík @ 2007-12-05 14:13 UTC (permalink / raw)
  To: selinux; +Cc: selinux-devel

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
-- 
Zito

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: refpolicy HEAD, Debian, syslogd & setrlimit
  2007-12-05 14:13 refpolicy HEAD, Debian, syslogd & setrlimit Václav Ovsík
@ 2007-12-06 14:28 ` Christopher J. PeBenito
  2007-12-06 14:48   ` Daniel J Walsh
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher J. PeBenito @ 2007-12-06 14:28 UTC (permalink / raw)
  To: Václav Ovsík; +Cc: selinux, selinux-devel

On Wed, 2007-12-05 at 15:13 +0100, Václav Ovsík wrote:
> 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:
[...]
>     # 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?

I added this in distro_debian for now, so if someone does put limits, it
will work.

-- 
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: refpolicy HEAD, Debian, syslogd & setrlimit
  2007-12-06 14:28 ` Christopher J. PeBenito
@ 2007-12-06 14:48   ` Daniel J Walsh
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel J Walsh @ 2007-12-06 14:48 UTC (permalink / raw)
  To: Christopher J. PeBenito; +Cc: Václav Ovsík, selinux, selinux-devel

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

Christopher J. PeBenito wrote:
> On Wed, 2007-12-05 at 15:13 +0100, Václav Ovsík wrote:
>> 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:
> [...]
>>     # 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?
> 
> I added this in distro_debian for 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-06 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-05 14:13 refpolicy HEAD, Debian, syslogd & setrlimit Václav Ovsík
2007-12-06 14:28 ` Christopher J. PeBenito
2007-12-06 14:48   ` Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.