[Dnsmasq-discuss] openvpn + dnsmasq
Simon Kelley
simon at thekelleys.org.uk
Mon Jul 6 21:56:08 BST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Guessing the German error messages, this might be fixable by replacing
bind-interfaces in your dnsmasq configuration with bind-dynamic.
Cheers,
Simon.
On 06/07/15 06:27, Johannes Martin wrote:
> Hi Anton,
>
> it might have helped if the error messages weren't in German...
> ;-)
>
> Debian Jessie is using systemd as init system. systemd does not
> always start legacy services (those described in /etc/init.d rather
> than /etc/init) in the order you would expect (for more details,
> see
> https://utcc.utoronto.ca/~cks/space/blog/linux/SystemdAndSysVInitScripts).
>
> So it is possible that in your setup systemd starts openvpn and
> dnsmasq in parallel or in the wrong order rather than in
> alphabetical sequence.
>
> To fix this, you could either: a) convert the SYSV init scripts to
> systemd init scripts. b) add LSB standard comment blocks to the
> existing SYSV init scripts to declare the dependency between
> opendns and dnsmasq.
>
> Hope this helps Johannes
>
> On Sun, 5 Jul 2015, Anton Blau wrote:
>
>> Is this a bad question?
>>
>> Am 21.06.2015 um 21:13 schrieb Anton Blau:
>>> Hello,
>>>
>>> please excuse my bad englisch. I am not a native speaker.
>>>
>>> I run dnsmasq with openvpn on my Debian Router. After the
>>> upgrade to jessie dnsmasq crashes on the boot because the
>>> openvpn device isn´t up.
>>>
>>> openvpn starts as /etc/rc5.d/S02openvpn and dnsmasq starts as
>>> /etc/rc5.d/S03dnsmasq
>>>
>>> In /var/log/syslog I got this error-message:
>>>
>>> Jun 21 07:46:09 router dnsmasq[999]: dnsmasq: Konnte
>>> Empfangs-Socket für 192.168.10.1: Die angeforderte Adresse kann
>>> nicht zugewiesen werden nicht erzeugen Jun 21 07:46:09 router
>>> dnsmasq[999]: Konnte Empfangs-Socket für 192.168.10.1: Die
>>> angeforderte Adresse kann nicht zugewiesen werden nicht
>>> erzeugen Jun 21 07:46:09 router dnsmasq[999]: Start
>>> fehlgeschlagen Jun 21 07:46:09 router systemd[1]:
>>> dnsmasq.service: control process exited, code=exited status=2
>>> Jun 21 07:46:09 router systemd[1]: Failed to start dnsmasq - A
>>> lightweight DHCP and caching DNS server. Jun 21 07:46:09 router
>>> systemd[1]: Dependency failed for Host and Network Name
>>> Lookups. Jun 21 07:46:09 router systemd[1]: Unit
>>> dnsmasq.service entered failed state.
>>>
>>> How is it possible to check openvpn bevor starting dnsmasq?
>>>
>>> Thank you!
>>>
>>>
>>> Tony
>>>
>>> _______________________________________________ Dnsmasq-discuss
>>> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
>>
>>
>>>
_______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>
>>
>
> ---
>
> Mit zwei Euro im Monat helfen: http://www.2-euro-helfen.de/ Help to
> fight hunger and injustice in our world: http://www.devp.org/
> http://www.oxfam.org/
>
>
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVmutnAAoJEBXN2mrhkTWiIJwP/0MV9oMidGWnW5VpH3dSnH+8
rrYQUMgFsQrQ3SIH0DZnyIjq0HMa8BXYq8sodACbjaDNmM/DeT622xhTC4Bb9OyH
C9FXS5IwIGUWYTe64pUNEKjTvWLROjAX3IkNTfBICyc7y9aWGTAozjUM08+w4t28
FhtyQgkIoYWOCiz3BG80u8h9Mud2IK4ytvts5+5L9pFbQPuj0Bd93CRbwbtvXAO+
+PeD5iAHzVEiZLzutFLIPpk1dOaBBhwhtdc9yrv/2tbRDnF1hXP2JFGEUZ+Q96YI
GCnvJChEph7QAIVwCkOVYVgfGwPEbmdOhiRuoXoPaMn9fDyQK4DSBCOMgqXfhBCJ
eYyC7DaHLgWYIN731sxZMA5VaFJtnbxGa4+hoEJihBR74CGk28MF27Tb61e5lhyw
QW9OW63l11cZAYMt39r7BPUiSntOtV0/K6UX4izcpiYRlZRii3YLQbPrWJ1d0Fm8
DU2lCyCii0Bc+z+z9L35snyGPKOIaxLIkpTXlUl2HSE4koFxjyB4d/9NzXOj+C+T
7ma8HHEoaOouy071Clo7L8UOm8mmMowSQvfji6HlqBWybdBGAcDSeayCj9mwyIS9
XdjNNqDCAKhwYYHUJNOPSROLFAzTRGnSXSnABHJFuF14qcbvzqzydU5FwXmtnwN+
vcBNE/cFhuocw+Ij5UOT
=AzUW
-----END PGP SIGNATURE-----
More information about the Dnsmasq-discuss
mailing list