Hello,
I am using imx6ull with yocto project. I want to interface VPN (openvpn) for that i used this reference link but i am unable to configure client.
following are the logs of systemctl status openvpn@client command:
× openvpn@client.service - OpenVPN Robust And Highly Flexible Tunneling Application On client
Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2024-09-04 05:55:05 UTC; 1h 3min ago
Process: 758 ExecStart=/usr/sbin/openvpn --daemon --writepid /run/openvpn/client.pid --cd /etc/openvpn/ --cipher AES-256-GCM --data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:BF-CBC --c>
Main PID: 759 (code=exited, status=1/FAILURE)
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: Starting OpenVPN Robust And Highly Flexible Tunneling Application On client...
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Can't open PID file /run/openvpn/client.pid (yet?) after start: Operation not permitted
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: Started OpenVPN Robust And Highly Flexible Tunneling Application On client.
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Main process exited, code=exited, status=1/FAILURE
Sep 04 05:55:05 colibri-imx6ull-emmc-07324251 systemd[1]: openvpn@client.service: Failed with result 'exit-code'.
I checked ownership and permission mode of the directory and files everything seems perfeect.