[pkg-go] Rewrite of etcd init script

Dmitry Smirnov onlyjob at debian.org
Mon Sep 28 23:31:50 UTC 2015


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_LISTEN_*, ETCD_INITIAL_CLUSTER, ETCD_INITIAL_ADVERTISE_PEER_URLS, 
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.


> 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.

-- 
Cheers,
 Dmitry Smirnov.

---

I hate all sports as rabidly as a person who likes sports hates common
sense.
        -- H. L. Mencken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20150929/e53a3f4c/attachment.sig>


More information about the Pkg-go-maintainers mailing list