logs archiveBotHelp.net / Freenode / #389 / 2015 / September / 8 / 1
Oro_Valley
I have a problem building 389-admin. It expects nss_pcache in /usr/sbin/nss_pcache, but it's now provided in install -m 755 nss_pcache $RPM_BUILD_ROOT%{_libexecdir}/
fedora has a link http://fpaste.org/264588/16600931/
How do I make 389-admin to look in %{_libexecdir}?
I don't want to put the link in as it may disapear in the near future and it's told in mod_nss not to do so for Fedora pacakges
rcrit
you'd need to change the path in the config file that it uses
NSSPassPhraseHelper /usr/libexec/nss_pcache
Oro_Valley
rcrit: thanks. I may wan't taht clear, but I want to use /usr/libexec/ when building it (making the rpm)
I don't see an option
rcrit
I forget how it is specified in 389 but I imagine it is hardcoded somewhere which means you'll need to add a patch to the srpm which changes the path
Oro_Valley
do I need to patch the makefie?
rcrit
I doubt it. I suspect it's some configuration file or template
so it should be a fairly small patch, apply it using standard srpm techniques
Oro_Valley
rcrit: adding --with-modnss-bin=%{_libexecdir} to the config section solved the problem. should I file a bug?
rcrit
sure
nice find
Oro_Valley, I guess I'd check to ensure that nothing else is going in there too
but otherwise yeah, looks like a clever fix
Oro_Valley
well, I'm going to push it to the BS > repos and then we will test it.