[Swan-dev] debian /usr/lib/ipsec/portexcludes: /usr/bin/python2: bad interpreter: No such file or directory
Paul Wouters
paul at nohats.ca
Fri Apr 6 12:11:34 UTC 2018
On Thu, 5 Apr 2018, Antony Antony wrote:
> "ipsec start" fails on debian. It seems systemd/ipsec.service fails.
>
> the python dependencies should be ideally optional build option. think of embedded systems without python...
>
> and definately not hard coding to python2.
>
> journalctl -xe
>
> Apr 05 13:31:03 swanbase systemd[10604]: ipsec.service: Failed to execute command: No such file or directory
> Apr 05 13:31:03 swanbase systemd[10604]: ipsec.service: Failed at step EXEC spawning /usr/lib/ipsec/portexcludes: No such file or di
> -- Subject: Process /usr/lib/ipsec/portexcludes could not be executed
> -- Defined-By: systemd
I've introduced USE_PORTEXCLUDES= and disabled it per default.
I also do not like the fact it would introduce a python dependancy.
I suspect we would not have many users that want to enable this feature.
Paul
More information about the Swan-dev
mailing list