Bug 975203
| Summary: | Authconfig does not restart SSSD or Winbind when updating config | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Brian Cook <bcook> |
| Component: | authconfig | Assignee: | Tomas Mraz <tmraz> |
| Status: | CLOSED ERRATA | QA Contact: | David Spurek <dspurek> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.4 | CC: | bintriz, ccheney, cvantuin, dspurek, ebenes, redhat, rvdwees |
| Target Milestone: | rc | Flags: | bcook:
needinfo-
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | authconfig-6.1.12-14.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
In some cases Authconfig was not able to properly detect whether SSSD or Winbind should be enable.
Consequence:
These daemons were stopped when authconfig was run although they should not be touched.
Fix:
Authconfig will not change the state nor restart the services if the services configuration is not changed.
Result:
The SSSD or Winbind is still running after authconfig --update command which does not touch any settings related to SSSD or Winbind.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 07:44:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 994246 | ||
|
Description
Brian Cook
2013-06-17 19:50:27 UTC
Can you please attach 'authconfig --test' output here? I am afraid this is a regression from bug 874527 fix. I think also this is a regression from bug 874527 fix. When I ran authconfig after manually writing sssd.conf, authconfig do nothing. So, I should do start sssd manually. If I ran authconfig when the sssd was running, it made sssd stop. [root@ipa2 sssd]# service sssd status sssd is stopped [root@ipa2 sssd]# authconfig --enablesssd --enablesssdauth --update [root@ipa2 sssd]# service sssd status sssd is stopped [root@ipa2 sssd]# service sssd start Starting sssd: [ OK ] [root@ipa2 sssd]# authconfig --enablesssd --enablesssdauth --update Stopping sssd: [ OK ] [root@ipa2 sssd]# service sssd status sssd is stopped [root@ipa2 sssd]# yum info authconfig Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.tt.co.kr * extras: centos.tt.co.kr * updates: centos.tt.co.kr Installed Packages Name : authconfig Arch : i686 Version : 6.1.12 Release : 13.el6 Size : 1.8 M Repo : installed From repo : anaconda-CentOS-201303020136.i386 Summary : Command line tool for setting up authentication from network services URL : https://fedorahosted.org/authconfig License : GPLv2+ Description : Authconfig is a command line utility which can configure a workstation : to use shadow (more secure) passwords. Authconfig can also configure a : system to be a client for certain networked user information and : authentication schemes. authconfig-6.1.12-10.el6 does't have this problem. [root@rocks sssd]# service sssd status sssd is stopped [root@rocks sssd]# authconfig --enablesssd --enablesssdauth --update Starting sssd: [ OK ] [root@rocks sssd]# yum info authconfig Installed Packages Name : authconfig Arch : x86_64 Version : 6.1.12 Release : 10.el6 Size : 1.9 M Repo : installed From repo : Rocks-6.1 Summary : Command line tool for setting up authentication from network services URL : https://fedorahosted.org/authconfig License : GPLv2+ Description : Authconfig is a command line utility which can configure a workstation : to use shadow (more secure) passwords. Authconfig can also configure a : system to be a client for certain networked user information and : authentication schemes. FYI, this not only stops SSSD but it also disables it for runlevel 3, 4 and 5: # rpm -qa | grep authconfig authconfig-6.1.12-13.el6.x86_64 # chkconfig sssd --list sssd 0:off 1:off 2:on 3:on 4:on 5:on 6:off # authconfig --enablemkhomedir --update Stopping sssd: [ OK ] Starting oddjobd: [ OK ] # chkconfig sssd --list sssd 0:off 1:off 2:on 3:off 4:off 5:off 6:off I Had this problem recently (with authconfig-6.1.12-13.el6) cause i had set FORCELEGACY to yes (/etc/sysconfig/authconfig) Set to "no", i can't reproduce the problem with SSSD Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1558.html |