Public bug reported: If vtun has to accept client connections (thus you're using it as a server), vtund fails to accept connections.
It wants to create a semaphore in /var/lock/vtund/<tunnelname> and fails because /var/lock is a ramdrive and the directory is not created in any script during startup. Inserting "mkdir -p /var/lock/vtund" in /etc/init.d/vtun during start fixes the issue. vtun: Installed: 3.0.2-2ubuntu2 Candidate: 3.0.2-2ubuntu2 Version table: *** 3.0.2-2ubuntu2 0 500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages 100 /var/lib/dpkg/status Description: Ubuntu 10.04.3 LTS Release: 10.04 ** Affects: vtun (Ubuntu) Importance: Undecided Status: New ** Tags: vtun -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/921533 Title: vtun server is not accepting client connections because of missing /var/lock/vtund at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vtun/+bug/921533/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs