Package: openvpn
Version: 2.3.4-5
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Maintainer,

I'm using the daemon option in my openvpn settings, while investigating
an unrelated openvpn problem I've noticed the following error messages
in the daemon.log:

May  8 21:59:53 foo ovpn-test.example.net[11554]: WARNING: Multiple --daemon 
directives specified, ignoring --daemon test. (Note that initscripts sometimes 
add their own --daemon directive.)

When I investigated the init script I found most/(all ?) if-conditions
using "grep -q" are inverted. From the grep man-page:

The exit status is 0 if selected lines are found, and 1 if not found.

And 0 is evaluated to false, which leads to the wrong conditional branch
evaluation and therefore to the duplicate daemon directive (ignoring the
daemon option in the user configuration). Same holds true for the status
file.

cu
    Alex

- -- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openvpn depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  init-system-helpers    1.22
ii  initscripts            2.88dsf-59
ii  iproute2               3.16.0-2
ii  libc6                  2.19-18
ii  liblzo2-2              2.08-1.2
ii  libpam0g               1.1.8-3.1
ii  libpkcs11-helper1      1.11-2
ii  libssl1.0.0            1.0.1k-3

Versions of packages openvpn recommends:
pn  easy-rsa  <none>

Versions of packages openvpn suggests:
ii  openssl     1.0.1k-3
pn  resolvconf  <none>

- -- debconf information excluded

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlVNGkgACgkQci0IS3Y4ncpbRACggypfV0j49jRd+YQ2EIKAqLET
4E8AnRH7DSi2cdN4lGFHSraMiqYcDbhO
=oNHj
-----END PGP SIGNATURE-----


-- 
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