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

TESTS: don't use deprecated sssd.conf::user option #7266

Closed
wants to merge 1 commit into from

Conversation

alexey-tikhonov
Copy link
Member

Currently when SSSD is built '--with-sssd-user=sssd' it's also configured to run under 'sssd' user by default via sssd.service, so that sssd.conf::user option is ignored anyway.
Since sssd.conf::user is deprecated and will go away, it doesn't make much sense to put effort into testing it.
What makes sense is to test sssd.service::User option, but this is out of scope of this patch.

Copy link
Contributor

@jakub-vavra-cz jakub-vavra-cz left a comment

Choose a reason for hiding this comment

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

I see client.sssd.set_service_user(sssd_service_user) in the code which results in undefined variable.
E fixture 'sssd_service_user' not found

Currently when SSSD is built '--with-sssd-user=sssd' it's also
configured to run under 'sssd' user by default via sssd.service,
so that sssd.conf::user option is ignored anyway.
Since sssd.conf::user is deprecated and will go away, it doesn't
make much sense to put effort into testing it.
What makes sense is to test sssd.service::User option, but this is
out of scope of this patch.
@jakub-vavra-cz
Copy link
Contributor

LGTM.

Copy link
Contributor

@aplopez aplopez left a comment

Choose a reason for hiding this comment

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

LGTM

@alexey-tikhonov
Copy link
Member Author

alexey-tikhonov commented Apr 4, 2024

I realized it might make sense to change implementation of set_service_user() to configure 'sssd.service::User' (and related stuff) instead of 'sssd.conf::user' and leave parametrization intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deferred no-backport This should go to target branch only. non-privileged Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants