Package: openvpn
Version: 2.1.0-1
Severity: important
Tags: patch

Hi,

On desktop hosts were network-manager (and the GUI applet) is used to configure
the network, openvpn is started too early (before network-manager) and stopped
too late (after network-manager). This patch fixed the problem for me:
| r2:/etc/init.d# diff -u openvpn_2.1.0-1 openvpn
--- openvpn_2.1.0-1     2009-12-11 14:37:12.000000000 +0200
+++ openvpn     2010-02-06 16:32:40.836747102 +0200
@@ -4,6 +4,8 @@
 # Provides:          openvpn
 # Required-Start:    $network $remote_fs $syslog
 # Required-Stop:     $network $remote_fs $syslog
+# Should-Start:      network-manager
+# Should-Stop:       network-manager
 # X-Interactive:     true
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6

After an update of init scripts order with 'update-rc.d' I have this:
| r2:~# ls -l /etc/rc0.d/
[..]
| lrwxrwxrwx 1 root root  17 2010-02-06 16:32 K01openvpn -> ../init.d/openvpn
[..]
| lrwxrwxrwx 1 root root  25 2010-02-06 16:27 K02network-manager -> 
../init.d/network-manager

which is the good order of stopping the services, otherwise openvpn will not 
stop cleanly (it
will timeout eventually).

| r2:~# ls -l /etc/rc2.d/
[..]
| lrwxrwxrwx 1 root root  25 2010-02-06 16:25 S23network-manager -> 
../init.d/network-manager
[..]
| lrwxrwxrwx 1 root root  17 2010-02-06 16:32 S24openvpn -> ../init.d/openvpn

Thanks


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openvpn depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  liblzo2-2                     2.03-2     data compression library
ii  libpam0g                      1.1.0-4    Pluggable Authentication Modules l
ii  libpkcs11-helper1             1.07-1     library that simplifies the intera
ii  libssl0.9.8                   0.9.8k-8   SSL shared libraries
ii  net-tools                     1.60-23    The NET-3 networking toolkit
ii  openssl-blacklist             0.5-2      list of blacklisted OpenSSL RSA ke
ii  openvpn-blacklist             0.4        list of blacklisted OpenVPN RSA sh

openvpn recommends no packages.

Versions of packages openvpn suggests:
ii  openssl                       0.9.8k-8   Secure Socket Layer (SSL) binary a
ii  resolvconf                    1.45       name server information handler

-- debconf information:
  openvpn/vulnerable_prng:
  openvpn/create_tun: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to