Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD Start script default value fail #337

Closed
Toutzn opened this issue Apr 20, 2021 · 2 comments
Closed

FreeBSD Start script default value fail #337

Toutzn opened this issue Apr 20, 2021 · 2 comments
Labels

Comments

@Toutzn
Copy link

Toutzn commented Apr 20, 2021

Hello together,

I found one issue after a new installation of strongswan version strongswan-5.9.2_1 under 12.2-RELEASE-p6.

The default value for strongswan_interface

in the comments we see following text:

#!/bin/sh
# Start or stop strongswan

# PROVIDE: strongswan
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown

# strongswan_enable (bool):
#	Set it to "YES" to enable strongswan
#	Default is "NO"
# strongswan_interface (string):
#	Set the control interface to use.
#	Valid options are:
#	"stroke" for the old ipsec/startr interface
#	"vici" for the newer swanctl intrface
#	Default is "stroke"

but few lines later we see default value:

: ${strongswan_enable:=NO}
: ${strongswan_interface:="vici"}

the problem is we have not define this values in out /etc/rc.conf.d/strongswan so I was looking a long time, what happened at what change in the new version.

Could you change it back into the default?

Thanks a lot

@Thermi
Copy link
Contributor

Thermi commented Apr 20, 2021

Hi, that script is not maintained by strongSwan but by freebsd. Probably under ports.

@Toutzn
Copy link
Author

Toutzn commented Apr 20, 2021

Argh. Ok, then I need to open a case on freeBSD Bug Report portal...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants