DescriptionJulian Sikorski
2023-04-20 21:02:24 UTC
Description of problem:
SELinux is preventing request-key from 'execute' accesses on the Datei /usr/sbin/key.dns_resolver.
***** Plugin catchall (100. confidence) suggests **************************
Wenn Sie denken, dass es request-key standardmäßig erlaubt sein sollte, execute Zugriff auf key.dns_resolver file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c 'request-key' --raw | audit2allow -M my-requestkey
# semodule -X 300 -i my-requestkey.pp
Additional Information:
Source Context system_u:system_r:keyutils_request_t:s0
Target Context system_u:object_r:bin_t:s0
Target Objects /usr/sbin/key.dns_resolver [ file ]
Source request-key
Source Path request-key
Port <Unbekannt>
Host (removed)
Source RPM Packages
Target RPM Packages keyutils-1.6.1-6.fc38.x86_64
SELinux Policy RPM selinux-policy-targeted-38.10-1.fc38.noarch
Local Policy RPM selinux-policy-targeted-38.10-1.fc38.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 6.2.11-300.fc38.x86_64 #1 SMP
PREEMPT_DYNAMIC Thu Apr 13 20:27:09 UTC 2023
x86_64
Alert Count 2
First Seen 2023-04-20 22:44:41 CEST
Last Seen 2023-04-20 22:55:04 CEST
Local ID d8b074a2-9d2f-4fbb-b0fe-1a0833190f50
Raw Audit Messages
type=AVC msg=audit(1682024104.255:677): avc: denied { execute } for pid=49143 comm="request-key" name="key.dns_resolver" dev="nvme0n1p6" ino=13159612 scontext=system_u:system_r:keyutils_request_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0
Hash: request-key,keyutils_request_t,bin_t,file,execute
Version-Release number of selected component:
selinux-policy-targeted-38.10-1.fc38.noarch
Additional info:
reporter: libreport-2.17.9
reason: SELinux is preventing request-key from 'execute' accesses on the Datei /usr/sbin/key.dns_resolver.
package: selinux-policy-targeted-38.10-1.fc38.noarch
component: selinux-policy
hashmarkername: setroubleshoot
type: libreport
kernel: 6.2.11-300.fc38.x86_64
component: selinux-policy
I think I have the same issue. I'll attach the output of
sudo ausearch -ts today -sv no >ausearch.txt
to this issue.
This is on F38, 6.2.13-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 27 01:33:30 UTC 2023 x86_64 GNU/Linux.
Created attachment 1961759[details]
Output of "sudo ausearch -ts today -sv no"
There are also some lines relating to the Xerox print driver on this laptop.
Description of problem: SELinux is preventing request-key from 'execute' accesses on the Datei /usr/sbin/key.dns_resolver. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es request-key standardmäßig erlaubt sein sollte, execute Zugriff auf key.dns_resolver file zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # ausearch -c 'request-key' --raw | audit2allow -M my-requestkey # semodule -X 300 -i my-requestkey.pp Additional Information: Source Context system_u:system_r:keyutils_request_t:s0 Target Context system_u:object_r:bin_t:s0 Target Objects /usr/sbin/key.dns_resolver [ file ] Source request-key Source Path request-key Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages keyutils-1.6.1-6.fc38.x86_64 SELinux Policy RPM selinux-policy-targeted-38.10-1.fc38.noarch Local Policy RPM selinux-policy-targeted-38.10-1.fc38.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.2.11-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 13 20:27:09 UTC 2023 x86_64 Alert Count 2 First Seen 2023-04-20 22:44:41 CEST Last Seen 2023-04-20 22:55:04 CEST Local ID d8b074a2-9d2f-4fbb-b0fe-1a0833190f50 Raw Audit Messages type=AVC msg=audit(1682024104.255:677): avc: denied { execute } for pid=49143 comm="request-key" name="key.dns_resolver" dev="nvme0n1p6" ino=13159612 scontext=system_u:system_r:keyutils_request_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0 Hash: request-key,keyutils_request_t,bin_t,file,execute Version-Release number of selected component: selinux-policy-targeted-38.10-1.fc38.noarch Additional info: reporter: libreport-2.17.9 reason: SELinux is preventing request-key from 'execute' accesses on the Datei /usr/sbin/key.dns_resolver. package: selinux-policy-targeted-38.10-1.fc38.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.2.11-300.fc38.x86_64 component: selinux-policy