Description of problem: vdsm logs in /var/spool/mail/root with the following message details. To: root.eng.blr.redhat.com Subject: Cron <root@rhs-client24> run-parts /etc/cron.hourly Content-Type: text/plain; charset=UTF-8 Auto-Submitted: auto-generated Precedence: bulk X-Cron-Env: <XDG_SESSION_ID=52> X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0> X-Cron-Env: <LANG=en_US.UTF-8> X-Cron-Env: <SHELL=/bin/bash> X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin> X-Cron-Env: <MAILTO=root> X-Cron-Env: <HOME=/root> X-Cron-Env: <LOGNAME=root> X-Cron-Env: <USER=root> Message-Id: <20150514053101.6F1DF801AC5C.eng.blr.redhat.com> Date: Thu, 14 May 2015 11:01:01 +0530 (IST) /etc/cron.hourly/vdsm-logrotate: error: error opening /var/log/core/core.25201.1431495374.dump: Permission denied error: error opening /var/log/core/core.4944.1431000847.dump: Permission denied Version-Release number of selected component (if applicable): vdsm-4.17.0-785.git4db8ccb.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Attaching vdsm and engine logs. http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1221464/
what's ls -lZ /var/log/core/core.4944.1431000847.dump ? Do you something of relevant in audit.log?
ls -lZ /var/log/core/core.4944.1431000847.dump -rw-------. root root system_u:object_r:virt_cache_t:s0 /var/log/core/core.4944.1431000847.dump I see the below AVC in the audit.log but not very sure if this is relevant. copying the audit.log file to the link mentioned in comment 1. type=AVC msg=audit(1431598677.313:1084): avc: denied { getattr } for pid=18593 comm="glusterd" path="/dev/random" dev="devtmpfs" ino=1032 scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file type=AVC msg=audit(1431596257.010:1063): avc: denied { getattr } for pid=18593 comm="glusterd" path="/dev/random" dev="devtmpfs" ino=1032 scontext= system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file
The AVCs are unrelated to the coredumps, but to /dev/random. They should be reported as glusterd bugs. what is your `getenforce`? do you see any mention of logrotate or the core dumps on audit.log?
getenforce Permissive I do not see any mention of logrotate or core dumps on audit.log
Hi, is this bug reproducible ? can you please provide steps that lead to it so I check better?
This is an automated message. oVirt 3.6.0 RC1 has been released. This bug has no target release and still have target milestone set to 3.6.0-rc. Please review this bug and set target milestone and release to one of the next releases.
I'm quite convinced that this issue is a duplication of Bug 1265547. Therefore closing it as DUP, please re-open if I'm wrong. There are no steps for in the description that I can try to verify myself. *** This bug has been marked as a duplicate of bug 1265547 ***