-
Notifications
You must be signed in to change notification settings - Fork 20
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
Incompatible with proc hidepid=2? #9
Comments
Yes. Not sure how easy this is to fix. You might need to make your |
Yeah, of course, but still: that's a workaround, not a proper fix and behavior. |
This workaround doesn't actually work. Still |
@Maryse47 Are you sure? What did you try? So, I think the problem is that as part of "dropping privileges" (which can be disabled with
Seems it needs quite a bit of code to do that, though. I would prefer to kill all the privilege dropping and resource limits code from rtkit and add equivalent directives to the systemd service unit. Arch Linux would be fine with this, but I don't know if all my other downstreams would appreciate it. |
@heftig I changed Honestly I wouldn't mind to get rid of |
@heftig drop it or make it optional. This project is anyway on maintenance mode already so we should prob should simplify it so it is more maintainable. |
Is there no workaround for this other than disabling hidepid? |
You can remove/disable rtkit if you don't need it. |
Unfortunately i do need it for pulseaudio and pulseeffects. Looking at the code can it not be resolved by just sending in the proc group in rtkit-daemon.c:1762 if (setgroups(0, NULL) < 0 || ? That call clears all the supplementary groups right now. |
I just recompiled with the following change and i can now use hidepid=2,gid=proc with rtkit working. Group proc has id 26 on my system.
|
Hello.
I use
/proc
mounted with (among other options)hidepid=2,gid=133
In that group (named
nohidepid
) among others I have added thertkit
user.It still doesn't work.
I tried
Doesn't work even after a reboot.
The privilege dropping seems to discard supplementary groups :-(
Thanks!
The text was updated successfully, but these errors were encountered: