https://bugzilla.redhat.com/show_bug.cgi?id=1897205
Amith apeetham@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(apeetham@redhat.c | |om) |
--- Comment #2 from Amith apeetham@redhat.com --- (In reply to Alexey Tikhonov from comment #1)
Hi,
- I would expect 0x0040 level message from `sss_user_by_name_or_uid()` in
the log.
With debug_level = 0x0040 set in SSSD section, i could get only the following data from sssd.log file:
# cat sssd.log (2020-11-19 6:37:18:819963): [sssd] [get_service_user] (0x0010): Failed to set allowed UIDs. (2020-11-19 6:37:18:820023): [sssd] [get_monitor_config] (0x0020): Failed to get the unprivileged user (2020-11-19 6:37:18:820062): [sssd] [main] (0x0020): SSSD couldn't load the configuration database. (2020-11-19 6:37:18:996977): [sssd] [get_service_user] (0x0010): Failed to set allowed UIDs. (2020-11-19 6:37:18:997013): [sssd] [get_monitor_config] (0x0020): Failed to get the unprivileged user (2020-11-19 6:37:18:997051): [sssd] [main] (0x0020): SSSD couldn't load the configuration database. (2020-11-19 6:37:19:232383): [sssd] [get_service_user] (0x0010): Failed to set allowed UIDs. (2020-11-19 6:37:19:232440): [sssd] [get_monitor_config] (0x0020): Failed to get the unprivileged user (2020-11-19 6:37:19:232487): [sssd] [main] (0x0020): SSSD couldn't load the configuration database. (2020-11-19 6:37:19:491074): [sssd] [get_service_user] (0x0010): Failed to set allowed UIDs. (2020-11-19 6:37:19:491112): [sssd] [get_monitor_config] (0x0020): Failed to get the unprivileged user (2020-11-19 6:37:19:491147): [sssd] [main] (0x0020): SSSD couldn't load the configuration database. (2020-11-19 6:37:19:743258): [sssd] [get_service_user] (0x0010): Failed to set allowed UIDs. (2020-11-19 6:37:19:743302): [sssd] [get_monitor_config] (0x0020): Failed to get the unprivileged user (2020-11-19 6:37:19:743351): [sssd] [main] (0x0020): SSSD couldn't load the configuration database.
here is the sssd.conf settings:
# cat /etc/sssd/sssd.conf [sssd] config_file_version = 2 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam, ifp debug_level = 0x0040 user = sssd
[nss] filter_groups = root filter_users = root reconnection_retries = 3
[pam] reconnection_retries = 3
[ifp] allowed_uids = root user_attributes = +mail, +givenname, +sn debug_level = 0x0040
Does sssd.conf correspond log provided? (I don't see `debug_microseconds` enabled in sssd.conf, but microseconds are in the log.)
- could you please provide output of `id sssd` on this system?
In the case of RHEL-8.4.0, "sssd" user gets created automatically. Here is the sssd rpm version and id command output: # rpm -q sssd sssd-2.3.0-9.el8.x86_64
# id sssd uid=996(sssd) gid=993(sssd) groups=993(sssd)
In the case of Fedora-33, "sssd" user is not created at all. # rpm -q sssd sssd-2.4.0-2.fc33.x86_64
# id sssd id: ‘sssd’: no such user