Bug 624159

Summary: authconfig doesn't always add missing settings in one file when it's reading multiple files
Product: Red Hat Enterprise Linux 6 Reporter: Nalin Dahyabhai <nalin>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Petr Šplíchal <psplicha>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: ebenes, jburke, ohudlick, sgrubb
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: authconfig-6.1.12-2.el6 Doc Type: Bug Fix
Doc Text:
In some cases, when multiple configuration files with the same configuration settings contained different configuration values for a setting, the configuration files contents were not properly synchronized with authconfig. With this update, the synchronization works as expected.
Story Points: ---
Clone Of:
: 1254642 (view as bug list) Environment:
Last Closed: 2011-05-19 13:11:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nalin Dahyabhai 2010-08-13 21:22:20 UTC
Description of problem:
On a system with no 'default_realm' set in /etc/krb5.conf, where one is set in /etc/sssd/sssd.conf, authconfig won't write the value to /etc/krb5.conf unless the user changes it from the value that's already set in sssd.conf, even when sssd isn't being used.

Version-Release number of selected component (if applicable):
authconfig-6.1.4-6.el6

How reproducible:
Always

Steps to Reproduce:
1. Run /usr/sbin/authconfig --updateall --enablekrb5 \
               --enablekrb5realmdns --enablekrb5kdcdns --enablecache \
               --enableshadow --enablemd5 --enablenis --nisdomain=redhat.com \
               --nisserver=ns1.bos.redhat.com --krb5realm=REDHAT.COM \
               --krb5kdc=kerberos.bos.redhat.com \
               --krb5adminserver=kerberos.corp.redhat.com
2. Remove the default_realm setting from /etc/krb5.conf
3. Run authconfig-tui and step through every screen until it exits.
  
Actual results:
/etc/krb5.conf doesn't have a default_realm setting added to it.

Expected results:
It probably should have gotten one.

Additional info:
Jeff was actually the person who ran into this, so I'm CCing him.

Comment 1 Tomas Mraz 2010-08-16 07:37:28 UTC
Workaround - just run authconfig --updateall

Comment 4 Martin Prpič 2011-04-18 13:01:53 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
In some cases, when multiple configuration files with the same configuration settings contained different configuration values for a setting, the configuration files contents were not properly synchronized with authconfig. With this update, the synchronization works as expected.

Comment 5 errata-xmlrpc 2011-05-19 13:11:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0595.html