Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104322

Summary: openvpn init script changed AGAIN
Product: Gentoo Linux Reporter: Robert Forsman <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Forsman 2005-08-30 17:07:19 UTC
The early openvpn init.d scripts iterated through the /etc/openvpn/*.conf files
to bring up all the tunnels.

When I switched to gentoo, its init script used /etc/openvpn/*/local.conf,
triggering errors if the admin was used to storing anything else in /etc/openvpn
(like a keys/ directory, or support scripts).  

With the 2.0 openvpn build, the init script switched back to the
/etc/openvpn/*.conf scheme.  

Now that the openvpn-2.0.1 is released, the script has changed BACK to the
error-triggering /etc/openvpn/*/local.conf scheme.

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/openvpn start
2.
3.

Actual Results:  
 * Expected /etc/openvpn/keys to be a directory containing a local.conf.
 * Expected /etc/openvpn/scarab.conf to be a directory containing a local.conf.
 * Expected /etc/openvpn/shita.conf to be a directory containing a local.conf.


Expected Results:  
started both tunnels

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/thoth/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d acl alsa apache2 apm arts avi bash-completion
berkdb bitmap-fonts bonobo bzlib cdr crypt cups curl divx4linux doc dv dvd dvdr
dvdread edl emboss encode esd fam ffmpeg foomaticdb gd gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde
libg++ libwww mad maildir mikmod mjpegi mmx mmxext mng motif mozsvg mp3 mpeg
mysql mythtv ncurses nls nojython ogg oggvorbis opengl oss pam pcmcia pdflib
perl png python qt quicktime readline real samba sdl spell sse sse2 ssl svg svga
tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts unicode v4l
vim-with-x vorbis win32codecs wmf xinerama xml xml2 xmms xv xvid yv12 zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-31 01:04:12 UTC
This is not a bug, read the postinstall instructions. Also see Bug 94350.