network-manager-applet: stored auto connect VPN gets changed when viewing settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-applet (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Xubuntu 20.04.2 LTS focal
Applet version from network-
Please note: the issue described below only seems to occur when building the applet on my xubuntu 20.04.2 LTS machines. (I have not tried other ubuntu variants).
If I'm on my home xubuntu machine the problem seems to appear whether I'm using the ubuntu package, the ubuntu source archive, the upstream archive, or the upstream source distribution.
The problem does _not_ seem to occur when building the exact same upstream sources in debian using xfce as its window manager. (I have not tried other debian variants).
Experienced
If I open an existing connection with an existing VPN, the selected VPN in the VPN drop down list appears to always show the incorrect VPN. This results in a situation where opening a connection and clicking "save" on the general tab always changes the selected VPN, even if I did not make any change.
Expected
When I open an existing connection, the VPN listed should be the VPN actually on the connection, not some other random VPN from my list
Reproduction Steps
1. Open nm-connection-
2. Add multiple VPNs with different names (i.e. US VPN East, US VPN West, Corp VPN East, Corp VPN Europe, Corp VPN West)
3. Create a connection (I've reproduced this on wireless and wired connections)
4. Set the connection to automatically connect to VPN
5. Choose any VPN to automatically connect to
6. Save and close
7. re-open nm-connection-
8. Edit the same connection created before
9. Note that the automatic VPN has changed to a different VPN in your list without you having to do antying
10. Click save without changing anything
11. re-open network-
12. Note again that the VPN connection is _again_ incorrect
The symptom you should be experiencing is that the VPN that is chosen when you save - gets saved and used by the connection, but the user interface does not display the correct VPN when viewed in the connection editor. This means that any time you edit the connection it might be swapping your selected VPN without your knowledge.
I've created a virutal machine which expresses the bug in Xubuntu 20.04.02 from a fresh install. You'll need to log in as the user "user" with the password "password". In order to experience the bug you'll need to change and save the VPN once, then you should be able to follow the instructions above.
Hopefully having this virtual machine will make it a little easier to identify the cause. I've so far been unable to identify what could possibly be causing it.
The VM export in ova format can be found here:
http:// files.coderjoe. net/Xubuntu. ova