-
Notifications
You must be signed in to change notification settings - Fork 252
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
KCM uses its own configuration #6948
Conversation
7b02332
to
82b0512
Compare
Please rebase on the top of latest 'master'. Some CI failures should be fixed. |
What bothers me is that 'config_kcm.ldb' will have entire 'sssd.conf' content while it only needs '[kcm]' section. |
It only has the [kcm] section. |
I'm removing it in #6908... |
Now when #6924 was merged, could you please rebase again? |
Done |
All failing test are doing so because of external reasons. |
KCM configuration is still stored in
Will removing |
Here - #6908 |
Ideally 'sssd_kcm' should have its own config file (and there are not many reason to name it 'sssd_' actually). But transition to new config file should be gradual, we should keep supporting sssd.conf for kcm server - to avoid breaking existing setups. I'm not sure if it's worth the effort to make sure [kcm] section doesn't get unto sssd's config.ldb... |
If we are going that way, I think we should create a separate ticket and do all those changes separately and properly instead of using this PR. |
This is actually |
True. I will correct the description. |
A couple of minor comments, otherwise looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, thank you.
Latest version still references /var/lib/sss/db/config_kcm.ldb' |
Can you please be more specific? Where is |
In the commit message of |
KCM now uses the ${SSS_STATEDIR}/db/config_kcm.ldb database to store its configuration. config.ldb is no longer used by KCM. The configuration text file remains the same. Resolves: SSSD#6926
Fixed. |
Thanks, ACK. |
Pushed PR: #6948 |
CONFDB: Fixed some missing dependencies in a header file
This header file was missing some
#include
s it needs.CONFDB: Allow loading an empty configuration
This is done with a parameter. The old behavior is kept for the other components than KCM.
UTILS: Add the db file name to server_setup()'s parameters
Helper for the last commit.
UTILS: Create a macro for the
--config
optionHelper for the last commit.
KCM handles its own configuration
KCM now uses the
${SSS_STATEDIR}/db/config_kcm.ldb
database to store its configuration.config.ldb
is no longer used by KCM.Resolves: #6926