[Bug 1907878] Re: 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
Wed May 18 07:29:25 UTC 2022
This bug was fixed in the package ifupdown - 0.8.36+nmu1ubuntu4
---------------
ifupdown (0.8.36+nmu1ubuntu4) kinetic; urgency=medium
* Remove invalid lines from resolved integration scripts (LP:
#1907878)
-- Heinrich Schuchardt <heinrich.schuchardt at canonical.com> Sun, 15 May
2022 15:35:51 +0200
** Changed in: ifupdown (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1907878
Title:
wrong var declaration in if-up.d/resolved (nm-dispatcher[54417]:
/etc/network/if-up.d/resolved: 12: mystatedir: not found)
Status in ifupdown package in Ubuntu:
Fix Released
Bug description:
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 ...'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1907878/+subscriptions
More information about the foundations-bugs
mailing list