After update to Fedora 36 I have a selinux problem with my personal
NetworkManager dispatcher script

Into logs I get this error:

mag 17 12:56:30 dodo.home.solinos.it audit[160270]: AVC avc:  denied  { getattr 
} for  pid=160270 comm="nm-dispatcher" 
path="/etc/NetworkManager/dispatcher.d/15-vpn-disp" dev="dm-1" ino=33588281 
scontext=system_u:system_r:NetworkManager_dispatcher_t:s0 
tcontext=system_u:object_r:NetworkManager_exec_t:s0 tclass=file permissive=0

But if I try set SElinux permission I get this error:

[lesca@dodo Network]$ sudo chcon 
system_u:system_r:NetworkManager_dispatcher_t:s0 
/etc/NetworkManager/dispatcher.d/15-vpn-disp 
chcon: failed to change context of 
'/etc/NetworkManager/dispatcher.d/15-vpn-disp' to 
'system_u:system_r:NetworkManager_dispatcher_t:s0': Permission denied

How to I can enable my dispatcher script execution?

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 36 Workstation)

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to