Re: should a postinst script create config files?
On Fri, 22 Feb 2002, Andrew Pimlott wrote:
> Well, dpkg does suggest suspending and doing the merge. Though, I
Yes. That is the correct way to handle it right now.
> agree that an option, "don't restart the service right now" would be
> nice. Maybe that could be implemented by moving the old conffile
> and not installing the new one, so the service (presumably) will
> fail due to missing configuration until the admin patches it up.
That will not always work as you would expect. Check out the invoke-rc.d
stuff in the policy proposals, THAT one will do it.
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot