FS#66817 - [dnscrypt-proxy] Main process exited, code=killed, status=31/SYS

Attached to Project: Community Packages
Opened by James (jrnewell) - Friday, 29 May 2020, 04:23 GMT
Last edited by David Runge (dvzrv) - Sunday, 13 September 2020, 12:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

One day ago I started getting "Main process exited, code=killed, status=31/SYS." Seems to be related to to restrictions in the systemd service file. I commented out some of the restrictions and no longer have the issue.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  David Runge (dvzrv)
Sunday, 13 September 2020, 12:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Initially reported problem is solved.

Drive-by commenters did not follow up with more information, so closing.
Comment by David Runge (dvzrv) - Thursday, 11 June 2020, 11:10 GMT
@jrnewell: Thanks for the report.

However, as you have not provided any logs or any details I can neither understand what's going on nor reproduce it.
Additionally, the service works here and I have just upgraded to 2.0.43.

Please read the wiki article on bug reporting guidelines [1] and provide a more useful bug report next time.

[1] https://wiki.archlinux.org/index.php/Bug_reporting_guidelines
Comment by ljgdasfhk (ljgdasfhk) - Tuesday, 23 June 2020, 21:23 GMT
  • Field changed: Percent Complete (100% → 0%)
● dnscrypt-proxy.service - DNSCrypt-proxy client
Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since Tue 2020-06-23 21:35:52 MSK; 8min ago
Docs: https://github.com/jedisct1/dnscrypt-proxy/wiki
Process: 377 ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml (code=killed, signal=SYS)
Main PID: 377 (code=killed, signal=SYS)

июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] - 186ms qualityology.com
июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] - 239ms freetsa.org
июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] - 300ms publicarray-au
июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] - 305ms jp.tiar.app
июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] - 335ms publicarray-au2
июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] - 672ms scaleway-fr
июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] Server with the lowest initial latency: sth-dnscrypt-se (rtt: 22ms)
июн 23 21:35:31 computer dnscrypt-proxy[377]: [2020-06-23 21:35:31] [NOTICE] dnscrypt-proxy is ready - live servers: 35
июн 23 21:35:52 computer systemd[1]: dnscrypt-proxy.service: Main process exited, code=killed, status=31/SYS
июн 23 21:35:52 computer systemd[1]: dnscrypt-proxy.service: Failed with result 'signal'.
Comment by David Runge (dvzrv) - Tuesday, 23 June 2020, 22:44 GMT
@ljgdasfhk: Have you tried raising the log-level for dnscrypt-proxy?

I have not experienced any such behavior, so I can't really reproduce it.
The service has been running very reliably on several machines for me so far (unmodified).
In what context are you using the service? How are you starting it? On what kind of machine are you running it?
With what other services are you running it in conjunction (e.g. caching DNS resolver)?

Do you see any output in `coredumpctl list` in regards to this crash?
What exact steps have you taken to resolve the issue? Did those help?

Did you contact upstream about your issues?
Comment by David Runge (dvzrv) - Tuesday, 23 June 2020, 22:47 GMT
Also, which version of the package are you using?
Output of `dnscrypt-proxy -version`.

Most of these questions are already mentioned in the bug reporting guidelines [1].
I am a bit tired of repeating myself here...

[1] https://wiki.archlinux.org/index.php/Bug_reporting_guidelines
Comment by James (jrnewell) - Wednesday, 24 June 2020, 03:17 GMT
Hi David, I didn't reopen the ticket. But I want to reply to my original ticket. Unfortunately, for me at least, the only error message from the logs I got was the error message in the description of the ticket. It is not very verbose. That being said, my problem went away with this update that had a change to the ownership in the systemd service file: https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/dnscrypt-proxy&id=91d213972e2e355d021a10406a42e079e1bd4a3a. I thought you made that update to the service file in response to my ticket but I guess it was just a coincidence so I didn't really follow up. So far it has been rock solid so for me. I apologize i didn't give more info at the outset.
Comment by David Runge (dvzrv) - Wednesday, 24 June 2020, 07:33 GMT
@jrnewell: I see! I have added that SystemCallFilter for the log file issues discussed in  FS#66147 .

Did you use an external log file instead of syslog (e.g. the journal), too? Maybe in your case these problems were related.
Comment by James (jrnewell) - Thursday, 25 June 2020, 03:29 GMT
David, yes that is correct. I was using a log file and syslog disabled. I recently migrated from Ubuntu with dnscrypt manually installed, so I had the github config file that didn't have syslog turned on.

Loading...