Public bug reported: I reported this on the vpnc-devel mailing list but haven't seen any response: http://lists.unix-ag.uni-kl.de/pipermail/vpnc- devel/2016-August/004199.html
I've attached a patch that fixes the issue (combination of the two patches that I posted to the mailing list). This patch applies cleanly on the source package for vpnc 0.5.3r550-2 ** Affects: vpnc (Ubuntu) Importance: Undecided Status: New ** Patch added: "restore_original_cwd_after_vpnc_main_loop.patch" https://bugs.launchpad.net/bugs/1612100/+attachment/4718887/+files/restore_original_cwd_after_vpnc_main_loop.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1612100 Title: CWD for vpnc-script changes between connect and disconnect calls To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/1612100/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs