after upgade ubuntu from 23.10 to 24.04 no if-up.d script are executed after connecting to openconnect vpn

Bug #2064028 reported by Miroslav Zaťko
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenConnect
New
Undecided
Unassigned
openvpn (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

after upgade ubuntu from 23.10 to 24.04 no if-up.d script are executed after connecting to openvpn

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: openconnect 9.12-1build5
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 28 18:59:24 2024
InstallationDate: Installed on 2022-12-07 (508 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
SourcePackage: openvpn
UpgradeStatus: Upgraded to noble on 2024-04-25 (3 days ago)

Revision history for this message
Miroslav Zaťko (mirec-z) wrote :
affects: ubuntu → openvpn (Ubuntu)
summary: after upgade ubuntu from 23.10 to 24.04 no if-up.d script are executed
- after connecting to openvpn
+ after connecting to openconnect vpn
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openvpn (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks for the bug report.

I am able to reproduce the problem. There are two things to consider here:

1) ifupdown is not part of the default desktop image and as such it needs to be installed anyway.

2) However, even after installing ifupdown, scripts under /etc/network/if-up.d/ don't get executed when an openvpn connection is established.

It's still not clear why this is happening, though.

I am marking this bug as Triaged and adding it to our backlog.

Changed in openvpn (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

It's also worth noting that ifupdown is being slowly deprecated in favour of more modern solutions, like networkd-dispatcher.

Having said that, I tried placing a test script inside /etc/networkd-dispatcher/routable.d/, but it still doesn't work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.