vtund server denies connections because /var/lock/vtund directory doesn't exist

Bug #571415 reported by lhotari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vtun (Debian)
Fix Released
Unknown
vtun (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: vtun

Server shows this error message in /var/log/auth.log:
Can't create temp lock file /var/lock/vtund/myvpn

workaround: mkdir /var/lock/vtund
Problem with the workaround is that is doesn't survive reboots. You'll have to add these lines to /etc/init.d/vtund :
if [ ! -d /var/lock/vtund ]; then
        mkdir /var/lock/vtund
fi

---

Package: vtun
Architecture: amd64
Version: 3.0.2-2ubuntu2
Ubuntu version: Lucid RC , 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux

Related branches

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks this will be fixed in maverick and probably make a good sru.

chuck

Changed in vtun (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vtun - 3.0.2-2ubuntu3

---------------
vtun (3.0.2-2ubuntu3) maverick; urgency=low

  * debian/init.d: Create /var/lock/vtund directory. (LP: #571415)
 -- Chuck Short <email address hidden> Fri, 30 Apr 2010 09:53:31 -0400

Changed in vtun (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Stefano Rivera (stefanor) wrote :

Chuck: I don't agree with the change here.

As I said in LP: #598053:

> mkdir /var/lock/vtund || exit 0
>
> That would stop you from being able to "invoke-rc.d vtun start; invoke-rc.d vtun stop". It's a pretty serious bug, really.

Changed in vtun (Debian):
status: Unknown → New
Changed in vtun (Debian):
status: New → Fix Released
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.