Hello.

When systemd starts openvpn it creates new services dynamically. F.e. if I have /etc/openvpn/test.conf it added as [email protected]

Any changes I do with this service (f.e. 'disable') are lost after reboot.

My vpn connection require password from external token, and it is asked by systemd service start:

systemctl  start openvpn@testservice
Enter Auth Username:

But when computer is rebooted, it hungs for 90 seconds on this service:

systemd[1]: Starting OpenVPN connection to test...
openvpn[760]: Timed out
ovpn-servers[760]: ERROR: could not read Auth username from stdin
systemd[1]: [email protected] start operation timed out. Terminating.
systemd[1]: [email protected]: control process exited, code=exited status=1
systemd[1]: Failed to start OpenVPN connection to servers.
systemd[1]: Unit [email protected] entered failed state.
systemd[1]: [email protected] failed.

I've tried to disable it (and starts later manually: systemctl start [email protected]), but this setting is ignored (because service is autogenerated every time from openvpn config).

Is any way to say systemd (openvpn?) to not start such service at boot?


--
To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to