Hide Forgot
SELinux is preventing /bin/cp from 'write' accesses on the file /etc/munin/templates/logo.png. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that cp should be allowed write access on the logo.png file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep cp /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:munin_t:s0-s0:c0.c1023 Target Context system_u:object_r:munin_etc_t:s0 Target Objects /etc/munin/templates/logo.png [ file ] Source cp Source Path /bin/cp Port <Unknown> Host (removed) Source RPM Packages coreutils-8.10-2.fc15 Target RPM Packages munin-1.4.5-8.fc15 Policy RPM selinux-policy-3.9.16-34.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.6-26.rc1.fc15.i686.PAE #1 SMP Mon May 9 20:36:50 UTC 2011 i686 i686 Alert Count 2 First Seen Fri 29 Jul 2011 01:00:48 AM MST Last Seen Fri 29 Jul 2011 01:00:48 AM MST Local ID f6e82671-5f94-49d0-8ea4-4075a96236a1 Raw Audit Messages type=AVC msg=audit(1311926448.442:341): avc: denied { write } for pid=13128 comm="cp" path="/etc/munin/templates/logo.png" dev=dm-1 ino=1974321 scontext=system_u:system_r:munin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:munin_etc_t:s0 tclass=file type=SYSCALL msg=audit(1311926448.442:341): arch=i386 syscall=ioctl success=no exit=EACCES a0=3 a1=c020660b a2=bfaf86cc a3=bfaf9930 items=0 ppid=13124 pid=13128 auid=488 uid=488 gid=484 euid=488 suid=488 fsuid=488 egid=484 sgid=484 fsgid=484 tty=(none) ses=20 comm=cp exe=/bin/cp subj=system_u:system_r:munin_t:s0-s0:c0.c1023 key=(null) Hash: cp,munin_t,munin_etc_t,file,write audit2allow #============= munin_t ============== allow munin_t munin_etc_t:file write; audit2allow -R #============= munin_t ============== allow munin_t munin_etc_t:file write;
Did this happen during starting the munin service?
Why does munin write to /etc/munin?
Odd. I have no idea why it would off hand. Was this as service start time? or during a munin cron run? or ?
This was encountered when trying to update a munin cron run.
Well, what it should be doing is copying _from_ there to /var/www... 15375 execve("/bin/cp", ["cp", "/etc/munin/templates//logo.png", "/var/www/html/munin/"], [/* 70 vars */]) = 0 can you provide: rpm -q munin munin-node rpm -V munin ls -lRZ /var/www/html/munin/
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping