Comment 0 for bug 1907878

Revision history for this message
Jacopo Corbetta (jacopo-arc) wrote :

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 ...'