Dimitri Papadopoulos Orfanos
Dimitri Papadopoulos Orfanos
The error message is emitted from: https://github.com/adrienverge/openfortivpn/blob/d1b2801b6e866411398414be199c7648eb3e620b/src/config.c#L363-L364 https://github.com/adrienverge/openfortivpn/blob/d1b2801b6e866411398414be199c7648eb3e620b/src/config.c#L373-L375 It is emitted because **`HAVE_RESOLVCONF`** is not defined.
Now **`HAVE_RESOLVCONF`** is set at build time by autoconf, so it's a build time issue, hence a packaging issue. It looks like _openfortivpn_ has been configured with `--with-resolvconf=DISABLE`.
Actually all packages have been built **without** `--with-resolvconf=DISABLE` starting with Fedora 33: * branch `f32` has been built **with** `--with-resolvconf=DISABLED --disable-resolvconf`: https://src.fedoraproject.org/rpms/openfortivpn/blob/f32/f/openfortivpn.spec#_28 * branch `f33` has been built **without** `--with-resolvconf=DISABLED...
I had a look at the build logs of `f34` and `f35`: https://kojipkgs.fedoraproject.org//packages/openfortivpn/1.17.0/2.fc34/data/logs/x86_64/build.log https://kojipkgs.fedoraproject.org//packages/openfortivpn/1.17.0/2.fc35/data/logs/x86_64/build.log They are different indeed: * for `f34`: ``` checking for resolvconf... /usr/sbin/resolvconf configure: RESOLVCONF_PATH... /usr/sbin/resolvconf configure:...
The reason has to be here: https://github.com/adrienverge/openfortivpn/blob/d1b2801b6e866411398414be199c7648eb3e620b/configure.ac#L345-L346 I believe `RESOLVCONF_PATH` is set to `DISABLED` because `resolvconf` is not available at build time - it was available for `f34` but not...
For some reason, `resolvconf` was available by default in `f34` but not in `f35`. The packager needs to force `resolvconf` as a dependency at build time and run time, by...
It looks like `resolvconf` support has not been re-enabled, despite this attempt: https://src.fedoraproject.org/rpms/openfortivpn/c/e18bf25eec9db844634286252acd46d78266a6bf?branch=f34 Again, that's because we need to either add `resolvconf` as a build-time dependency so that it is...
Perhaps openresolv is broken on Fedora 36 - which could explain why `/usr/sbin/resolvconf.openresolv` was not executable. You may try to reinstall (`dnf reinstall`) opensresolv.
That said, I believe the openfortivpn packages still need to be fixed: * for `f36`: https://kojipkgs.fedoraproject.org//packages/openfortivpn/1.17.0/4.fc36/data/logs/x86_64/build.log ``` checking for resolvconf... DISABLED configure: RESOLVCONF_PATH... DISABLED configure: HAVE_RESOLVCONF... 0 configure: USE_RESOLVCONF... 0...
@nubitic-admin It is unclear which version of openfortivpn you are using. Are you building from source or using the RPM package?