First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 139454
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ed Catmur <ed@catmur.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139454 depends on: Show dependency tree
Bug 139454 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-06 10:28 0000
/etc/init.d/openvpn has:

VPNDIR="/etc/openvpn"
VPN="${SVCNAME##*.}"
if [[ -n ${VPN} && ${SVCNAME} != "openvpn" ]]; then
        VPNPID="/var/run/openvpn.${VPN}.pid"
else
        VPNPID="/var/run/openvpn.pid"
fi
VPNCONF="${VPNDIR}/${VPN}.conf"

This prevents using period '.' in openvpn config names; VPN="${SVCNAME##*.}"
strips everything up to the last period. This could be changed to
VPN="${SVCNAME#*.}" to just strip the initial "openvpn.".

------- Comment #1 From Roy Marples (RETIRED) 2006-07-06 11:48:05 0000 -------
Fixed - sync up to get the new script. No rev bump.

Thanks

First Last Prev Next    No search results available      Search page      Enter new bug