[pkg-go] Rewrite of etcd init script

Jelmer Vernooij jelmer at debian.org
Mon Sep 28 23:39:41 UTC 2015

On Tue, Sep 29, 2015 at 09:31:50AM +1000, Dmitry Smirnov wrote:
> On Monday 28 September 2015 23:14:55 Jelmer Vernooij wrote:
> > > Why are you so concerned about it?
> > 
> > It doesn't work.
> What specifically? Etcd is sensitive to names of variables hence there is a 
> possibility for typo. I've checked vars with documentation assuming it is 
> accurate... I did not test all variables but some of them like ETCD_NAME, 
> ETCD_INITIAL_CLUSTER_STATE, etc. work for me as I was able to successfully 
> bootstrap etcd member in clean SysV/sid environment using new style config.
etcd doesn't start with the expected settings.

Can you reproduce setting up an etcd member in a sid environment?

> > That just makes the variables available to the init script, it doesn't
> > export them - so they're not available to the etcd binary.
> This is not what I observe here. Perhaps we could add explicit exports but I 
> wonder how (and why) it does not work for you.
Even so, how are you expecting this to work? How are these environment
variables supposed to be picked up by etcd if they're not exported?


Jelmer Vernooij <jelmer at debian.org>
Debian Developer                           https://jelmer.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20150928/5e165cdb/attachment.sig>

More information about the Pkg-go-maintainers mailing list