Bug#1025042: zookeeperd: zookeeper may be started before network and crashes

Christoph Anton Mitterer calestyo at scientia.org
Tue Nov 29 02:05:15 GMT 2022


Package: zookeeperd
Version: 3.8.0-10
Severity: important


Hey.

The init.d script doesn't require networking, therefore it may happen.
that e.g. systemd starts zookeeper before the network is brought up,
in which case zookeeper crashes, as it cannot bind to the configured
server.N-option address.

Could be solved either by using e.g.:
# Required-Start:    $remote_fs $network
# Required-Stop:     $remote_fs $network

or by solving bug #950386 and providing systemd units, which would
make this bug obsole (unless sysvinit compatibility was to be kept).


Cheers,
Chris.



More information about the pkg-java-maintainers mailing list