https://bugzilla.redhat.com/show_bug.cgi?id=1269191
--- Comment #2 from Victor Costan <costan(a)gmail.com> ---
My workaround is documented below. After following these steps, skydns works
perfectly for me. Thank you very much for packaging it!
1) I wrote the following in /etc/systemd/system/skydns.socket (the package
would presumably use /usr/lib/systemd/system/skydns.socket instead):
[Socket]
ListenStream=0.0.0.0:53
ListenDatagram=0.0.0.0:53
[Install]
WantedBy=sockets.target
2) I set systemd to true in skydns's etcd config:
etcdctl set /skydns/config \
'{"ttl": 3600, "systemd": true, "domain":
"skydns.local."}'
I also submitted a PR to skydns to make it possible to set an environment
variable instead, which could be done in skydns.conf.
https://github.com/skynetservices/skydns/pull/229
The skydns package could also interpolate an env var like OTHER_OPTIONS in the
skydns command line, along the lines of what the docker package does.
Specifically, in skydns.service
ExecStart=/usr/bin/skydns $OTHER_OPTIONS
This way, one could set OTHER_OPTIONS="--systemd" in skydns.conf
3) I manually enabled and started the socket. I'm not sure that's necessary.
systemctl enable skydns.socket
systemctl start skydns.socket
--
You are receiving this mail because:
You are on the CC list for the bug.