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

Created 6 months ago by fidencio
Modified a month ago

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

[nss]
filter_groups = root
filter_users = root
debug_level = 0xFFFF0

[pam]
offline_credentials_expiration = 365
debug_level = 0xFFFF0

[domain/shadowutils]
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

Reproducer:

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

The output:

usermod: group 'bar' does not exist
6 months ago

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

a month ago

Metadata Update from @jhrozek:
- Issue priority set to: minor

Login to comment on this ticket.

cancel