Description of problem: SELinux is preventing rpmdb from 'read' accesses on the lnk_file /etc/resolv.conf. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that rpmdb should be allowed read access on the resolv.conf lnk_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: # ausearch -c 'rpmdb' --raw | audit2allow -M my-rpmdb # semodule -X 300 -i my-rpmdb.pp Additional Information: Source Context system_u:system_r:rpmdb_t:s0 Target Context system_u:object_r:net_conf_t:s0 Target Objects /etc/resolv.conf [ lnk_file ] Source rpmdb Source Path rpmdb Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM <Unknown> Local Policy RPM selinux-policy-targeted-3.14.6-30.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.8.18-300.fc33.x86_64 #1 SMP Mon Nov 2 19:09:05 UTC 2020 x86_64 x86_64 Alert Count 4 First Seen 2020-11-15 00:10:34 CET Last Seen 2020-11-16 19:21:04 CET Local ID 7a118198-8a8c-4dbf-a6ee-3ed506c7bc7f Raw Audit Messages type=AVC msg=audit(1605550864.362:116): avc: denied { read } for pid=792 comm="rpmdb" name="resolv.conf" dev="dm-0" ino=1048950 scontext=system_u:system_r:rpmdb_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=lnk_file permissive=0 Hash: rpmdb,rpmdb_t,net_conf_t,lnk_file,read Additional info: component: selinux-policy reporter: libreport-2.14.0 hashmarkername: setroubleshoot kernel: 5.8.18-300.fc33.x86_64 type: libreport
This seems to be a more generic problem. I've already submitted a Fedora PR to address the issue: https://github.com/fedora-selinux/selinux-policy/pull/476
Similar problem has been detected: This appeared after upgrading from F32 to F33. hashmarkername: setroubleshoot kernel: 5.9.9-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-30.fc33.noarch reason: SELinux is preventing rpmdb from 'read' accesses on the lnk_file /etc/resolv.conf. type: libreport
The pull request has been merged.
Similar problem has been detected: I saw this warning the first time that I booted Fedora 33 after an upgrade from Fedora 32. hashmarkername: setroubleshoot kernel: 5.9.10-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-30.fc33.noarch reason: SELinux is preventing rpmdb from 'read' accesses on the lnk_file /etc/resolv.conf. type: libreport
Similar problem has been detected: upgraded from Fedora 32 to 33....rebooted...logged in to xfce...then notified of bug...no idea what caused it hashmarkername: setroubleshoot kernel: 5.9.11-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-30.fc33.noarch reason: SELinux is preventing rpmdb from 'read' accesses on the lnk_file resolv.conf. type: libreport
FEDORA-2020-aff0be81b3 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-aff0be81b3
FEDORA-2020-aff0be81b3 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-aff0be81b3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-aff0be81b3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-aff0be81b3 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
Similar problem has been detected: Did system update F32 to 33. Restarted (it installed), it restarted, presented with this error. hashmarkername: setroubleshoot kernel: 5.9.13-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-31.fc33.noarch reason: SELinux is preventing rpmdb from 'read' accesses on the lnk_file /etc/resolv.conf. type: libreport
Similar problem has been detected: when installing zotero-snap with the instructions from here; https://snapcraft.io/install/zotero-snap/fedora this SElinux notification pops up hashmarkername: setroubleshoot kernel: 5.9.16-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-33.fc33.noarch reason: SELinux is preventing rpmdb from 'read' accesses on the lnk_file /etc/resolv.conf. type: libreport
*** Bug 1912453 has been marked as a duplicate of this bug. ***
Similar problem has been detected: Got this after system-upgrade to 33 hashmarkername: setroubleshoot kernel: 5.9.16-200.fc33.x86_64 package: selinux-policy-targeted-3.14.6-33.fc33.noarch reason: SELinux is preventing rpmdb from 'read' accesses on the lnk_file /etc/resolv.conf. type: libreport