openvpn init.d script writepid in wrong location

Bug #1023325 reported by Leif
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openvpn (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The openvpn init.d script has --writepid at the wrong location. The current location ends up giving the openvpn connection a common /var/run/openvpn.pid instead of /var/run/openvpn.connectionname.pid

--writepid must be after --config

Description: Ubuntu 12.04 LTS
Release: 12.04
Package: openvpn

Please see attached /etc/init.d/openvpn where --writepid has been moved.

Also please see the attached diff.

Tags: patch
Revision history for this message
Leif (leifcr) wrote :
Revision history for this message
Leif (leifcr) wrote :

Fixed version of /etc/init.d/openvpn

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Diff between original and fixed openvpn init.d script" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
James Page (james-page) wrote :

Thanks for taking the time to report this bug in Ubuntu.

I'm using exactly the same version of openvpn found in precise on quantal and I don't see this issue; the pid is created with the VPN connection name correctly.

Which version of openvpn are you using? Note that running the following command:

   sudo apport-bug 1023325

will automatically append the requested information to this bug report.

Marking 'Incomplete' pending your response - please set back to new when you have provided the requested information.

Changed in openvpn (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openvpn (Ubuntu) because there has been no activity for 60 days.]

Changed in openvpn (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Leif (leifcr) wrote :

Using Version: 2.2.1-8ubuntu1

Sorry I didn't answer before, but I didn't see the response.

Revision history for this message
Leif (leifcr) wrote :

I tried again using command line, and by providing --writepid before --config, openvpn won't start properly. By having it after --config it works as expected.

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.