-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi! I never spend much time figuring this out even though I believe it isn't that difficult with your blog article.
So tonight I tried again and it all made much more sense. I successfully build nsdo and performed the steps in your blog. I use a RPi3 running DietPi (based on Debian Stretch).
Unfortunately the openvpn@.service file is giving me troubles. This is what happens when I run
systemctl start openvpn@ns-vpn
(my vpn conf file is /etc/openvpn/ns-vpn.conf).
root@Raspberry:/lib/systemd/system# systemctl start openvpn@ns-vpn
A dependency job for openvpn@ns-vpn.service failed. See 'journalctl -xe' for det ails.
root@Raspberry:/lib/systemd/system# systemctl status openvpn@ns-vpn
openvpn@ns-vpn.service - OpenVPN connection to ns-vpn
Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset
Drop-In: /etc/systemd/system/openvpn@.service.d
└─netns.conf
Active: inactive (dead)
Jan 19 22:45:58 Raspberry systemd[1]: Dependency failed for OpenVPN connection t
Jan 19 22:45:58 Raspberry systemd[1]: openvpn@ns-vpn.service: Job openvpn@ns-vpn
Jan 19 22:46:06 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:9] U
Jan 19 22:46:06 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:10]
Jan 19 22:46:24 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:9] U
Jan 19 22:46:24 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:10]
Jan 19 22:47:40 Raspberry systemd[1]: Dependency failed for OpenVPN connection t
Jan 19 22:47:40 Raspberry systemd[1]: openvpn@ns-vpn.service: Job openvpn@ns-vpn
Jan 19 22:56:33 Raspberry systemd[1]: Dependency failed for OpenVPN connection t
Jan 19 22:56:33 Raspberry systemd[1]: openvpn@ns-vpn.service: Job openvpn@ns-vpn
lines 1-16/16 (END)...skipping...
openvpn@ns-vpn.service - OpenVPN connection to ns-vpn
Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openvpn@.service.d
└─netns.conf
Active: inactive (dead)
Jan 19 22:45:58 Raspberry systemd[1]: Dependency failed for OpenVPN connection to ns-vpn.
Jan 19 22:45:58 Raspberry systemd[1]: openvpn@ns-vpn.service: Job openvpn@ns-vpn.service/start failed with result 'dependency'.
Jan 19 22:46:06 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:9] Unknown lvalue 'requires' in section 'Unit'
Jan 19 22:46:06 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:10] Unknown lvalue 'after' in section 'Unit'
Jan 19 22:46:24 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:9] Unknown lvalue 'requires' in section 'Unit'
Jan 19 22:46:24 Raspberry systemd[1]: [/lib/systemd/system/openvpn@.service:10] Unknown lvalue 'after' in section 'Unit'
Jan 19 22:47:40 Raspberry systemd[1]: Dependency failed for OpenVPN connection to ns-vpn.
Jan 19 22:47:40 Raspberry systemd[1]: openvpn@ns-vpn.service: Job openvpn@ns-vpn.service/start failed with result 'dependency'.
Jan 19 22:56:33 Raspberry systemd[1]: Dependency failed for OpenVPN connection to ns-vpn.
Jan 19 22:56:33 Raspberry systemd[1]: openvpn@ns-vpn.service: Job openvpn@ns-vpn.service/start failed with result 'dependency'.
should I also edit the openvpn.service file? I did not touch that one. I hope you can help me figure out how to modify openvpn@.service. I have no clue how to troubleshoot this. I believe this is the only issue and nsdo should do the trick once openvpn is running.
Metadata
Metadata
Assignees
Labels
No labels