[Opendnssec-user] dendency wrong in ubuntu packages
ondrej at sury.org
Mon Dec 12 15:07:00 UTC 2016
this has to be solved in OpenDNSSEC itself.
While I could in theory add:
to init scripts that would only work:
a) if mysqld actually starts to listen before opendnssec is started
(f.e. it could start checking the databases in background, etc.)
(fortunately in this case, the Debian init.d scripts waits for MySQL to
b) if mysql is running on the same machine
Therefore OpenDNSSEC needs to be able to cope with MySQL not running and
start the daemon, but wait for MySQL to become available before doing
anything, instead of failing.
Also don't think that init daemons generally has option to wait for
MySQL only if MySQL is actually installed. With Debian insserv it would
probably work, because the "Required-Start:" would get probably ignored
if not available. But with upstart or systemd this is not possible and
it's up to the local administrator to configure the daemons to run in
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu
On Fri, Dec 9, 2016, at 22:59, Bas van den Dikkenberg wrote:
> I will try :-P
> I am dyslectic so i hope i can make you understand:
> Because we use the MySQL database we installed the packages :
> Correct ?
> The issue now Is that Opendnssec failed to start because MySQL is not up.
> So when you install the Opendnssec-enforcer-MySQL there should be made an
> dependency of some kind to MySQL so it waits for MySQL to started.
> -----Oorspronkelijk bericht-----
> Van: Opendnssec-user
> [mailto:opendnssec-user-bounces at lists.opendnssec.org] Namens Ondrej Surý
> Verzonden: vrijdag 9 december 2016 10:52
> Aan: opendnssec-user at lists.opendnssec.org
> Onderwerp: Re: [Opendnssec-user] dendency wrong in ubuntu packages
> Hi Bas,
> could you please be more precise about what is wrong? Perhaps exact
> listing of what is wrong, how do you think it should be fixed and how to
> reproduce the issue would be helpful.
> Ondřej Surý <ondrej at sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server Knot
> Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware, fast
> DNS(SEC) resolver Vše pro chleba (https://vseprochleba.cz) – Mouky ze
> mlýna a potřeby pro pečení chleba všeho druhu
> On Thu, Dec 8, 2016, at 23:25, Bas van den Dikkenberg wrote:
> > Hi,
> > I use the repo of Ondřej Surý, They work perfect only the problem is I
> > am running in mysql setup for production like opendnssec recommended.
> > But for the start opendnssec does not depend on MySQL, and there for
> > the start failed. Just do restart and all work like sharm.
> > May this can be fixed in packeges
> > don't know if this is an issue for dev team or for Ondřej or both so
> > I send him an cc?
> > With kind regards,
> > Bas
> > _______________________________________________
> > Opendnssec-user mailing list
> > Opendnssec-user at lists.opendnssec.org
> > https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
More information about the Opendnssec-user