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

Holger Macht hmacht at suse.de
Mon Mar 5 14:51:43 PST 2007


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?

Regards,
	Holger


More information about the Pm-utils mailing list