Installing softethervpn5-client fails with: /etc/init.d/: Permission denied

I am getting the same error installing via web interface and in root shell:

root@turris:~# opkg install softethervpn5-client
Installing softethervpn5-client (5.01.9674-1) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/softethervpn5-client_5.01.9674-1_arm_cortex-a9_vfpv3-d16.ipk
Installing kmod-tun (4.14.290-1-e7efbb661dce3f3c72ad7afb470f9103) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/core/kmod-tun_4.14.290-1-e7efbb661dce3f3c72ad7afb470f9103_arm_cortex-a9_vfpv3-d16.ipk
Installing softethervpn5-libs (5.01.9674-1) to root...
Downloading https://repo.turris.cz/hbs/omnia/packages/packages/softethervpn5-libs_5.01.9674-1_arm_cortex-a9_vfpv3-d16.ipk
Configuring kmod-tun.
Configuring softethervpn5-libs.
Configuring softethervpn5-client.
//usr/lib/opkg/info/softethervpn5-client.postinst: line 261: /etc/init.d/: Permission denied

The error message looks weird to me. I have no idea where to start debugging this. Any ideas?

Weird, there is no postinst section defined in the package: https://github.com/openwrt/packages/blob/openwrt-19.07/net/softethervpn5/Makefile . Is it somehow autogenerated?

I belive its the same problem as here:

1 Like

I had a similar error message yesterday when installing block-mount, however everything seemed to work fine so I just shrugged and carried on…

Thank you very much for the answers. With this context the whole thing looks like a more general problem with openwrt/turris and nothing related to the specific package.

Seems that no problems arise from that error. Anyway would be good to know what causes that error and how to fix it.

Today an explanation was posted by the Turris team to the other linked thread, with the key point being:

This should be a harmless warning and should be fixed with Turris OS 6.0 that we hope to release soon.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.