* Josh Stone:
On 2/24/20 10:11 AM, Florian Weimer wrote:
> If we add this to nss_nis.spec:
>
> %ifarch x86_64
> Recommends: (nss_nis(x86-32) if glibc(x86-32))
> %endif
>
> then when the user installs nss_nis after glibc.i686, they will get both
> packages, as expected.
>
> Unfortunately, it does not work if nss_nis.x86_64 is installed first.
> Is there a way to fix this aspect?
Would you be willing to add a similar rule in glibc.spec?
%ifarch %{ix86}
Recommends: (nss_nis(x86-32) if nss_nis(x86-64))
%endif
Hmm. We'd have to do this for all NSS modules and PAM modules, which is
an open-ended list. I'm not sure the limitation (regarding late
installation of glibc.i686) is worth it.
DNF seems to do the right thing if glibc.i686 and nss_nis are installed
in the same transaction, so presumably kickstart files would work as
expected.
(nss_nis is no longer built from the glibc sources, sorry if this caused
confusion.)
Thanks,
Florian