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

Handle polkit-agent-helper-1 not setuid root in CC #13894

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

rfan1
Copy link
Contributor

@rfan1 rfan1 commented Dec 20, 2021

In cc setup, 'polkit-agent-helper-1' file is not setuid root
by default, then it will impact our polkit tests, current
workaround is "chmod u+s" for this file in our openQA test code.
it is a not good way to change the default file permission to
pass the test, so enhance our test code to handle it.

BTW, the code change is done in cc test code already:
https://gitlab.suse.de/security/audit-test-sle15/-/merge_requests/44

In cc setup, 'polkit-agent-helper-1' file is not setuid root
by default, then it will impact our polkit tests, current
workaround is "chmod u+s" for this file in our openQA test code.
it is a not good way to change the default file permission to
pass the test, so enhance our test code to handle it.
Copy link
Contributor

@lilyeyes lilyeyes left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@ShawnHa0 ShawnHa0 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jouyingbin jouyingbin left a comment

Choose a reason for hiding this comment

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

LGTM

@Amrysliu Amrysliu merged commit 5a08455 into os-autoinst:master Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants