Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Conversation

@slackpad
Copy link
Contributor

This takes #24 and makes it opt-in via an environment variable.

Closes #24
Closes #15

/cc @jefferai

Geza Buza and others added 2 commits September 14, 2016 15:00
Listening on TCP/UDP ports below 1024 require to be the root user or to have the CAP_NET_BIND_SERVICE Linux capability.
Currently Consul is run as the consul user. As an example when a privileged port is configured for DNS, the following
error is reported upon container start:
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Error starting dns server: dns udp setup failed: listen udp 0.0.0.0:53: bind: permission denied

This commit grants the CAP_NET_BIND_SERVICE capability to the /bin/consul binary.
@slackpad slackpad merged commit e92d1bd into master Sep 14, 2016
@slackpad slackpad deleted the pr-24-slackpad branch September 14, 2016 22:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant