Connection failed: Failed to create file due to missing directory

Bug #1791996 reported by Paul Smith on 2018-09-11
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager-fortisslvpn (Ubuntu)
Low
Unassigned
Bionic
Low
Unassigned

Bug Description

* Impact
The plug fails to do anything because it can't write on disk

* Test case
set up a VPN interface using fortissl, it should not error out

* Regression potential
there is no code change, the packaging just create the /var directory needed by the code, that shouldn't have any impact since that directory didn't exist before

-----------------------------------

I'm using Ubuntu 18.04.1 LTS with network-manager-fortisslvpn 1.2.8-1build1 installed.

To do this I simply ran "sudo apt install network-manager-fortisslvpn-gnome".

After setting up a VPN interface using this plugin, attempting to connect fails immediately and using journalctl I can see this error message:

Sep 11 14:05:06 homebase NetworkManager[900]: <warn> [1536689106.6238] vpn-connection[<p>,<uid>,"VPN1",0]: VPN connection: failed to connect: 'Failed to create file “/var/lib/NetworkManager-fortisslvpn/<uuid>.config.<ext>”: No such file or directory'

After running "sudo mkdir /var/lib/NetworkManager-fortisslvpn" by hand, then I was able to get past this error.

Sebastien Bacher (seb128) wrote :

That has been fixed in https://launchpad.net/ubuntu/+source/network-manager-fortisslvpn/1.2.8-2

I'm uploaded a fix to bionic as a SRU

Changed in network-manager-fortisslvpn (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
description: updated

Hello Paul, or anyone else affected,

Accepted network-manager-fortisslvpn into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/network-manager-fortisslvpn/1.2.8-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in network-manager-fortisslvpn (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Changed in network-manager-fortisslvpn (Ubuntu Bionic):
importance: Undecided → Low

The fix for this bug has been awaiting testing feedback in the -proposed repository for bionic for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

tags: added: removal-candidate
Sebastien Bacher (seb128) wrote :

I don't have a VPN to test that plugin but things keep working fine with 1.2.8-1ubuntu1 installed, the change is a trivial packaging one, no regression was reported and the plugin was not working before, marking as verified

tags: added: verification-done verification-done-bionic
removed: removal-candidate verification-needed verification-needed-bionic
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-fortisslvpn - 1.2.8-1ubuntu1

---------------
network-manager-fortisslvpn (1.2.8-1ubuntu1) bionic; urgency=medium

  * debian/network-manager-fortisslvpn.install:
    - create the /var/lib/NetworkManager-fortisslvpn directory,
      without that the plugin fails to do anything (lp: #1791996)

 -- Sebastien Bacher <email address hidden> Thu, 31 Jan 2019 12:28:42 +0100

Changed in network-manager-fortisslvpn (Ubuntu Bionic):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for network-manager-fortisslvpn has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

Other bug subscribers