ipa-client-automount currently configures automount in nsswitch.conf manually:
def configure_nsswitch(fstore, options): """ Point automount to ldap in nsswitch.conf """ fstore.backup_file(NSSWITCH_CONF) conf = ipachangeconf.IPAChangeConf("IPA Installer") conf.setOptionAssignment(':') if options.sssd: nss_value = ' sss files' else: nss_value = ' ldap files' opts = [{'name':'automount', 'type':'option', 'action':'set', 'value':nss_value}, {'name':'empty', 'type':'empty'}] conf.changeConf(NSSWITCH_CONF, opts) print "Configured %s" % NSSWITCH_CONF
However, automount already configures that line for us - when authconfig's --enablesssd option is used and /usr/lib64/sssd/modules/libsss_autofs.so exists, it adds sss to automount line.
--enablesssd
/usr/lib64/sssd/modules/libsss_autofs.so
sss
automount
See related conversation on freeipa-users - files source should have precedence over sss.
files
attachment freeipa-rga-0018-ipa-client-automount-should-not-configure-nsswitch.c.patch
master:
Metadata Update from @mkosek: - Issue assigned to someone - Issue set to the milestone: FreeIPA 4.0 Backlog
Login to comment on this ticket.