[Bug 1736965] Re: "netplan apply" does not set file mode, umask 077 causes systemd-networkd to be unable to start

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Wed Sep 5 20:40:48 UTC 2018


** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: netplan.io (Ubuntu)
       Status: New => In Progress

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

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

Status in netplan.io package in Ubuntu:
  In Progress
Status in nplan package in Ubuntu:
  Confirmed

Bug description:
  If you set your UMASK in /etc/login.defs to 077 then after running "netplan apply" systemd-networkd won't be able to read its configuration files and start:
  systemd-networkd[2826]: Could not load configuration files: Permission denied

  Annoyingly to report such a thing as bug you need a proper network
  connection with working DNS before you submit in ubuntu-bug or it will
  just quit and lose the report. A workaround seems to be to run
  "ubuntu-bug nplan" then in another terminal run "umask 022" then
  "netplan apply" before submitting.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: nplan 0.30
  ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
  Uname: Linux 4.13.0-17-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.5
  Architecture: amd64
  Date: Thu Dec  7 10:20:37 2017
  ProcEnviron:
   LANGUAGE=en_CA:en
   TERM=screen
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: nplan
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list