<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>139454</bug_id>
          
          <creation_ts>2006-07-06 10:28 0000</creation_ts>
          <short_desc>net-misc/openvpn: allow period in config name</short_desc>
          <delta_ts>2006-07-06 11:48:05 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ed@catmur.co.uk</reporter>
          <assigned_to>uberlord@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2006-07-06 10:28:58 0000</bug_when>
            <thetext>/etc/init.d/openvpn has:

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

This prevents using period &apos;.&apos; in openvpn config names; VPN=&quot;${SVCNAME##*.}&quot; strips everything up to the last period. This could be changed to VPN=&quot;${SVCNAME#*.}&quot; to just strip the initial &quot;openvpn.&quot;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2006-07-06 11:48:05 0000</bug_when>
            <thetext>Fixed - sync up to get the new script. No rev bump.

Thanks</thetext>
          </long_desc>
      
    </bug>

</bugzilla>