<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Arch Linux on nagg.eu</title><link>https://nagg.eu/tags/arch-linux/</link><description>Recent content in Arch Linux on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 18 Aug 2015 17:24:15 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/arch-linux/index.xml" rel="self" type="application/rss+xml"/><item><title>DNScrypt-proxy 1.6.2, new configuration</title><link>https://nagg.eu/dnscrypt-proxy-1-6-2-new-configuration/</link><pubDate>Tue, 18 Aug 2015 17:24:15 +0000</pubDate><guid>https://nagg.eu/dnscrypt-proxy-1-6-2-new-configuration/</guid><description>&lt;p&gt;The latest version of DNScrypt-proxy does not use anymore a single configuration file (&lt;code&gt;/etc/conf.d/dnscrypt-proxy&lt;/code&gt;) but instead completely relies on systemd.&lt;br&gt;
Configuration is now split in two different files.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[root@arch ~]# cat /etc/systemd/system/multi-user.target.wants/dnscrypt-proxy.service
---
[Unit]
Description=DNSCrypt client proxy
Requires=dnscrypt-proxy.socket

[Install]
Also=dnscrypt-proxy.socket
WantedBy=multi-user.target

[Service]
Type=simple
NonBlocking=true
ExecStart=/usr/bin/dnscrypt-proxy \
 --resolver-address=185.97.7.7:27015 \
 --provider-name=2.dnscrypt-cert.fvz-rec-de-fra-01.dnsrec.meo.ws \
 --provider-key=9FCC:EB74:6856:238D:AC57:428B:DE4F:D9C6:E736:5370:E9F9:5415:3BD3:6EBE:A8C2:FAFE \
 --user=nobody
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&amp;hellip;and&amp;hellip;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[root@arch ~]# cat /etc/systemd/system/dnscrypt-proxy.socket
---
[Unit]
Description=dnscrypt-proxy listening socket
After=network.target

[Socket]
ListenStream=127.0.0.2:53
ListenDatagram=127.0.0.2:53

[Install]
WantedBy=sockets.target
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>pdnsd automatic startup Arch Linux</title><link>https://nagg.eu/pdnsd-automatic-startup-arch-linux/</link><pubDate>Sat, 30 Aug 2014 11:01:53 +0000</pubDate><guid>https://nagg.eu/pdnsd-automatic-startup-arch-linux/</guid><description>&lt;p&gt;I have this Arch Linux based ODROID-U3 I use as DLNA server, local web server…etc…and also as local DNS caching server.&lt;br&gt;
For some strange reason &lt;!-- raw HTML omitted --&gt;pdnsd&lt;!-- raw HTML omitted --&gt; doesn&amp;rsquo;t seem to start correctly on Arch Linux.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[root@server ~]# systemctl status pdnsd -l
● pdnsd.service - proxy name server
 Loaded: loaded (/usr/lib/systemd/system/pdnsd.service; enabled)
 Active: failed (Result: exit-code) since Sat 2000-01-01 20:02:07 CET; 14 years 7 months ago
 Process: 182 ExecStart=/usr/bin/pdnsd (code=exited, status=3)
 Main PID: 182 (code=exited, status=3)

Jan 01 20:02:06 server systemd[1]: Starting proxy name server...
Jan 01 20:02:06 server systemd[1]: Started proxy name server.
Jan 01 20:02:06 server pdnsd[182]: Error in config file (line 11): Failed to get IP address of eth0: Cannot assign requested address
Jan 01 20:02:07 server systemd[1]: pdnsd.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
Jan 01 20:02:07 server systemd[1]: Unit pdnsd.service entered failed state.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Adding &lt;code&gt;After=network-online.target&lt;/code&gt; and &lt;code&gt;Wants=network-online.target&lt;/code&gt; in the Unit section of the startup script doesn&amp;rsquo;t seem to make any difference.&lt;br&gt;
So far the only workaround which really works is adding the line &lt;code&gt;After=multi-user.target&lt;/code&gt; in the service script.&lt;/p&gt;</description></item></channel></rss>