Re: DebConf-ing Apache Modules
Joey Hess <joey@kitenet.net> writes:
> Gregor Hoffleit wrote:
> > The preinst's of all packages added their name to the choices of the
> > shared select variable, and the postinst's removed this packages's name.
> >
> > Each postinst would look if it's the last package in the choices list.
> > If it was, that would mean that it's the last Zope/Apache module package
> > that's installed in that apt run. Then, this package should care to
> > restart the Zope/Apache server.
>
> Wow, pretty slick. It does feel like a mild abuse of debconf -- writing
> to a temp file would work just as well.
How can we do this in a secure manner ? If we create the temp file
with mktemp, we have to communicate this name. Otherwise where
should we place this temp file.
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
Reply to: