Description of problem: This happened when my virt-manager VM crashed. SELinux is preventing /usr/bin/gdb from 'open' accesses on the file /var/lib/rpm/Packages. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gdb should be allowed open access on the Packages 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 gdb /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:svirt_t:s0:c103,c609 Target Context system_u:object_r:rpm_var_lib_t:s0 Target Objects /var/lib/rpm/Packages [ file ] Source gdb Source Path /usr/bin/gdb Port <Unknown> Host (removed) Source RPM Packages gdb-7.8.2-38.fc21.x86_64 Target RPM Packages rpm-4.12.0.1-4.fc21.x86_64 Policy RPM selinux-policy-3.13.1-105.5.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.18.8-201.fc21.x86_64 #1 SMP Fri Feb 27 18:18:27 UTC 2015 x86_64 x86_64 Alert Count 1 First Seen 2015-03-05 16:13:56 CET Last Seen 2015-03-05 16:13:56 CET Local ID 0c558173-7e58-4e4d-8c1d-02843817dae5 Raw Audit Messages type=AVC msg=audit(1425568436.285:1762): avc: denied { open } for pid=8307 comm="gdb" path="/var/lib/rpm/Packages" dev="dm-2" ino=3947375 scontext=system_u:system_r:svirt_t:s0:c103,c609 tcontext=system_u:object_r:rpm_var_lib_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1425568436.285:1762): arch=x86_64 syscall=open success=yes exit=ECHILD a0=1fe6a30 a1=0 a2=0 a3=11f items=0 ppid=8303 pid=8307 auid=4294967295 uid=107 gid=107 euid=107 suid=107 fsuid=107 egid=107 sgid=107 fsgid=107 tty=(none) ses=4294967295 comm=gdb exe=/usr/bin/gdb subj=system_u:system_r:svirt_t:s0:c103,c609 key=(null) Hash: gdb,svirt_t,rpm_var_lib_t,file,open Version-Release number of selected component: selinux-policy-3.13.1-105.5.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.8-201.fc21.x86_64 type: libreport Potential duplicate: bug 1021795
Same issue like https://bugzilla.redhat.com/show_bug.cgi?id=1021795.
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is 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 change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. 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.