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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敟 Remove non-root directory logic #3234

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Glutexo
Copy link
Collaborator

@Glutexo Glutexo commented Sep 24, 2021

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

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.

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]>
@Glutexo Glutexo self-assigned this Sep 24, 2021
Copy link
Collaborator

@subpop subpop left a 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. 馃憤

@gravitypriest
Copy link
Contributor

Looks good, but keep in mind we do want to be able to run as non-root someday. Until then though, 馃憤

@subpop
Copy link
Collaborator

subpop commented Sep 24, 2021

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.

@bfahr bfahr added the client These issues represent work to be done by the "client" team. label Sep 27, 2021
@clarabez
Copy link

Hi, @Glutexo!
We've identified that setup pipeline is failing for RHEL6 on "QE Pull Request Testing", but it is working as expected for RHEL79, RHEL84 and RHEL90.

This issue has been reported and is being analyzed here: RHCLOUD-17392.

@candlepin-bot
Copy link

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client These issues represent work to be done by the "client" team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants