[Pm-utils] Move pm/functions and hooks to /usr/lib or /usr/share

Tim Dijkstra newsuser at famdijkstra.org
Mon Mar 5 13:38:57 PST 2007


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?

grts Tim


More information about the Pm-utils mailing list