Re: Postponing postinst stuff for later execution
uwe@steinmann.cx (Uwe Steinmann) wrote:
> On Wed, Jul 20, 2005 at 05:53:28PM +0200, Norbert Preining wrote:
>> Dear all!
>>
>> I want to postpone some actions of the postinst script to a later
>> timepoint, after dpkg has finished installing stuff. I guess you know
>> why, several runs of updmap-sys and fmtutil-sys --all just takes toooo
>> long.
>>
>> Are there any ideas how one can do this?
> Check out the zope package and some of it modules. They use
> the Post-Invoke mechanism. Each zope package asks when zope shall
> be restarted. If you say 'at the end' it will touch
> /var/run/zope.restart only.
> /etc/apt/apt.conf.d/90zope will be run after installing all
> packages, checks for /var/run/zope.restart and restarts zope
> if the file is available.
Do you know whether there have been any cases where a buggy zope package
caused the restart to fail? And if yes, what will happen (error
messages, what state are which packages in, and dpkg as a whole)?
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: