Skip to contentSkip to conversation

Disabling auth_pam plugin by default in openvpn-build?

Openvpn-devel Samuli Seppänen 3 participants 6 messages Jan 11, 2016 – Jan 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

There is a pull request in GitHub to openvpn-build, which disables auth_pam plugin by default:

<https://github.com/OpenVPN/openvpn-build/pull/10/files>

For Windows this makes sense, as PAM is not present. However, openvpn-build can also be used to cross-compile for the ARM architecture, in which case PAM might be useful.

Does the pull request makes sense, or should we just fix this with better documentation, e.g.

"If you're cross-compiling for ARM, make sure you add --disable-plugin-auth-pam to EXTRA_OPENVPN_CONFIG"

Thoughts?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw
Quoted 11 lines · Samuli Seppänen

Hi,

There is a pull request in GitHub to openvpn-build, which disables auth_pam plugin by default:

<https://github.com/OpenVPN/openvpn-build/pull/10/files>

For Windows this makes sense, as PAM is not present. However, openvpn-build can also be used to cross-compile for the ARM architecture, in which case PAM might be useful.

Quoted 7 lines

Does the pull request makes sense, or should we just fix this with better documentation, e.g.

"If you're cross-compiling for ARM, make sure you add --disable-plugin-auth-pam to EXTRA_OPENVPN_CONFIG"

Thoughts?

You'll most likely upset quite some Linux distro maintainers. Especially if such a change is not properly communicated.

I know at least RPM packaging will start failing when it detects that files expected to be installed by 'make install' is missing. Other packaging systems may behave differently.

Signature · 3 lines
kind regards,

David Sommerseth
#2 lore raw

Hi,

Quoted 6 lines · David Sommerseth

You'll most likely upset quite some Linux distro maintainers. Especially if such a change is not properly communicated.

I know at least RPM packaging will start failing when it detects that files expected to be installed by 'make install' is missing. Other packaging systems may behave differently.

I would be very surprised to see "standard" distro maintainers use the openvpn-build script set - as it's totally unneeded unless you do cross-building...

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#3 lore raw
Quoted 7 lines

Hi,

Quoted 3 lines · David Sommerseth

You'll most likely upset quite some Linux distro maintainers. Especially if such a change is not properly communicated.

Quoted 7 lines
Quoted 3 lines

I know at least RPM packaging will start failing when it detects that files expected to be installed by 'make install' is missing. Other packaging systems may behave differently.

I would be very surprised to see "standard" distro maintainers use the openvpn-build script set - as it's totally unneeded unless you do cross-building...

Yeah, exactly. This might one of those "ask around in vain, then turn it off, and suddenly everyone is complaining". I have no strong feelings one way or the other.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#4 lore raw
In reply to Gert Doering
Quoted 6 lines · Gert Doering

Hi,

Quoted 3 lines · David Sommerseth

You'll most likely upset quite some Linux distro maintainers. Especially if such a change is not properly communicated.

Quoted 7 lines
Quoted 3 lines

I know at least RPM packaging will start failing when it detects that files expected to be installed by 'make install' is missing. Other packaging systems may behave differently.

I would be very surprised to see "standard" distro maintainers use the openvpn-build script set - as it's totally unneeded unless you do cross-building...

Duh! That's what happens when you quickly read and reply before running to do something else ... Had I just looked at the patch first, not just presumed we were talking about changing the defaults in configure.ac.

Never mind, sorry 'bout the noise. For openvpn-build I have no preferences either way.

Signature · 3 lines
kind regards,

David Sommerseth
#5 lore raw
In reply to Samuli Seppänen

Hi,

Quoted 9 lines · Samuli Seppänen

There is a pull request in GitHub to openvpn-build, which disables auth_pam plugin by default:

<https://github.com/OpenVPN/openvpn-build/pull/10/files>

For Windows this makes sense, as PAM is not present. However, openvpn-build can also be used to cross-compile for the ARM architecture, in which case PAM might be useful.

Quoted 7 lines

Does the pull request makes sense, or should we just fix this with better documentation, e.g.

"If you're cross-compiling for ARM, make sure you add --disable-plugin-auth-pam to EXTRA_OPENVPN_CONFIG"

Thoughts?

What happens if you run openvpn-build "as is" for windows? Will it abort (because there is no PAM) or just print out a warning and compile fine without requiring --disable-plugin-auth-pam?

I tend to "leave everything as it is", and (if needed) document for which platforms the switch is needed, and where to put it.

(Removing --disable-snappy would be a good idea, though, as there is no such option...)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...