aiccu fails to start if DNS services are not started
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aiccu (Ubuntu) |
Fix Released
|
Medium
|
James Page |
Bug Description
I run a DNS server and aiccu on the same server; they act as a home gateway with IPv6 enabled.
I would imagine this might be a common deployment scenario.
aiccu tries to start before bind and as a result aborts during startup:
aiccu[907]: Couldn't resolve host tic.sixxs.net, service 3874
aiccu[907]: Couldn't connect to the TIC server tic.sixxs.net
aiccu[907]: Couldn't retrieve first tunnel for the above reason, aborting
Switching the start on stanza to runlevel [2345] helps but its still racey...
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: aiccu 20070115-
ProcVersionSign
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Wed Mar 28 13:34:45 2012
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Beta amd64 (20110413)
SourcePackage: aiccu
UpgradeStatus: Upgraded to precise on 2012-03-02 (25 days ago)
Related branches
Changed in aiccu (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → James Page (james-page) |
status: | Confirmed → In Progress |
James,
I see your problem, but I cannot find a general fix for your problem at the moment.
Until then two quick and dirty solutions: EITHER
- add tic.sixxs.net and the endpoint of your tunnel to /etc/hosts
OR
- change "start on net-device-up IFACE!=lo" to "start on started bind9 and net-device-up IFACE!=lo"
(last one should work, but not tested, I will do, if you have any problems)
Problem is: you cannot add a general dependency to bind in the upstart configuration, because if no bind is installed it won't match anytime.