2020-12-12 09:11:28 |
Jacopo Corbetta |
bug |
|
|
added bug |
2021-01-18 11:47:11 |
Ian Young |
bug |
|
|
added subscriber Ian Young |
2021-01-18 11:47:19 |
Launchpad Janitor |
ifupdown (Ubuntu): status |
New |
Confirmed |
|
2021-03-30 12:57:35 |
Jim! |
bug |
|
|
added subscriber Jim! |
2021-05-08 05:44:34 |
zyf0330 |
bug |
|
|
added subscriber zhuisui |
2021-05-21 10:53:07 |
Anatoly Borodin |
bug |
|
|
added subscriber Anatoly Borodin |
2021-06-16 15:09:39 |
bradleee |
bug |
|
|
added subscriber bradleee |
2021-08-31 16:20:05 |
David R. Hedges |
bug |
|
|
added subscriber David R. Hedges |
2021-11-10 12:04:05 |
Krešo Kunjas |
bug |
|
|
added subscriber Krešo Kunjas |
2022-02-17 12:39:06 |
Didi Kohen |
bug |
|
|
added subscriber Didi Kohen |
2022-02-22 12:37:23 |
Laurent Salle |
bug |
|
|
added subscriber Laurent Salle |
2022-02-28 10:20:44 |
Walter Schneider |
bug |
|
|
added subscriber Walter Schneider |
2022-03-29 17:47:13 |
Laurent Simon |
bug |
|
|
added subscriber Laurent Simon |
2022-04-29 13:51:32 |
Julien Olivier |
bug |
|
|
added subscriber Julien Olivier |
2022-05-15 14:09:15 |
Heinrich Schuchardt |
attachment added |
|
ifupdown-0.8.36+nmu1ubuntu4.debdiff https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1907878/+attachment/5589837/+files/ifupdown-0.8.36+nmu1ubuntu4.debdiff |
|
2022-05-15 14:09:31 |
Heinrich Schuchardt |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2022-05-17 14:06:25 |
Sebastien Bacher |
ifupdown (Ubuntu): status |
Confirmed |
Fix Committed |
|
2022-05-17 14:06:46 |
Sebastien Bacher |
ifupdown (Ubuntu): assignee |
|
Heinrich Schuchardt (xypron) |
|
2022-05-17 14:06:49 |
Sebastien Bacher |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2022-05-18 07:29:25 |
Launchpad Janitor |
ifupdown (Ubuntu): status |
Fix Committed |
Fix Released |
|
2022-05-30 09:59:59 |
Andrea C G Mennucci |
bug |
|
|
added subscriber Andrea C G Mennucci |
2022-08-19 09:54:26 |
Markitos Hoppus |
bug |
|
|
added subscriber Markitos Hoppus |
2022-08-21 16:17:39 |
Travis Jones |
bug |
|
|
added subscriber Travis Jones |
2022-09-09 17:53:19 |
Brian Murray |
nominated for series |
|
Ubuntu Jammy |
|
2022-09-09 17:53:19 |
Brian Murray |
bug task added |
|
ifupdown (Ubuntu Jammy) |
|
2022-09-09 17:53:26 |
Brian Murray |
ifupdown (Ubuntu Jammy): status |
New |
Triaged |
|
2022-09-09 17:53:30 |
Brian Murray |
ifupdown (Ubuntu Jammy): importance |
Undecided |
Medium |
|
2022-09-09 17:55:40 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Foundations Team |
2022-09-15 15:37:39 |
Matthieu Clemenceau |
bug |
|
|
added subscriber Ubuntu Foundations Bugs |
2022-09-15 15:37:43 |
Matthieu Clemenceau |
removed subscriber Ubuntu Foundations Team |
|
|
|
2022-10-11 17:14:34 |
Paul Wright |
attachment added |
|
Sum of patches I've seen so far plus name change https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1907878/+attachment/5623083/+files/syntax-errors.patch |
|
2022-10-12 08:41:31 |
Lukas Märdian |
tags |
|
foundations-triage-discuss |
|
2022-10-13 15:46:52 |
Lukas Märdian |
removed subscriber Ubuntu Foundations Bugs |
|
|
|
2022-10-13 15:46:57 |
Lukas Märdian |
tags |
foundations-triage-discuss |
|
|
2022-12-28 10:09:58 |
Frederick Zhang |
bug |
|
|
added subscriber Frederick Zhang |
2023-03-21 11:13:47 |
Jorge Rodríguez |
bug |
|
|
added subscriber Jorge Rodríguez |
2023-05-24 23:42:44 |
Ted Cabeen |
bug |
|
|
added subscriber Ted Cabeen |
2023-08-15 14:37:10 |
Joao Andre Simioni |
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 ...' |
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 ...'
SRU for Jammy:
[ Impact ]
* /etc/network/if-{up,down}.d/resolved have a mistype:
mystatedir statedir ifindex interface
And when this line is executed, mystatedir is not found (not a valid command)
and it generates an error log in /var/log/syslog and the terminal output.
It's not fatal, and the rest of the code gets executed, but it generates the
message.
# ifup ens3
/etc/network/if-up.d/resolved: 12: mystatedir: not found
# ifdown ens3
/etc/network/if-down.d/resolved: 12: mystatedir: not found
The fix accepted in kinetic is only to remove this line. The same fix can be
applied to Jammy.
[ Test Plan ]
With the new package installed, remove netplan configuration and add a valid
/etc/network/interfaces file and then use the commands:
# ifdown <interface>
# ifup <interface>
And confirm the messages are not displayed and the network configuration
succeeds.
[ Where problems could occur ]
If mystatedir would be a valid command or function, which is not the case,
that could break the script. |
|
2023-08-15 14:38:16 |
Joao Andre Simioni |
attachment added |
|
ifupdown-0.8.36+nmu1ubuntu4-jammy.debdiff https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1907878/+attachment/5692444/+files/ifupdown-0.8.36+nmu1ubuntu4-jammy.debdiff |
|
2023-08-15 14:45:02 |
Joao Andre Simioni |
ifupdown (Ubuntu Jammy): assignee |
|
Joao Andre Simioni (jasimioni) |
|
2023-08-15 14:45:07 |
Joao Andre Simioni |
ifupdown (Ubuntu Jammy): status |
Triaged |
In Progress |
|
2023-08-15 14:45:47 |
Joao Andre Simioni |
bug |
|
|
added subscriber Support Engineering Sponsors |
2023-08-15 14:47:32 |
Heitor Alves de Siqueira |
tags |
|
se-sponsor-halves |
|
2023-08-15 14:47:39 |
Heitor Alves de Siqueira |
bug |
|
|
added subscriber Heitor Alves de Siqueira |
2023-08-15 20:05:50 |
Markitos Hoppus |
removed subscriber Markitos Hoppus |
|
|
|
2023-10-20 16:10:31 |
Timo Aaltonen |
ifupdown (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2023-10-20 16:10:32 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-10-20 16:10:34 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2023-10-20 16:10:42 |
Timo Aaltonen |
tags |
se-sponsor-halves |
se-sponsor-halves verification-needed verification-needed-jammy |
|
2023-11-13 18:05:12 |
Heitor Alves de Siqueira |
tags |
se-sponsor-halves verification-needed verification-needed-jammy |
se-sponsor-halves verification-done verification-done-jammy |
|
2023-11-22 21:02:48 |
Pedro Principeza |
bug |
|
|
added subscriber Pedro Principeza |
2023-11-29 00:04:08 |
Launchpad Janitor |
ifupdown (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-11-29 00:04:14 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|