FS#41596 - [dnsmasq] Random crashes, needs a restart line in the systemd service

Attached to Project: Arch Linux
Opened by David John (x89) - Sunday, 17 August 2014, 21:41 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 13 September 2014, 14:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: There are random crashes from dnsmasq - from which I issue a reboot command manually.
I don't know what the root cause of the crashes are but I've attached the log and added to my own service file a `Restart=on-failure` line


Additional info:
Name : dnsmasq
Version : 2.71-1
Architecture : x86_64
Build Date : Sat 17 May 2014 20:43:02 BST
Install Date : Thu 14 Aug 2014 21:21:01 BST


Steps to reproduce:
Install dnsmasq, set it as a localhost dns cache and leave it running. Log attached.


dnsmasq.conf settings:
conf-file=/usr/share/dnsmasq/trust-anchors.conf
dnssec
resolv-file=/etc/resolv.dnsmasq.conf
interface=eno1
listen-address=127.0.0.1
bind-interfaces
cache-size=1024
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 13 September 2014, 14:21 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Restart isn't to be used to paper over bugs. If you can pin down some bug that's causing the crash, please send a backtrace to upstream.
Comment by Dave Reisner (falconindy) - Sunday, 17 August 2014, 21:54 GMT
Looks like something is explicitly stopping dnsmasq... maybe NetworkManager? I've no idea.

In general, Restart= shouldn't be used to paper over bugs or some other unwanted behavior. You're free to add this via a drop-in of your own if you'd like, though.
Comment by David John (x89) - Sunday, 17 August 2014, 22:14 GMT
Yeah I'd rather fix the issue than put a plaster on it. It was my thought again, maybe some systemd service is relying on something else in the wrong order? I'll take a look.

Loading...