[Pm-utils] Move pm/functions and hooks to /usr/lib or /usr/share
Tim Dijkstra
newsuser at famdijkstra.org
Mon Mar 5 15:18:20 PST 2007
On Mon, 5 Mar 2007 23:51:43 +0100
Holger Macht <hmacht at suse.de> wrote:
> On Mon 05. Mar - 22:38:57, Tim Dijkstra wrote:
> > Hi,
> >
> > This has come up before already, but without conclusion I think, so
> > here goes...
> >
> > I think (and the FHS with me) that /etc is the wrong place for
> > pm/functions and pm/hooks, etc. They are not supposed to be edited by the
> > sysadmin.
> >
> > A better place would be /usr/lib IMHO, the FHS:
> >
> > /usr/lib includes object files, libraries, and internal binaries that
> > are not intended to be executed directly by users or shell scripts.
> >
> > Some people would say /usr/share:
> >
> > The /usr/share hierarchy is for all read-only architecture independent
> > data files
> >
> > Apart from this, maybe we do want to allow the admin to install additional,
> > custom hooks in /etc/pm/hooks. Should these be executed before, after or
> > sorted in between the hooks form the packages, what do you think?
>
> Hm, the admin configures pm-utils below /etc/pm and puts additional hooks
> into /usr/lib/pm/...? What would be wrong with that?
Well /usr/lib is usually thought to be the domain of the package
manager. In debian for example we only guarantee changes in /etc to be
kept.
grts Tim
More information about the Pm-utils
mailing list