While working on https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1934781, I did face a similar issue.
This was triggered when trying to start openvpn with the openvpn- server@.service unit file in a lxc container fetched from the daily- ubuntu:${series} images. The error observed was slightly different though: openvpn_execve: unable to fork: Resource temporarily unavailable (errno=11) The error was observed in bionic, focal, and groovy. The error was __not__ observed in hirsute and impish. The following reports may be relevant here: https://github.com/systemd/systemd/issues/6011 https://lists.linuxcontainers.org/pipermail/lxc-users/2018-June/014329.html To verify the issue was indeed not related to a systemd change, I built the openvpn package version available in hirsute for groovy and installed it in my grovy lxc container. This time, I could __not__ observe the issue. I am attaching a script slightly based on the openvpn autopkgtest suite that can be run from withing a lxc container, which servers as a reproducer for the issue. The script works for anything newer than focal, but would need changes if were to be run in bionic due to recent changes in easy-rsa. ** Bug watch added: github.com/systemd/systemd/issues #6011 https://github.com/systemd/systemd/issues/6011 ** Attachment added: "reproduce_inside_lxc.sh" https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1631104/+attachment/5512551/+files/reproduce_inside_lxc.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631104 Title: The LimitNPROC line in /lib/systemd/system/openvpn@.service has to be commented out in order to be able to start OpenVPN To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1631104/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs