-
Notifications
You must be signed in to change notification settings - Fork 13
run snclient as snclient user on linux #310
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
base: main
Are you sure you want to change the base?
run snclient as snclient user on linux #310
Conversation
1ba6441 to
a0d52fd
Compare
sni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great and i think we definitely should do this.
I will do some tests hopefully during the next days.
|
i am wondering if the sudo changes are actually required for something? Sudo is not used except in the tests so far. And if it's only used during testing, i don't think it should be part of the packaging. |
|
Do you mean the addition of the sudoers file with The hard dependency on sudo might be changed to a opt-depend I guess. |
|
ah, didn't see there is a dependency on sudo. There is one for alpine but ex. not for deb or rpm. Does it make sense to add it for all of them? |
|
Ah, I forgot then if it is not there in the deb and rpm. But on second thought sudo can be an optdepend perfectly fine, and if doas or other privilege escalation stuff is confirmed working that could be added as well? |
|
well, personally i'd prefer not having anything sudo related in the "base" packages here since it is kinda out of scope. The snclient itself does not use sudo. Sure, you can use it in external commands, but so you can with any other command. |
|
Ah oops, will rebase then, without sudo related stuff |
|
great, thanks. Could you please also remove the sudoers/snclient? I think it's more confusing then helping and if you use sudo in your setup, you have to roll out a sudo config anyway. |
See: ConSol-Monitoring#272 Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
See: ConSol-Monitoring#272 Signed-off-by: BlackEagle <ike.devolder@gmail.com>
eac3685 to
27e569e
Compare
|
The rebase should have all traces of sudo removed if I did not miss anything |
|
Looks good. Thanks for all the work. I'll wait till after the next release to merge this, so we can properly announce this change. |
See: #272