Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove broken options runoptions.uid and runoptions.gid #5261

Merged
merged 2 commits into from Sep 28, 2017

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Sep 28, 2017

These were meant to allow dropping privileges in Packetbeat, but they no longer
worked for a good while (since Golang 1.4). As shown in #3542, a better way
of running Packetbeat as a non-root user is to use capabilities:

setcap cap_net_raw,cap_net_admin=eip packetbeat

Closes #3542.

These were meant to allow dropping privileges in Packetbeat, but they no longer
worked for a good while (since Golang 1.4). As shown in elastic#3542, a better way
of running Packetbeat as a non-root user is to use capabilities:

    setcap cap_net_raw,cap_net_admin=eip packetbeat

Closes elastic#3542.
@tsg tsg added needs_backport PR is waiting to be backported to other branches. Packetbeat review labels Sep 28, 2017
Copy link
Member

@ruflin ruflin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WFG

@ruflin ruflin merged commit 9a3ab3f into elastic:master Sep 28, 2017
tsg added a commit to tsg/beats that referenced this pull request Oct 3, 2017
These were meant to allow dropping privileges in Packetbeat, but they no longer
worked for a good while (since Golang 1.4). As shown in elastic#3542, a better way
of running Packetbeat as a non-root user is to use capabilities:

    setcap cap_net_raw,cap_net_admin=eip packetbeat

Closes elastic#3542.

(cherry picked from commit 9a3ab3f)
@tsg tsg removed the needs_backport PR is waiting to be backported to other branches. label Oct 3, 2017
ruflin pushed a commit that referenced this pull request Oct 4, 2017
These were meant to allow dropping privileges in Packetbeat, but they no longer
worked for a good while (since Golang 1.4). As shown in #3542, a better way
of running Packetbeat as a non-root user is to use capabilities:

    setcap cap_net_raw,cap_net_admin=eip packetbeat

Closes #3542.

(cherry picked from commit 9a3ab3f)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
elastic#5309)

These were meant to allow dropping privileges in Packetbeat, but they no longer
worked for a good while (since Golang 1.4). As shown in elastic#3542, a better way
of running Packetbeat as a non-root user is to use capabilities:

    setcap cap_net_raw,cap_net_admin=eip packetbeat

Closes elastic#3542.

(cherry picked from commit 7fd75b5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants