Bug 1680446 - SSSD does not allow usermod to add a user to a group
Summary: SSSD does not allow usermod to add a user to a group
Keywords:
Status: CLOSED DUPLICATE of bug 1659656
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 29
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Hrozek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-25 03:38 UTC by Jeffrey Walton
Modified: 2019-02-25 09:35 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-25 09:35:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jeffrey Walton 2019-02-25 03:38:47 UTC
I'm using Fedora 29 x96_64 fully patched. I'm trying to use my modem without the need for sudo. I should be able to usermod my account and be done with it.

$ ls -Al /dev/ttyS0
crw-rw----. 1 root dialout 4, 64 Feb 24 22:23 /dev/ttyS0

SSSD does not allow me to add my account to dialout group. I had to remove SSSD so I could add my account to the dialout group.

Something seems amiss since sssd(8) man page says sssd is for mounting remote directories (which I don't do on this machine).

$ sudo usermod -a -G dialout jwalton
(Sun Feb 24 22:26:35:168766 2019) [sss_cache] [confdb_get_domains] (0x0010): No domains configured, fatal error!
Could not open available domains
usermod: sss_cache exited with status 2
usermod: Failed to flush the sssd cache.

$ sudo dnf remove sssd
Dependencies resolved.
================================================================================
 Package                Arch       Version                   Repository    Size
================================================================================
Removing:
 sssd                   x86_64     2.0.0-5.fc29              @updates      34 k
Removing unused dependencies:
 adcli                  x86_64     0.8.2-2.fc29              @fedora      265 k
 c-ares                 x86_64     1.13.0-5.fc29             @fedora      221 k
 cyrus-sasl-gssapi      x86_64     2.1.27-0.3rc7.fc29        @fedora       41 k
 libdhash               x86_64     0.5.0-41.fc29             @fedora       60 k
 libipa_hbac            x86_64     2.0.0-5.fc29              @updates      61 k
 libsss_autofs          x86_64     2.0.0-5.fc29              @updates      65 k
 libsss_certmap         x86_64     2.0.0-5.fc29              @updates     119 k
 libsss_idmap           x86_64     2.0.0-5.fc29              @updates      77 k
 libsss_nss_idmap       x86_64     2.0.0-5.fc29              @updates      89 k
 libsss_sudo            x86_64     2.0.0-5.fc29              @updates      58 k
 python3-sssdconfig     noarch     2.0.0-5.fc29              @updates     185 k
 sssd-ad                x86_64     2.0.0-5.fc29              @updates     377 k
 sssd-client            x86_64     2.0.0-5.fc29              @updates     249 k
 sssd-common            x86_64     2.0.0-5.fc29              @updates     4.9 M
 sssd-common-pac        x86_64     2.0.0-5.fc29              @updates     247 k
 sssd-ipa               x86_64     2.0.0-5.fc29              @updates     708 k
 sssd-krb5              x86_64     2.0.0-5.fc29              @updates      83 k
 sssd-krb5-common       x86_64     2.0.0-5.fc29              @updates     292 k
 sssd-ldap              x86_64     2.0.0-5.fc29              @updates     141 k
 sssd-nfs-idmap         x86_64     2.0.0-5.fc29              @updates      41 k
 sssd-proxy             x86_64     2.0.0-5.fc29              @updates     138 k

Transaction Summary
================================================================================
Remove  22 Packages

Freed space: 8.4 M
Is this ok [y/N]: Y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Running scriptlet: sssd-2.0.0-5.fc29.x86_64                               1/1
  Erasing          : sssd-2.0.0-5.fc29.x86_64                              1/22
  Erasing          : sssd-ipa-2.0.0-5.fc29.x86_64                          2/22
  Erasing          : sssd-ad-2.0.0-5.fc29.x86_64                           3/22
  Erasing          : sssd-common-pac-2.0.0-5.fc29.x86_64                   4/22
  Erasing          : sssd-ldap-2.0.0-5.fc29.x86_64                         5/22
  Erasing          : sssd-proxy-2.0.0-5.fc29.x86_64                        6/22
  Erasing          : sssd-krb5-2.0.0-5.fc29.x86_64                         7/22
  Erasing          : python3-sssdconfig-2.0.0-5.fc29.noarch                8/22
  Erasing          : sssd-krb5-common-2.0.0-5.fc29.x86_64                  9/22
  Running scriptlet: sssd-common-2.0.0-5.fc29.x86_64                      10/22
  Erasing          : sssd-common-2.0.0-5.fc29.x86_64                      10/22
  Running scriptlet: sssd-common-2.0.0-5.fc29.x86_64                      10/22
  Running scriptlet: sssd-client-2.0.0-5.fc29.x86_64                      11/22
  Erasing          : sssd-client-2.0.0-5.fc29.x86_64                      11/22
  Running scriptlet: sssd-client-2.0.0-5.fc29.x86_64                      11/22
  Erasing          : adcli-0.8.2-2.fc29.x86_64                            12/22
  Running scriptlet: adcli-0.8.2-2.fc29.x86_64                            12/22
  Erasing          : cyrus-sasl-gssapi-2.1.27-0.3rc7.fc29.x86_64          13/22
  Erasing          : libsss_idmap-2.0.0-5.fc29.x86_64                     14/22
  Running scriptlet: libsss_idmap-2.0.0-5.fc29.x86_64                     14/22
  Erasing          : libsss_nss_idmap-2.0.0-5.fc29.x86_64                 15/22
  Running scriptlet: libsss_nss_idmap-2.0.0-5.fc29.x86_64                 15/22
  Erasing          : c-ares-1.13.0-5.fc29.x86_64                          16/22
  Running scriptlet: c-ares-1.13.0-5.fc29.x86_64                          16/22
  Erasing          : libdhash-0.5.0-41.fc29.x86_64                        17/22
  Erasing          : libsss_certmap-2.0.0-5.fc29.x86_64                   18/22
  Running scriptlet: libsss_certmap-2.0.0-5.fc29.x86_64                   18/22
  Erasing          : libsss_autofs-2.0.0-5.fc29.x86_64                    19/22
  Erasing          : libsss_sudo-2.0.0-5.fc29.x86_64                      20/22
  Running scriptlet: libsss_sudo-2.0.0-5.fc29.x86_64                      20/22
  Erasing          : sssd-nfs-idmap-2.0.0-5.fc29.x86_64                   21/22
  Erasing          : libipa_hbac-2.0.0-5.fc29.x86_64                      22/22
  Running scriptlet: libipa_hbac-2.0.0-5.fc29.x86_64                      22/22
  Verifying        : adcli-0.8.2-2.fc29.x86_64                             1/22
  Verifying        : c-ares-1.13.0-5.fc29.x86_64                           2/22
  Verifying        : cyrus-sasl-gssapi-2.1.27-0.3rc7.fc29.x86_64           3/22
  Verifying        : libdhash-0.5.0-41.fc29.x86_64                         4/22
  Verifying        : libipa_hbac-2.0.0-5.fc29.x86_64                       5/22
  Verifying        : libsss_autofs-2.0.0-5.fc29.x86_64                     6/22
  Verifying        : libsss_certmap-2.0.0-5.fc29.x86_64                    7/22
  Verifying        : libsss_idmap-2.0.0-5.fc29.x86_64                      8/22
  Verifying        : libsss_nss_idmap-2.0.0-5.fc29.x86_64                  9/22
  Verifying        : libsss_sudo-2.0.0-5.fc29.x86_64                      10/22
  Verifying        : python3-sssdconfig-2.0.0-5.fc29.noarch               11/22
  Verifying        : sssd-2.0.0-5.fc29.x86_64                             12/22
  Verifying        : sssd-ad-2.0.0-5.fc29.x86_64                          13/22
  Verifying        : sssd-client-2.0.0-5.fc29.x86_64                      14/22
  Verifying        : sssd-common-2.0.0-5.fc29.x86_64                      15/22
  Verifying        : sssd-common-pac-2.0.0-5.fc29.x86_64                  16/22
  Verifying        : sssd-ipa-2.0.0-5.fc29.x86_64                         17/22
  Verifying        : sssd-krb5-2.0.0-5.fc29.x86_64                        18/22
  Verifying        : sssd-krb5-common-2.0.0-5.fc29.x86_64                 19/22
  Verifying        : sssd-ldap-2.0.0-5.fc29.x86_64                        20/22
  Verifying        : sssd-nfs-idmap-2.0.0-5.fc29.x86_64                   21/22
  Verifying        : sssd-proxy-2.0.0-5.fc29.x86_64                       22/22

Removed:
  sssd-2.0.0-5.fc29.x86_64
  adcli-0.8.2-2.fc29.x86_64
  c-ares-1.13.0-5.fc29.x86_64
  cyrus-sasl-gssapi-2.1.27-0.3rc7.fc29.x86_64
  libdhash-0.5.0-41.fc29.x86_64
  libipa_hbac-2.0.0-5.fc29.x86_64
  libsss_autofs-2.0.0-5.fc29.x86_64
  libsss_certmap-2.0.0-5.fc29.x86_64
  libsss_idmap-2.0.0-5.fc29.x86_64
  libsss_nss_idmap-2.0.0-5.fc29.x86_64
  libsss_sudo-2.0.0-5.fc29.x86_64
  python3-sssdconfig-2.0.0-5.fc29.noarch
  sssd-ad-2.0.0-5.fc29.x86_64
  sssd-client-2.0.0-5.fc29.x86_64
  sssd-common-2.0.0-5.fc29.x86_64
  sssd-common-pac-2.0.0-5.fc29.x86_64
  sssd-ipa-2.0.0-5.fc29.x86_64
  sssd-krb5-2.0.0-5.fc29.x86_64
  sssd-krb5-common-2.0.0-5.fc29.x86_64
  sssd-ldap-2.0.0-5.fc29.x86_64
  sssd-nfs-idmap-2.0.0-5.fc29.x86_64
  sssd-proxy-2.0.0-5.fc29.x86_64

Complete!

$ sudo usermod -a -G dialout jwalton
$

Comment 1 Lukas Slebodnik 2019-02-25 09:35:26 UTC

*** This bug has been marked as a duplicate of bug 1659656 ***


Note You need to log in before you can comment on or make changes to this bug.