[Bug 1907878] [NEW] wrong var declaration in if-up.d/resolved (nm-dispatcher[54417]: /etc/network/if-up.d/resolved: 12: mystatedir: not found)

Launchpad Bug Tracker 1907878 at bugs.launchpad.net
Thu Sep 15 15:37:39 UTC 2022


You have been subscribed to a public bug by Matthieu Clemenceau (mclemenceau):

Syslog error:

   nm-dispatcher[...]: /etc/network/if-up.d/resolved: 12: mystatedir:
not found

I think it's because of this line:

  if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then
      mystatedir statedir ifindex interface             <------------- this is interpreted as a 'mystatedir' command and fails

      interface=$IFACE
      if [ ! "$interface" ]; then


Perhaps the intention was to 'export mystatedir statedir ...'

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
     Assignee: Heinrich Schuchardt (xypron)
         Status: Fix Released

** Affects: ifupdown (Ubuntu Jammy)
     Importance: Medium
         Status: Triaged

-- 
wrong var declaration in if-up.d/resolved (nm-dispatcher[54417]: /etc/network/if-up.d/resolved: 12: mystatedir: not found)
https://bugs.launchpad.net/bugs/1907878
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.



More information about the foundations-bugs mailing list