Bug#838385: Inappropriate use of update-alternatives for /etc/zookeeper/conf

tony mancill tmancill at debian.org
Mon Jan 15 19:07:25 UTC 2018


On Tue, 20 Sep 2016 14:49:22 -0400 Simon Ruggier <simon80 at gmail.com> wrote:
> Package: zookeeper
> Version: 3.3.5+dfsg1-2+deb7u2
> 
> The zookeeper package uses update-alternatives to manage a symlink at
> /etc/zookeeper/conf. This seems wrong to me for several reasons:
> ...
> I'd suggest updating the package to migrate away from this, and just
> install conf_example as a plain directory at /etc/zookeeper/conf.

I agree that this seems overly complicated.

I'm not sure exactly how to undo the situation safely for current
installs without doing some research and testing.  I suppose the
maintainer scripts can take whatever is pointed to by the current
alternative and copy that into a temporary directory that is then
renamed to "/etc/zookeeper/conf" after the alternative is deleted.

Thank you for the bug report.

Cheers,
tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20180115/385a2a12/attachment.sig>


More information about the pkg-java-maintainers mailing list