Verification-done with netplan.io 0.40.1~18.04.1 on bionic:

ubuntu@new-man:~$ ls -l /run/systemd/network/
total 8
-rw-r--r-- 1 root root  83 Oct  9 17:14 10-netplan-ens6.link
-rw-r--r-- 1 root root 209 Oct  9 17:14 10-netplan-ens6.network
ubuntu@new-man:~$ sudo netplan generate
ubuntu@new-man:~$ ls -l /run/systemd/network/
total 8
-rw-r--r-- 1 root root  83 Oct  9 17:18 10-netplan-ens6.link
-rw-r--r-- 1 root root 209 Oct  9 17:18 10-netplan-ens6.network

After changing UMASK in /etc/login.defs and logging out, logging back
in; I can validate that the files generated by netplan are still written
with mode 644, which allows systemd-networkd to read them. This clearly
deviates from previous behavior of incorrectly honouring UMASK for these
files leading to systemd-networkd being unable to read them.

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1736965

Title:
  "netplan apply" does not set file mode, umask 077 causes systemd-
  networkd to be unable to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1736965/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to