Package: dnscrypt-proxy
Version: 1.8.1-3
Severity: serious

--- Please enter the report below this line. ---
Since last upgrade, Dnscrypt fails to start due search configuration file at 
path that does 
not exist.

Service file (/lib/systemd/system/dnscrypt-proxy.service) has incorrect path on 
Exec line:
ExecStart=/usr/sbin/dnscrypt-proxy /etc/dnscrypt-proxy/dnscrypt-proxy.conf

and, on my system, since last update dnscrypt-proxy.conf is located at 
/etc/dnscrypt-proxy/dnscrypt-proxy.conf/dnscrypt-proxy.conf


Service file after update:

[Unit]
Description=DNSCrypt client proxy Documentation=man:dnscrypt-proxy(8) 
Requires=dnscrypt-proxy.socket After=network.target Before=nss-lookup.target 

[Install] Also=dnscrypt-proxy.socket WantedBy=multi-user.target 

[Service] Type=notify NonBlocking=true User=_dnscrypt-proxy ExecStart=/usr/sbin/
dnscrypt-proxy /etc/dnscrypt-proxy/dnscrypt-proxy.conf Restart=always 
ProtectSystem=strict ProtectHome=true ProtectKernelModules=true 
ProtectKernelTunables=true ProtectControlGroups=true 
MemoryDenyWriteExecute=true 
RestrictRealtime=true




Directory structure on disk:

~$ tree /etc/dnscrypt-proxy/
/etc/dnscrypt-proxy/└── dnscrypt-proxy.conf   └── dnscrypt-proxy.conf



Modifying incorrect path on systemd service file or moving config file to path 
in systemd 
service file makes dnscrypt work correctly again.

--- System information. ---
Architecture: 
Kernel:       Linux 4.8.0-2-amd64

Debian Release: stretch/sid
  950 unstable        www.deb-multimedia.org 
  900 unstable-debug  deb.debian.org 
  900 unstable        ftp.debian.org 
  800 experimental    ftp.debian.org 
  500 stable          people.debian.org 
 
--- Package information. ---
Depends                   (Version) | Installed
===================================-+-============
adduser                             | 3.115
lsb-base                 (>= 3.0-6) | 9.20161125
init-system-helpers      (>= 1.18~) | 1.46
libc6                     (>= 2.17) | 
libltdl7                 (>= 2.4.6) | 
libsodium18             (>= 1.0.10) | 
libsystemd0                         | 


Package's Recommends field is empty.

Suggests        (Version) | Installed
=========================-+-===========
resolvconf                | 


Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to