Il giorno mar, 17/05/2022 alle 19.42 +0200, Zdenek Pytela ha scritto:
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.
Thank Zdenek
I have run the suggested command (with sudo) but none is change
mag 18 01:44:02 dodo.home.solinos.it audit[209723]: AVC avc: denied { execute } for
pid=209723 comm="15-vpn-disp" name="ip" dev="dm-1"
ino=372493 scontext=system_u:system_r:NetworkManager_dispatcher_t:s0
tcontext=system_u:object_r:ifconfig_exec_t:s0 tclass=file permissive=0
mag 18 01:44:02 dodo.home.solinos.it audit[209723]: AVC avc: denied { getattr } for
pid=209723 comm="15-vpn-disp" path="/usr/sbin/ip" dev="dm-1"
ino=372493 scontext=system_u:system_r:NetworkManager_dispatcher_t:s0
tcontext=system_u:object_r:ifconfig_exec_t:s0 tclass=file permissive=0
mag 18 01:44:02 dodo.home.solinos.it audit[209723]: AVC avc: denied { getattr } for
pid=209723 comm="15-vpn-disp" path="/usr/sbin/ip" dev="dm-1"
ino=372493 scontext=system_u:system_r:NetworkManager_dispatcher_t:s0
tcontext=system_u:object_r:ifconfig_exec_t:s0 tclass=file permissive=0
mag 18 01:44:02 dodo.home.solinos.it nm-dispatcher[209723]:
/etc/NetworkManager/dispatcher.d/15-vpn-disp: line 8: /sbin/ip: Permission denied
The 15-vpn-disp script try to add some other routes with /sbin/ip and
add some search strings to DNS with resolvectl, but it fail.
There is some other work around ? (instead "sudo setenforce Permissive") ?
Many thanks
Dario