#3333 usermod -a -G bar foo fails due to some file providers races
Closed: Fixed 5 years ago Opened 7 years ago by fidencio.

# 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

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

7 years ago

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

6 years ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.1 (was: SSSD 1.15.4)

6 years ago

Metadata Update from @jhrozek:
- Issue tagged with: postpone-to-2-0

6 years ago

Metadata Update from @jhrozek:
- Issue untagged with: postpone-to-2-0
- Issue set to the milestone: SSSD 2.0 (was: SSSD 1.16.1)

6 years ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1 (was: SSSD 2.0)

5 years ago

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4364

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata