[Bug 1047282] SELinux is preventing /usr/bin/perl from 'append' accesses on the file .

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 13 00:20:06 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1047282



--- Comment #12 from Kurt Seifried <kurt at seifried.org> ---
(In reply to Robert Scheck from comment #9)
> I am not sure what to do here exactly...MIMEDefang (which I am using) solves
> this in its initscript like this (but this only works for MIMEDefang):
> 
> --- snipp ---
>     if [ ! -L /var/spool/MIMEDefang/.razor/razor-agent.log ]; then
>         # The Razor2 log is mostly useless, and we can't change its location.
>         # In order to prevent it from filling up the spool, we just link it
> to
>         # /dev/null.
>         ln -sf /dev/null /var/spool/MIMEDefang/.razor/razor-agent.log
>         chown -h defang:defang /var/spool/MIMEDefang/.razor/razor-agent.log
>     fi
> --- snapp ---
> 
> Kurt, any suggestions *how* this should be solved from your point of view?

Logging to syslog is not an option? spamassassin requires Perl SyS::Syslog so
why not just use that and stop worrying about file permissions?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=yTuT8nA2qi&a=cc_unsubscribe



More information about the perl-devel mailing list