Historically Mandriva and now ROSA used not default config directory in autofs: /etc/autofs/ instead of /etc/, e.g. it is /etc/autofs/auto.misc instead of /etc/auto.misc
autofs
Nowadays this is achieved by: 1) ./configure --with-confdir=/etc/autofs (https://abf.io/import/autofs/blob/rosa2019.1/autofs.spec#lc-51) 2) patching default configs (https://abf.io/import/autofs/blob/rosa2019.1/0001-Rosa-custom-config-dir-etc-autofs.patch)
./configure --with-confdir=/etc/autofs
Currently /etc/ is hardcoded in FreeIPA. As a maintainer of autofs in ROSA, I may consider reverting to the default upstream /etc/, but /etc/autofs/ seems much more beautiful and easier to work with. More than that, autofs build options allow to define a custom directory which makes sense to make in configureable in FreeIPA.
So, my question is the following: how to we better solve this (and also keep ROSA-based server compatible with non-ROSA clients which do not use /etc/autofs/)?
IPA doesn't write autofs files. The data is delivered via sssd or over LDAP.
I believe that the only autofs-related files that IPA writes are /etc/autofs_ldap_auth.conf and /etc/sysconfig/autofs.
To override these would just require a new platform be defined in ipaplatform and the appropriate values written.
Oh, thank you, I thought that configs are created on the host. Then ROSA platform support can be upstreamized in the nearest future.
Metadata Update from @mikhailnov: - Issue close_status updated to: invalid - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.