Package: openresolv
Version: 3.12.0-1
Severity: normal
X-Debbugs-Cc: dr896...@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Upgrade from debian 10 to debian 11

resolvconf is called during startup from an openvpn service, but fails with the 
message

openvpn[4511]: /sbin/resolvconf: 31: kill: Operation not permitted
openvpn[4020]: WARNING: Failed running command (--up/--down): external program 
exited with error status: 1
openvpn[4020]: Exiting due to fatal error

Thus, the openvpn connection is not started.

restarting the service with openvpn-client@example will bring up openvpn

It seems, that this is related to the capabilities of openvpn, when run as a 
service

https://forums.openvpn.net/viewtopic.php?f=4&t=24993&sid=14319b7b38867b271a0cb1ac09c994ea&start=20

the only line in resolvconf that uses kill is line 874

if $have_pid && ! kill -0 "$pid"; then

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

booting the system, where openvpn-client@example has been enabled as service

   * What was the outcome of this action?
openvpn is not started because of the failure in resolvconf

   * What outcome did you expect instead?
working openvpn connection
*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Reply via email to