Package: openvpn
Version: 2.0.6-1
Severity: normal

If /etc/openvpn/client.conf already exists, and I apt-get install
openvpn, this happens:

Selecting previously deselected package openvpn.
(Reading database ... 52558 files and directories currently installed.)
Unpacking openvpn (from .../openvpn_2.0.6-1_i386.deb) ...
Setting up openvpn (2.0.6-1) ...
Restarting virtual private network daemon:.

And the vpn isn't brought up until I manually start it. This's because
of this:

if [ -x "/etc/init.d/openvpn" ]; then
        if [ -x /usr/sbin/invoke-rc.d ]; then
                invoke-rc.d openvpn cond-restart || invoke-rc.d openvpn restart
        else
                /etc/init.d/openvpn cond-restart || /etc/init.d/openvpn restart
        fi
fi

One way to fix it would be to run invoke-rc.d openvpn start if "$2" = "", ie
on a new install.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages openvpn depends on:
ii  cdebconf [debconf-2.0]        0.100+b1   Debian Configuration Management Sy
ii  debconf [debconf-2.0]         1.5.0      Debian configuration management sy
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  liblzo1                       1.08-3     data compression library (old vers
ii  libssl0.9.8                   0.9.8a-8   SSL shared libraries

openvpn recommends no packages.

-- debconf information excluded

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to