On Tue, May 17, 2022 at 1:07 PM Dario Lesca <d.le...@solinos.it> wrote:
> 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? > Hi, If the /etc/NetworkManager/dispatcher.d/15-vpn-disp file is not a part of any package, the following command should set the correct label: # restorecon -v /etc/NetworkManager/dispatcher.d/15-vpn-disp but that still may not be sufficient to make the plugin working which depends on resources it requires. This problem will be generally addressed soon. > > 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 > -- Zdenek Pytela Security SELinux team
_______________________________________________ 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