Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580484 - >=net-dns/dnscrypt-proxy-1.6.0-r1 dnscrypt-proxy.service missing fields
Summary: >=net-dns/dnscrypt-proxy-1.6.0-r1 dnscrypt-proxy.service missing fields
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-19 04:31 UTC by shouya
Modified: 2017-11-19 02:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix to this bug (dnscrypt-proxy.fix_systemd_unit_fields.patch,8.90 KB, patch)
2016-04-19 04:31 UTC, shouya
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description shouya 2016-04-19 04:31:54 UTC
Created attachment 431182 [details, diff]
fix to this bug

When I install and run `dnscrypt-proxy-1.6.1' with default configuration, `systemctl status dnscrypt-proxy' reports that `resolver-name' is not specified.

I figured out it is because in 1.6.0-r1 ebuild the newer confd file (files/dnscrypt-proxy.confd-1.6.0-r1) started to be used. With this confd the option for DNSCRYPT_RESOLVER_NAME is enabled by default instead of DNSCRYPT_RESOLVERIP while dnscrypt-proxy.service isn't updated accordingly.

The fix is to create an additional service file `files/dnscrypt-proxy.service-1.6.0-r1' and use it by default for `>=net-dns/dnscrypt-proxy-1.6.0-r1'.

The patch attached should resolve the issue.
Comment 1 shouya 2016-04-19 04:35:16 UTC
I noticed the `dnscrypt-proxy.initd-1.6.0-r1` is updated while `dnscrypt-proxy.service-1.6.0-r1` isn't. Perhaps it's just the maintainer forget to test it for systemd users.
Comment 2 Georgy Yakovlev archtester gentoo-dev 2017-11-19 02:53:00 UTC
Closing this,
1.6.0-r1 is no longer in tree.
since 1.9.5 dnscrypt uses upstream provided systemd unit.

Please let me know if you still have the problem after trying 1.9.5
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee515fb8a5ff324983ec37c38ec1e2dc8d7aaa6