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

Re: dpkg branches

On Wed, 3 Nov 2004, Scott James Remnant wrote:

> Yeah, but there are two thoughts on how to do this.  The patch in the
> BTS at the moment adds a /etc/dpkg/postinst.d directory whose contents
> get run every time a package is installed.  You drop an SELinux script
> in there to update contexcts.

This is so very wrong on so many levels.  It does not consider any fail
states, nor transactions.  Ie, what happens to the package being installed
when some hook fails?  What happens if a new hook is installed after several
packages are installed?

Reply to: