https://bugs.contribs.org/show_bug.cgi?id=10220

            Bug ID: 10220
           Summary: openvpn-routed doesn't work since openvpn 2.4.1-3.el6
    Classification: Contribs
           Product: SME Contribs
           Version: 9.1
          Hardware: x86_64
                OS: ---
            Status: CONFIRMED
          Severity: blocker
          Priority: P3
         Component: smeserver-openvpn-routed
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

The server smeserver-openvpn-routed-0.1.5-1 (repo FWS) of my SME9 x86-64 64
bits fails since the update from 04.04.2017:

>openvpn.x86_64                          2.4.1-3.el6                  
>smecontribs

On the client I get the message:
>read UDP [ECONREFUSED]: Connection refused (code=111)

And the journal of the SME is contains a lot of:

>PLUGIN_INIT: could not load plugin shared object 
>/usr/lib/openvpn/plugin/lib/openvpn-auth-pam.so: 
>/usr/lib/openvpn/plugin/lib/openvpn-auth-pam.so: cannot open shared object 
>file: No such file or directory: No such file or directory (errno=2)
Exiting due to fatal error

The reason is that "openvpn-plugin-auth-pam.so" get a new folder
(/usr/lib64/openvpn/plugins instead of /usr/lib64/openvpn/plugin/lib) and a new
name (openvpn-plugin-auth-pam.so instead of openvpn-auth-pam.so).

Entering
my $plugin_dir = (-d "/usr/lib64/openvpn/plugins") ?
        '/usr/lib64/openvpn/plugins':'/usr/lib/openvpn/plugin/lib';
$OUT .= "plugin ".$plugin_dir."/openvpn-plugin-auth-pam.so login\n";

into the template etc/e-smith/templates/etc/openvpn/routed/openvpn.conf/40auth

permits to get openvpn-routed to work again.

See https://forums.contribs.org/index.php/topic,52989.msg273776.html#msg273776
too.

Bye
Arnaud

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to