#8218 variable /etc/autofs* location
Closed: invalid 4 years ago by mikhailnov. Opened 4 years ago by mikhailnov.

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

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)

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)

4 years ago

Login to comment on this ticket.

Metadata