Re: /usr/libexec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



H. Peter Anvin wrote:
Russell Coker wrote:


That being said, my point was that there doesn't seem to be any 32/64
separation for libexec, *and* it never made sense in the first place (it
was only added for bug-compatibility with BSD), so that's presumably why
it was removed.


If we have /usr/lib for 32bit SOs and /usr/lib64 for 64bit SOs, then it seems clear to me that programs which are part of Postfix which may be either 32bit or 64bit depending on which package is installed belong to neither category. Therefore another place such as /usr/libexec seems appropriate.

The Gentoo people want /usr/lib/postfix for 32bit compiles and /usr/lib64/postfix on 64bit compiles. I believe that approach is totally wrong and that /usr/libexec/postfix (as used in Fedora) is the better option. If there's general agreement with that then we can move of requesting that the FHS be changed to make the Red Hat practice be a standard in this regard.


I think you're completely wrong.

Look at it this way: <random program> may not be sterilized for its internal interfaces, in respect of being cross-archictecture clean. If you put it in libexec, then for exactly the reasons you mention you *HAVE* to handle mixed-mode.

Thus, although enforcing the separation may be *redundant*, it definitely not *harmful*, and might be beneficial.

For stuff like shell scripts, that are inherently cross-platform, that's *exactly* what the share hierarchy is defined to be.

Either which way, libexec is useless.

    -hpa


The binaries of postfix in /usr/libexec are the same arch as the binaries in /usr/bin, because the binary with the highest architecture wins if you are installing packages with different (and allowed) architectures.


Therefore there is no mixed mode within the postfix package as long as you are not putting other binaries in there by hand.


Thomas

--
Thomas Woerner, Software Engineer      Phone: +49-711-96437-0
Red Hat GmbH                           Fax  : +49-711-96437-111
Hauptstaetterstr. 58                   Email: twoerner@xxxxxxxxxx
D-70178 Stuttgart                      Web  : http://www.redhat.de/

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux