You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried run0 -u admin which is a wheel user, and sudo from there.
And I tried run0 directly, so root.
in both cases, ostree admin pin 1 failed with a SELinux alert
SELinux hindert (ostree) daran, mit entrypoint-Zugriff auf Datei /usr/bin/ostree zuzugreifen.
***** Plugin catchall (100. Wahrscheinlichkeit) schlägt vor **************
Wenn Sie denken, dass es (ostree) standardmäßig erlaubt sein sollte, entrypoint Zugriff auf ostree file zu erhalten.
Dann sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Ausführen
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c '(ostree)' --raw | audit2allow -M my-ostree
# semodule -X 300 -i my-ostree.pp
zusätzliche Information:
Quellkontext unconfined_u:unconfined_r:unconfined_t:s0-
s0:c0.c1023
Zielkontext system_u:object_r:install_exec_t:s0
Zielobjekte /usr/bin/ostree [ file ]
Quelle (ostree)
Quellpfad (ostree)
Port <Unbekannt>
Host PC
RPM-Pakete der Quelle
RPM-Pakete des Ziels ostree-2025.1-1.fc41.x86_64
SELinux Policy RPM selinux-policy-targeted-41.28-1.fc41.noarch
Local Policy RPM
SELinux aktiviert True
Richtlinientyp targeted
Enforcing-Modus Enforcing
Rechnername PC
Plattform Linux PC 6.12.9-200.fc41.x86_64 #1 SMP
PREEMPT_DYNAMIC Thu Jan 9 16:05:40 UTC 2025
x86_64
Anzahl der Alarme 1
Zuerst gesehen 2025-02-06 21:17:53 CET
Zuletzt gesehen 2025-02-06 21:17:53 CET
Lokale ID 96f849e3-d393-4980-b935-79b17a02dd7e
Raw-Audit-Meldungen
type=AVC msg=audit(1738873073.948:770): avc: denied { entrypoint } for pid=8101 comm="(ostree)" path="/usr/bin/ostree" dev="dm-0" ino=19856620 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:install_exec_t:s0 tclass=file permissive=0
Hash: (ostree),unconfined_t,install_exec_t,file,entrypoint
btw can I make SEtroubleshoot english?
The text was updated successfully, but these errors were encountered:
I tried
run0 -u admin
which is a wheel user, and sudo from there.And I tried
run0
directly, so root.in both cases,
ostree admin pin 1
failed with a SELinux alertbtw can I make SEtroubleshoot english?
The text was updated successfully, but these errors were encountered: