Всех приветствую! Столкнулся с проблемой - сломал dnscrypt-proxy клиента. Система следующая
educatedfool@someKind0f-pc ~ % screenfetch
-`
.o+` educatedfool@someKind0f-pc
`ooo/ OS: Arch Linux
`+oooo: Kernel: x86_64 Linux 4.15.15-1-hardened
`+oooooo: Uptime: 1h 53m
-+oooooo+: Packages: 796
`/:-:++oooo+: Shell: zsh 5.4.2
`/++++/+++++++: Resolution: 1366x768
`/++++++++++++++: DE: KDE 5.44.0 / Plasma 5.12.4
`/+++ooooooooooooo/` WM: KWin
./ooosssso++osssssso+` GTK Theme: Breeze [GTK2], Default [GTK3]
.oossssso-````/ossssss+` Icon Theme: breeze
-osssssso. :ssssssso. Font: Noto Sans Regular
:osssssss/ osssso+++. CPU: Intel Core i7-3770 @ 8x 3.9GHz [27.8°C]
/ossssssss/ +ssssooo/- GPU: GeForce GTX 650
`/ossssso+/:- -:/+osssso+- RAM: 2176MiB / 11959MiB
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/
Лог systemd-юнита dnscrypt-proxy.socket
educatedfool@someKind0f-pc ~ % systemctl status dnscrypt-proxy.socket
● dnscrypt-proxy.socket - DNSCrypt-proxy socket
Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.socket; enabled; vendor preset: disabled)
Active: failed (Result: resources)
Docs: https://github.com/jedisct1/dnscrypt-proxy/wiki
Listen: 127.0.0.1:53 (Stream)
[::1]:53 (Stream)
127.0.0.1:53 (Datagram)
[::1]:53 (Datagram)
апр 10 20:51:44 someKind0f-pc systemd[1]: Failed to listen on DNSCrypt-proxy socket.
апр 10 20:52:48 someKind0f-pc systemd[1]: dnscrypt-proxy.socket: Failed to receive listening socket: Input/output error
апр 10 20:52:48 someKind0f-pc systemd[1]: dnscrypt-proxy.socket: Failed to listen on sockets: Input/output error
апр 10 20:52:48 someKind0f-pc systemd[1]: dnscrypt-proxy.socket: Failed with result 'resources'.
апр 10 20:52:48 someKind0f-pc systemd[1]: Failed to listen on DNSCrypt-proxy socket.
апр 10 20:52:57 someKind0f-pc systemd[4060]: dnscrypt-proxy.socket: Failed to create listening socket: Cannot assign requested address
апр 10 20:52:57 someKind0f-pc systemd[1]: dnscrypt-proxy.socket: Failed to receive listening socket: Input/output error
апр 10 20:52:57 someKind0f-pc systemd[1]: dnscrypt-proxy.socket: Failed to listen on sockets: Input/output error
апр 10 20:52:57 someKind0f-pc systemd[1]: dnscrypt-proxy.socket: Failed with result 'resources'.
апр 10 20:52:57 someKind0f-pc systemd[1]: Failed to listen on DNSCrypt-proxy socket.
Лог systemd-юнита dnscrypt-proxy.service
educatedfool@someKind0f-pc ~ % systemctl status dnscrypt-proxy.service :(
● dnscrypt-proxy.service - DNSCrypt-proxy client
Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Docs: https://github.com/jedisct1/dnscrypt-proxy/wiki
апр 10 19:34:24 someKind0f-pc systemd[1]: Dependency failed for DNSCrypt-proxy client.
апр 10 19:34:24 someKind0f-pc systemd[1]: dnscrypt-proxy.service: Job dnscrypt-proxy.service/start failed with result 'dependency'.
апр 10 19:41:27 someKind0f-pc systemd[1]: Dependency failed for DNSCrypt-proxy client.
апр 10 19:41:27 someKind0f-pc systemd[1]: dnscrypt-proxy.service: Job dnscrypt-proxy.service/start failed with result 'dependency'.
апр 10 20:50:47 someKind0f-pc systemd[1]: Dependency failed for DNSCrypt-proxy client.
апр 10 20:50:47 someKind0f-pc systemd[1]: dnscrypt-proxy.service: Job dnscrypt-proxy.service/start failed with result 'dependency'.
Конфиг dnscrypt-proxy.toml по умолчанию: https://pastebin.com/aSn0wZdX
Конфиги systemd-юнитов по умолчанию
[Unit]
Description=DNSCrypt-proxy socket
Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki
Before=nss-lookup.target
Wants=nss-lookup.target
[Socket]
ListenStream=127.0.0.1:53
ListenStream=[::1]:53
ListenDatagram=127.0.0.1:53
ListenDatagram=[::1]:53
NoDelay=true
DeferAcceptSec=1
[Install]
WantedBy=sockets.target
[Unit]
Description=DNSCrypt-proxy client
Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki
Requires=dnscrypt-proxy.socket
After=network.target
Before=nss-lookup.target
Wants=nss-lookup.target
[Service]
NonBlocking=true
ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml
ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
# Run dnscrypt-proxy as unprivileged user with
# temporary assigned UID/GID. See man:systemd.exec
# for more info. Requires systemd 232+.
DynamicUser=yes
CacheDirectory=dnscrypt-proxy
LogsDirectory=dnscrypt-proxy
RuntimeDirectory=dnscrypt-proxy
[Install]
Also=dnscrypt-proxy.socket
WantedBy=multi-user.target
systemd-юниты, которые требуются в зависимостях (nss-lookup) - рабоают. Проверил на девственно-чистой виртуалке - работает, так что я что сломал.
Если требуются ещё какие-то логи, вы только скажите.