#3333 usermod -a -G bar foo fails due to some file providers races

Created a month ago by fidencio
Modified a month ago

# cat /etc/sssd/sssd.conf
config_file_version = 2
services = nss, pam
domains = shadowutils
debug_level = 0xFFFF0

filter_groups = root
filter_users = root
debug_level = 0xFFFF0

offline_credentials_expiration = 365
debug_level = 0xFFFF0

id_provider = proxy
proxy_lib_name = files

auth_provider = proxy
proxy_pam_target = sssd-shadowutils
proxy_fast_alias = True
debug_level = 0xFFFF0
# cat /etc/nsswitch.conf
passwd:     files sss
shadow:     files sss
group:      sss


useradd foo; groupadd bar; usermod -a -G bar foo

The output:

usermod: group 'bar' does not exist
a month ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.15.4

Login to comment on this ticket.