Red Hat Bugzilla – Bug 1185207
ipa-client dont end new line character in /etc/nsswitch.conf
Last modified: 2015-07-22 03:39:38 EDT
Description of problem: ipa-client dont end new line character in /etc/nsswitch.conf Version-Release number of selected component (if applicable): ipa-client-3.0.0-42.el6 How reproducible: 100% Steps to Reproduce: 1. Install new RHEL6.6 & configure it as LDAP client Actual results: ipa-client script should add new line character in the end of /etc/nsswitch.conf [root@ipaclient ~]#tail -1 /etc/nsswitch.conf sudoers: files sss[root@ipaclient ~]# Expected results: [root@ipaclient ~]#tail -1 /etc/nsswitch.conf sudoers: files sss [root@ipaclient ~]#
Yes, this is a valid bug. Is a fix in RHEL-6.7 sufficient for the customer?
(In reply to Martin Kosek from comment #1) > Yes, this is a valid bug. Is a fix in RHEL-6.7 sufficient for the customer? Yes.
Upstream ticket: https://fedorahosted.org/freeipa/ticket/4864
Fixed upstream master: https://fedorahosted.org/freeipa/changeset/a4481023474772a073553bf2395801cdd08c1088 ipa-4-1: https://fedorahosted.org/freeipa/changeset/919f0db93f46b891030d26e76ee6e90f1c6f07be
Verified on ipa-client-3.0.0-45.el6.x86_64: [root@idm-qe-03 ~]# tail -1 /etc/nsswitch.conf sudoers: files sss [root@idm-qe-03 ~]# ipa-client-install Discovery was successful! Hostname: idm-qe-03.testrelm.test Realm: TESTRELM.TEST DNS Domain: testrelm.test IPA Server: idm-qe-02.testrelm.test BaseDN: dc=testrelm,dc=test Continue to configure the system with these values? [no]: y . . . Client configuration complete. [root@idm-qe-03 ~]# tail -2 /etc/nsswitch.conf sudoers: files sss
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. https://rhn.redhat.com/errata/RHSA-2015-1462.html