Debian Bug report logs - #1006696
network-manager-openvpn: No warning to the user when some elements from the .ovpn cannot be imported

version graph

Package: network-manager-openvpn; Maintainer for network-manager-openvpn is Utopia Maintenance Team <[email protected]>; Source for network-manager-openvpn is src:network-manager-openvpn (PTS, buildd, popcon).

Reported by: Jonas Andradas <[email protected]>

Date: Wed, 2 Mar 2022 16:57:01 UTC

Severity: wishlist

Found in version network-manager-openvpn/1.8.16-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Utopia Maintenance Team <[email protected]>:
Bug#1006696; Package network-manager-openvpn. (Wed, 02 Mar 2022 16:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jonas Andradas <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Utopia Maintenance Team <[email protected]>. (Wed, 02 Mar 2022 16:57:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Jonas Andradas <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: network-manager-openvpn: No warning to the user when some elements from the .ovpn cannot be imported
Date: Wed, 02 Mar 2022 17:54:32 +0100
Package: network-manager-openvpn
Version: 1.8.16-1
Severity: wishlist
X-Debbugs-Cc: [email protected]

Dear Maintainer,

When importing .ovpn files into network manager, there is no warning or message
whatsoever to the user that some of the elements could not be imported. It
would be desired that, either on the GUI or when using nmcli, if any of the
settings on the .ovpn file are not (or cannot) be imported, these are listed or
at least a warning is shown indicating to the user that they might need to take
additional steps to have their connection behave (or work) on Network Manager
in a similar manner as what they would expect if they were using openvpn
connection.ovpn on the command line.

One obvious example of this could be when the .ovpn file contains "up" or
"down" scripts or commands. Probably some users would like something to be
automagically added into /etc/NetworkManager/dispatcher.d, but since this could
be problematic or hard to do (without taking into account other scripts already
there, or which name will the tun/tap interface will have, etc.), maybe just
showing a message to the user indicating something along the lines of: "Up/Down
scripts in the .ovpn file could not be imported automatically. Please consider
using a script under /etc/NetworkManager/dispatcher.d as necessary (with
reference to the documentation or NetworkManager-dispatcher manpage)"

This issue could be considered somewhat related to issue #818147. However,
since what is being requested is different, I preferred to open a separate
issue on the bug tracker.


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager-openvpn depends on:
ii  adduser          3.118
ii  libc6            2.33-7
ii  libglib2.0-0     2.70.4-1
ii  libnm0           1.36.0-1
ii  network-manager  1.36.0-1
ii  openvpn          2.5.5-1

network-manager-openvpn recommends no packages.

network-manager-openvpn suggests no packages.

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 16:03:19 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.