but, i came across this situation while installing QuBes with a disposable sys-net
i edited the config files using NetworkManager on ‘sys-net’ (removed the hardware details) and copied those files to the Disposable template (dvm-sys-net)
As described in the first portion of this forum posting:
the issue
while i am able to copy the config files to dvm-sys-net
And, for some reason, the /run/config in dvm-sys-dev seems to have resolved itself;
Truth be told, there were changes to the permissions and ownership of the files as [ root:root , 0600 ]
thus, in dvm-sys-net :
[user@dvm-sys-net ~]$ sudo ls -lah /etc/NetworkManager/
total 32K
drwxr-xr-x. 7 root root 4.0K Dec 23 09:25 .
drwxr-xr-x. 119 root root 4.0K Dec 29 10:20 ..
-rw-r--r--. 1 root root 2.3K Dec 23 09:25 NetworkManager.conf
drwxr-xr-x. 2 root root 4.0K Jun 23 2024 conf.d
drwxr-xr-x. 5 root root 4.0K Dec 23 09:25 dispatcher.d
drwxr-xr-x. 2 root root 4.0K Jun 23 2024 dnsmasq-shared.d
drwxr-xr-x. 2 root root 4.0K Jun 23 2024 dnsmasq.d
drwxr-xr-x. 2 root root 4.0K Jun 23 2024 system-connections
[user@dvm-sys-net ~]$ sudo ls -lah /rw/config/NM-system-connections/
total 16K
drw-------. 2 root root 4.0K Dec 28 13:38 .
drwxr-xr-x. 3 root root 4.0K Sep 3 14:27 ..
-rw-------. 1 root root 289 Dec 29 09:26 wifi-New.nmconnection
-rw-------. 1 root root 289 Dec 29 09:26 wifi-Old.nmconnection
Thanks to your suggestions, dvm-sys-net appears to be solved after files & directories permissions were fixed as per warn found in journalctrl
outstanding issue
sys-net is not using the config ((*.nmconnection)) files due permissions ?
You had this issue because you moved both files from another qube, which changed their labels to something else related to the qube’s unpacker binary used to exchange files between qubes.
Since SELinux is strict about what services can access what, NetworkManager couldn’t access the two configuration files because they weren’t labeled with its own labels. restorecon restored the labels to the correct NetworkManager_etc_rw_t label, which allowed NetworkManager to access them.