-
Notifications
You must be signed in to change notification settings - Fork 209
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃敟 Remove non-root directory logic #3234
base: master
Are you sure you want to change the base?
Conversation
Insights Client must be run as root. The logic determining log and lib directories for a non-root user is never used. Signed-off-by: 艩t臎p谩n Tomsa <[email protected]>
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.
I like this plan of removing dead code. 馃憤
Looks good, but keep in mind we do want to be able to run as non-root someday. Until then though, 馃憤 |
If non-root ever turns up as a requirement again, we'll need to take a new, holistic approach to it anyway, so I'm fine dropping unused code in the interim. |
Hi, @Glutexo! This issue has been reported and is being analyzed here: RHCLOUD-17392. |
Can one of the admins verify this patch? |
All Pull Requests:
Check all that apply:
Complete Description of Additions/Changes:
The Insights Client can only be run as root. There is a condition that prevents it from running for non-root users. The logic determining log and lib directories for a non-root user is never used.