Package: dnscrypt-proxy
Version: 2.1.8+ds1-1+b4
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Package installation completes with the message Could not execute systemctl: at 
/usr/bin/deb-systemd-invoke line 148.

The package enables and/or attempts to start 
`dnscrypt-proxy-resolvconf.service` when `/sbin/resolvconf` exists. On systems 
where `resolvconf` is provided by the `systemd-resolved` compatibility wrapper 
(`/usr/sbin/resolvconf -> /usr/bin/resolvectl`), the service attempts to update 
DNS configuration via systemd components that may not be available. In my case, 
`systemd-networkd` was not running, causing `dnscrypt-proxy-resolvconf.service` 
to fail with:

`Failed to set DNS configuration: Unit dbus-org.freedesktop.network1.service 
not found.`

The failure resulted in a degraded system state and an installation-time error 
message from `deb-systemd-invoke`.

I expected dnscrypt-proxy to install without errors and without leaving the 
system in a degraded state. If the optional resolvconf integration cannot 
function with the available DNS/network configuration, the package should 
either not enable/start dnscrypt-proxy-resolvconf.service, detect the 
unsupported configuration and skip it gracefully, or treat the failure as 
non-fatal. The presence of the systemd-resolved resolvconf compatibility 
wrapper alone should not cause installation-time failures.

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

Kernel: Linux 6.12.90+deb13-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dnscrypt-proxy depends on:
ii  adduser         3.152
ii  libc6           2.41-12+deb13u3
ii  sysvinit-utils  3.14-4

Versions of packages dnscrypt-proxy recommends:
ii  ca-certificates  20250419

Versions of packages dnscrypt-proxy suggests:
ii  systemd-resolved [resolvconf]  257.13-1~deb13u1

-- no debconf information

Reply via email to