It also looks like on 24.04, the if-up.d scripts aren't run at all when
resuming from sleep.
Before 24.04:
- Boot
- My if-up.d script that triggers for "IFACE=wlp0s20f3" gets properly triggered
(it adds an IP alias to this interface using "ip addr add").
- Put ubuntu to sleep
- Resume ubuntu
-
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ifupdown (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064093
Title:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: network-manager (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064093
Triggering if-up.d scripts changed completely without mention in documentation.
For 23.10 scripts was triggered for each network interface separately. On boot
it was with
* PHASE=post-up, IFACE=lo;
* PHASE=post-up, IFACE=virbr0;
* PHASE=post-up, IFACE=enx047bcb671ca9;
* PHASE=post-up,
Thanks Lukas!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064093
Title:
if-up.d files do not have effect on ubuntu 24.04 LTS
To manage notifications about this bug go to:
You filed the bug report against NetworkManager. But the "up.d" hook is
called differently in NM, see https://netplan.io/faq#use-pre-up-post-up-
etc-hook-scripts
If this is about /etc/network/if-up.d then it should be targeted towards
the "ifupdown" package. I'm adding a corresponding bug task.