-
Notifications
You must be signed in to change notification settings - Fork 257
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
Clients aren't given systemd session when logged in #7853
Comments
Hi, which version of SSSD and systemd are you using on which platform? There is an issue in some systemd versions where users with high POSIX IDs are not considered as regular users. I guess your PAM configuration has something like
Please check if there are any log messages during login from pam_systemd or systemd-logind, if not maybe adding bye, |
Unfortunately, this is quite fundamental thing that isn't resolved upstream: |
It's going to be a couple days till I can get back to it unfortunately, sorry for not providing more info up front. What I have off hand is:
I'm not really sure what the workaround is. Is it unreasonable to expect this scenario at the moment? |
https://gist.github.com/computerquip/d9e3841518fee93dfb01ee1f951438e8 <- Slightly cleansed so I don't get hit with more bots. As a side note, I can't seem to use userdbctl on the admin user now so I'm not clear on why I was able to previously but it was accurate. If I login with the domain user:
|
I don't think SSSD has anything to do with this. |
So just so I'm clear, IPA is assigning uids that are super high, systemd disagrees those are users and nobody on either side is reconciling. sssd is acting as the glue between the two and is sort of stuck in the middle. Does that about sum it up? I'm still not clear on what my choices are exactly... Maybe I can figure out if FreeIPA can change uid/gid range or something and try that. Feel free to close the issue whenever I suppose, I can't close it from this account and it might be a couple days. |
Hi, as long as you are using Fedora 41 there might be a different reason because it is working fine in my tests. E.g. I see
where you are seeing the bye, |
Doesn't seem to matter the method of login, after a fresh
realm-join
andipa-client-install
, I can login but the user can't use systemd utilities. Weirdly things like sudo work but things likesystemctl --user
oruserdbctl
do not. This appears to break things like cockpit. Relevant issue here: cockpit-project/cockpit#20150Honestly, I'm not sure if this is the right place to file an issue. I can't seem to figure out the cause or if this is even a supported use case. I would assume that cockpit had assumed this case was supported else that issue wouldn't exist.
Any insight would be great, thanks in advance.
The text was updated successfully, but these errors were encountered: