On Wed, Nov 02, 2011 at 03:53:04PM -0400, Yaroslav Halchenko wrote:
> Thank you Steve !

> With all due respect -- I disagree with your lines of
> reasoning/support.

> > The per-package subdir should be created instead under
> > /usr/lib, and /usr/bin/cmtk can dispatch subcommands over there.

> as I and John argued, FHS doesn't mandate them to be
> under /usr/lib and actually allows for subdirectories under /usr/bin
> (more below)

The subdirectories of /usr/bin that are allowed in the FHS are spelled out
because they are exceptions.

>  - /usr/lib is destined for 
>    "/usr/lib includes object files, libraries, and internal binaries
>    that are not intended to be executed directly by users or shell
>    scripts"

>    so indeed anything which cannot be executed directly -- should go
>    there.  But "executed directly" in my understanding is not solely
>    being on the PATH -- if I can execute a tool via
>    /usr/lib/PKG/bin/xxx -- it is direct execution  and thus should not
>    be hidden under /usr/lib

Your understanding is misguided.  If you intend it to be a user interface,
it belongs on the PATH.  If you don't, it belongs under /usr/lib.

It is a bug in the FHS that it allows for this interpretation, but I have no
doubt that it is a bug and which way the FHS would be clarified to fix this
hole.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to