Skip to contentSkip to conversation

exim (running from cron) attempting to write to logs under system_cron_t

DISCUSSION Luke Kenneth Casson Leighton 1 participant 2 messages Jun 2, 2004 1 message not in the archive SELinux security module

lore
Share & tools
lore
#0 lore raw

hiya russell,

what's this one about?

allow system_crond_t var_log_t:file { append };
#EXE=/usr/sbin/exim NAME=mainlog : append
#EXE=/usr/sbin/exim NAME=mainlog : append

i've installed exim as default, and i've not included the attempts to write to the paniclog as it is banned from writing to mainlog.

exim runs as a cron job and as an inetd.conf entry.

_exim4_ runs as a daemon.

both also run from /etc/ppp/ip-up.d triggers.

i do have cron-3.0pl1-selinux installed (newselinux .deb)

what should i be looking for?

sincerely,

l.

Signature · 15 lines
-- 
expecting email to be received and understood is a bit like
picking up the telephone and immediately dialing without
checking for a dial-tone; speaking immediately without listening
for either an answer or ring-tone; hanging up immediately and
believing that you have actually started a conversation.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 5 lines · Russell Coker
Quoted 4 lines · Luke Kenneth Casson Leighton

hiya russell,

what's this one about?

Quoted 8 lines
Quoted 3 lines

allow system_crond_t var_log_t:file { append };
#EXE=/usr/sbin/exim NAME=mainlog : append
#EXE=/usr/sbin/exim NAME=mainlog : append

There is no policy for Exim. Exim needs some patches for best operation with SE Linux, upstream has agreed to them in concept, someone just needs to implement them. Check the list archives, I think I've summarised what needs to be done if you want to do the coding.

okie.

fuuun :)

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