logrotate and /var/log/rpmpkgs ....

Tom London selinux at gmail.com
Sun Sep 30 17:29:04 UTC 2007


Running latest Rawhide, targeted/enforcing.

When cron runs logrotate, I get AVC on access to /var/log/rpmpkgs:

type=AVC msg=audit(1191172944.569:41): avc:  denied  { getattr } for
pid=6581 comm="logrotate" path="/var/log/rpmpkgs" dev=dm-0 ino=99163
scontext=system_u:system_r:logrotate_t:s0
tcontext=system_u:object_r:root_t:s0 tclass=file
type=SYSCALL msg=audit(1191172944.569:41): arch=40000003 syscall=195
success=no exit=-13 a0=8931228 a1=bfa7b320 a2=5b67ff4 a3=0 items=0
ppid=6579 pid=6581 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0
egid=0 sgid=0 fsgid=0 tty=(none) comm="logrotate"
exe="/usr/sbin/logrotate" subj=system_u:system_r:logrotate_t:s0
key=(null)

Should there be a directory in /var/log for these logs (with the
appropriate label)?

tom
-- 
Tom London




More information about the fedora-selinux-list mailing list