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

Bug: SELinux state isn't correctly shown #2298

Open
zputnyq opened this Issue Feb 10, 2019 · 6 comments

Comments

Projects
None yet
2 participants
@zputnyq
Copy link

zputnyq commented Feb 10, 2019

What happened?

SELinux state isn't correctly shown on overview

What did you expect to happen?

It should show the correct SELinux state

How can I reproduce the issue?

Tap overview, start it then see root status section

Comments

It should show the correct SELInux state

SD Maid

Version: 4.12.3 (41203)
Unlocker: 4.3.6 (40306) (true)

Device

Root: RootContext(rootState=Root(state=ROOTED)
Fingerprint: Sony/E2306/E2306:6.0.1/26.3.A.1.33/1954918276:user/release-keys

@d4rken

This comment has been minimized.

Copy link
Owner

d4rken commented Feb 10, 2019

What is it showing and what do you expect it to show?

@zputnyq

This comment has been minimized.

Copy link
Author

zputnyq commented Feb 11, 2019

It should shows permissive as it's the state on my device. But on SDMaid it shows enforce[
_20190211_112305
_20190211_112125

](url)

@d4rken

This comment has been minimized.

Copy link
Owner

d4rken commented Feb 11, 2019

What does getenforce output if you run it without root?

@zputnyq

This comment has been minimized.

Copy link
Author

zputnyq commented Feb 11, 2019

I can't get any output.
On termux it says command not found.
On terminal emulator 'permission denied'.
However I checked the enforce file using explorer that support root it shows '0'

@d4rken

This comment has been minimized.

Copy link
Owner

d4rken commented Feb 11, 2019

SD Maid checks without root and on permission denied defaults to ENFORCING.

I'll look into whether we can use root for the check. Though if we have root, the SELINUX state is a bit less interesting to us 😆

@zputnyq

This comment has been minimized.

Copy link
Author

zputnyq commented Feb 11, 2019

Ok, no problem :-)

@d4rken d4rken modified the milestones: Next Tasks, v4.13.2, Blue Sky Feb 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment