#4864 ipa-client-install does not add new line character in /etc/nsswitch.conf
Closed: Fixed None Opened 9 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 1185207

Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.

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 ~]#

master:

  • a448102 ipa-client-install: put eol character after the last line of altered config file(s)

ipa-4-1:

  • 919f0db ipa-client-install: put eol character after the last line of altered config file(s)

Metadata Update from @mkosek:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.1.3

7 years ago

Login to comment on this ticket.

Metadata