I used to have a config for openvpn. After upgrading to 18.04 it started behaving differently in relation to systemd, my syslog gets continuously spammed with connection attempts:
ovpn-login: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/login.conf ovpn-login: Use --help for more information. systemd: email@example.com: Main process exited, code=exited, status=1/FAILURE systemd: firstname.lastname@example.org: Failed with result 'exit-code'.
The login.conf does not exist and should not exist - I want to clean this up and get rid of the entry so it stops trying to connect to a service that doesn't exist.
systemctl kill email@example.com,
systemctl disable firstname.lastname@example.org both with
systemctl daemon-reload afterwards to no avail.
However, there is no file that matches email@example.com anywhere, it is templated from
Presumably I need to keep that file around should I want to add some VPN configs in the future. I did try removing it and doing
systemctl daemon-reload as per an answer elsewhere on StackExchange, again, to no avail.
How do I get rid of this spurious systemd configuration entry?
Edit: even after
apt purge openvpn and trying to remove all traces it still has:
firstname.lastname@example.org: Failed to schedule restart job: Unit email@example.com not found.
Where is it picking this up from?