lighttpd does not start automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lighttpd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
lighttpd does not start automatically even if it is configured to start automatically. Starting it manually after the system is up works.
Looks like lighttpd fails because dnsmasq does start late and trying to resolve hosts name fails. In tune lighttpd stops and is not restarted by systemd.
dnsmasq may start late if some interfaces are created late it is configured to bind to. I am seeing this problem with installed:
- vmware workstation
- vmware player
- virtual box
- kvm (if networking is build up via script while starting kvm)
dnsmasq may delay starting in such cases until all interfaces are up and configured. lighttpd does not wait until this happened. It bails out with resolver errors.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lighttpd 1.4.35-4ubuntu2
ProcVersionSign
Uname: Linux 4.4.0-43-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Thu Oct 13 17:06:07 2016
InstallationDate: Installed on 2014-01-31 (986 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: lighttpd
UpgradeStatus: Upgraded to xenial on 2016-09-06 (37 days ago)
mtime.conffile.
Duplicate #1811073