Re: Processed: Re: Bug#608522: postgresql-common.config: wrong use of $2
reassign 608674 debconf
retitle 608674 debconf calls .config script with bad arguments when "postinst triggered" is run
severity 608674 important
clone 608674 -1
reassign -1 cdebconf
On Sun, 02 Jan 2011, Debian Bug Tracking System wrote:
> > reassign -1 dpkg 188.8.131.52
> Bug #608674 [postgresql-common] postgresql-common.config: wrong use of $2
> Bug reassigned from package 'postgresql-common' to 'dpkg'.
> Bug No longer marked as found in versions postgresql-common/113.
> Bug #608674 [dpkg] postgresql-common.config: wrong use of $2
> Bug Marked as found in versions dpkg/184.108.40.206.
> > retitle -1 triggering a package calls .config script with bad arguments
It's not dpkg that calls the .config script but debconf itself. So I'm
reassigning it to debconf and cdebconf. It looks like both are affected.
When the frontend is run from the postinst, it should not run the .config
script if the (main) parameter of the postinst is "triggered". When
"postinst triggered" is run it means we already went through "postinst
configure" once, so doing nothing for "triggered" looks fine.
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)