Bug#961624: Stubby systemd service fails to start on upgrade to 1.5.2-1

2020-05-28 Thread Roger Shimizu
control: tags -1 +moreinfo

Dear Eric,

Thanks for your report!

On Thu, May 28, 2020 at 5:21 PM Eric Marsden
 wrote:
>
> I can confirm this bug.
> It's unclear to me why this is necessary, but changing the line
> ExecStart=/usr/bin/stubby
> to
> ExecStart=/usr/bin/stubby -C /etc/stubby/stubby.yml
> in /lib/systemd/system/stubby.service fixes the problem.

I'm confused because,
* on the one side, debian CI test can confirm the regression you reported:
  https://ci.debian.net/packages/g/getdns/unstable/amd64/

* on the other side, I cannot confirm this issue on my sid box:

# dpkg -i libgetdns10_1.5.2-1_amd64.deb stubby_1.5.2-1_amd64.deb
# service stubby restart
# service stubby status
May 28 22:27:17 SID systemd[1]: Started DNS Privacy Stub Resolver.
May 28 22:27:17 SID stubby[2145]: [13:27:17.172842] STUBBY: Read
config from file /etc/stubby/stubby.yml
May 28 22:27:17 SID stubby[2145]: [13:27:17.174068] STUBBY: DNSSEC
Validation is OFF
May 28 22:27:17 SID stubby[2145]: [13:27:17.174290] STUBBY: Transport list is:
May 28 22:27:17 SID stubby[2145]: [13:27:17.174426] STUBBY:   - TLS
May 28 22:27:17 SID stubby[2145]: [13:27:17.174551] STUBBY: Privacy
Usage Profile is Strict (Authentication required)
May 28 22:27:17 SID stubby[2145]: [13:27:17.174672] STUBBY: (NOTE a
Strict Profile only applies when TLS is the ONLY transport!!)
May 28 22:27:17 SID stubby[2145]: [13:27:17.174793] STUBBY: Starting DAEMON

Anyway, I'll try to upload the workaround with "-C
/etc/stubby/stubby.yml" hardcoded in service file.

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Bug#961624: Stubby systemd service fails to start on upgrade to 1.5.2-1

2020-05-28 Thread Eric Marsden

I can confirm this bug.

It's unclear to me why this is necessary, but changing the line

   ExecStart=/usr/bin/stubby

to

   ExecStart=/usr/bin/stubby -C /etc/stubby/stubby.yml

in /lib/systemd/system/stubby.service fixes the problem.



Bug#961624: Stubby systemd service fails to start on upgrade to 1.5.2-1

2020-05-26 Thread Harry Noël
Package: stubby
  Version: 1.5.2-1

Upgrade from 1.5.1-1+b2 to 1.5.2-1 results in service failing to start
- reporting 'Error getting user config file'Downgrade to 1.5.1-1+b2
resolves issue
● stubby.service - DNS Privacy Stub Resolver Loaded: loaded
(/lib/systemd/system/stubby.service; enabled; vendor preset:
enabled) Active: failed (Result: exit-code) since Tue 2020-05-26
18:53:20 BST; 5s ago   Docs: 
https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+StubbyP
rocess: 12323 ExecStart=/usr/bin/stubby (code=exited,
status=1/FAILURE)   Main PID: 12323 (code=exited, status=1/FAILURE)
May 26 18:53:19 *** systemd[1]: Started DNS Privacy Stub
Resolver.May 26 18:53:20 *** stubby[12323]: Error getting user
config fileMay 26 18:53:20 *** systemd[1]: stubby.service: Main
process exited, code=exited, status=1/FAILUREMay 26 18:53:20 ***
systemd[1]: stubby.service: Failed with result 'exit-code'.
  When I invoke `hello' without arguments from an ordinary shell
  prompt it prints `goodbye', rather than the expected `hello, world'.
  Here is a transcript:

Debian Sid
Linux version 5.6.0-1-amd64 (debian-ker...@lists.debian.org) (gcc
version 9.3.0 (Debian 9.3.0-11)) #1 SMP Debian 5.6.7-1 (2020-04-29)
KR
HN