Package: openvpn
Version: 2.2.1-8+deb7u3
Severity: normal

Dear Maintainer,

We have a cron job on our system that periodically checks if service openvpn is 
running and if not, restarts the service. This job also runs at boot time and 
ocasionally (~1%) collides with openvpn: a second instance of the openvpn init 
script is run concurrently boot and the daemon is started twice. On my system 
this results in a second tun device and two VPN instances repeatedly 
connecting, disconnecting the other.

The cron job in question (crontab line):
* * * * *       root    if service openvpn status; then : ; else service 
openvpn restart; fi

-- System Information:
Debian Release: 7.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: armhf (armv7l)

Kernel: Linux 3.4.103+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages openvpn depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  initscripts            2.88dsf-41+deb7u1
ii  libc6                  2.13-38+deb7u8
ii  liblzo2-2              2.06-1+deb7u1
ii  libpam0g               1.1.3-7.1
ii  libpkcs11-helper1      1.09-1
ii  libssl1.0.0            1.0.1e-2+deb7u17
ii  net-tools              1.60-24.2

openvpn recommends no packages.

Versions of packages openvpn suggests:
ii  openssl     1.0.1e-2+deb7u17
pn  resolvconf  <none>

-- debconf information excluded

Reply via email to