[Bug 391884] [NEW] insufficient quoting in easy-rsa-2 vars script

otzenpunk reisswolf_nospam at otzenpunkrock.de
Thu Jun 25 01:33:33 BST 2009


Public bug reported:

Binary package hint: openvpn

The script /usr/share/doc/openvpn/examples/easy-rsa/2.0/vars does not
quote the variable $EASY_RSA in line 29 properly and should be adjusted
like this:

export KEY_CONFIG=`"$EASY_RSA/whichopensslcnf" "$EASY_RSA"`

The $EASY_RSA variable contains the path of the directory. Normally it
therefore wouldn't contain any white space, but the whole easy-rsa
directory is supposed to be copied somewhere, where you want to create
your openvpn ca. It is not unreasonable to use a memory stick for that,
which could leave you with a path like /media/USB DISK/easy-rsa.

This would result in the script displaying the error message "bash:
/media/USB: No such file or directory" and not working like expected.

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

-- 
insufficient quoting in easy-rsa-2 vars script
https://bugs.launchpad.net/bugs/391884
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.



More information about the Ubuntu-server-bugs mailing list