dnsmasq and resolvconf hangs on start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Debian) |
New
|
Unknown
|
|||
dnsmasq (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I installed today dnsmasq and I use resolvconf in background.
Problem is, that systemd takes 1 minute or so after service start and than reports:
root@proxy:~# service dnsmasq status
dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/
Drop-In: /run/systemd/
Active: failed (Result: timeout) since Do 2018-06-21 15:58:13 CEST; 2min 10s ago
Process: 3295 ExecStop=
Process: 3865 ExecStartPost=
Process: 3837 ExecStart=
Process: 3825 ExecStartPre=
Main PID: 3862 (code=exited, status=0/SUCCESS)
Jun 21 15:56:43 proxy dnsmasq[3862]: Benutze Namensserver 192.168.23.1#53
Jun 21 15:56:43 proxy dnsmasq[3865]: * Awakening mail retriever agent:
Jun 21 15:56:43 proxy dnsmasq[3865]: ...done.
Jun 21 15:56:43 proxy postfix[3951]: Postfix is running with backwards-
Jun 21 15:56:43 proxy postfix[3951]: See http://
Jun 21 15:56:43 proxy postfix[3951]: To disable backwards compatibility use "postconf compatibility_
Jun 21 15:58:13 proxy systemd[1]: dnsmasq.service: Start-post operation timed out. Stopping.
Jun 21 15:58:13 proxy systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Jun 21 15:58:13 proxy systemd[1]: dnsmasq.service: Unit entered failed state.
Jun 21 15:58:13 proxy systemd[1]: dnsmasq.service: Failed with result 'timeout'.
when I look into the start script /etc/init.d/dnsmasq there is a func systemd-
There is this part:
for interface in $DNSMASQ_EXCEPT
do
[ $interface = lo ] && return
done
Before I had not defined DNSMASQ_EXCEPT in /etc/defaults/
Also if I define DNSMASQ_EXCEPT to my listen interface, it works - but is is really needed?
I found a other user which had the same problem:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: dnsmasq 2.75-1ubuntu0.
ProcVersionSign
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Jun 21 16:12:14 2018
InstallationDate: Installed on 2017-02-27 (479 days ago)
InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8)
PackageArchitec
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, no user)
LANG=de_DE.UTF-8
SourcePackage: dnsmasq
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Changed in dnsmasq (Debian): | |
status: | Unknown → New |
tags: | removed: server-next |
tags: | added: server-next |
Changed in dnsmasq (Ubuntu): | |
assignee: | nobody → Paride Legovini (paride) |
tags: | removed: server-next |
Changed in dnsmasq (Ubuntu): | |
assignee: | Paride Legovini (paride) → nobody |
Sounds related / similar to bug 1761096