Public bug reported:

Binary package hint: openvpn

Description:    Ubuntu 8.10
Release:        8.10

openvpn:
  Installed: 2.1~rc11-1ubuntu2
  Candidate: 2.1~rc11-1ubuntu2
  Version table:
 *** 2.1~rc11-1ubuntu2 0
        500 http://192.168.253.253 intrepid/main Packages
        100 /var/lib/dpkg/status

As of openvpn 2.1rc9 there is a new "script-security" feature.

In the file /etc/init.d/openvpn there is the following piece of code to
handle it

    # Handle backwards compatibility
    if test -z $( grep '^[[:space:]]*script-security[[:space:]]' 
$CONFIG_DIR/$NAME.conf ) ; then
        script_security="--script-security 2"
    fi

Firstly to ensure proper backward compatibility it should set script-
security to 3 not 2 as my server using an external auth plugin would not
work with it set to 2 as passwords do not get passed in the environment
vars. Secondly, if you set "script-security" in the server.conf file to
try and "fix" the problem the startup script breaks with the following
message.

"test: 278: 3: unexpected operator"

Cheers.

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New

-- 
openvpn server startup script broken
https://bugs.launchpad.net/bugs/379412
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to