[Pkg-kbd-devel] Bug#420831: console-setup: debconf confmodule should not be sourced in the middle of a script

Colin Watson cjwatson at ubuntu.com
Tue Apr 24 20:55:16 UTC 2007


Package: console-setup
Version: 1.15
Severity: minor
Tags: patch

debian/console-setup.postinst sources /usr/share/debconf/confmodule in
the middle of its operation - in the d-i case, it does so after sourcing
/usr/share/console-setup-mini/console-setup.config. This is generally a
really bad idea. The debconf confmodule may re-exec the calling script
under a debconf frontend, so you generally want to source it right at
the top. As it happens I think everything is set up so that this doesn't
cause a problem at the moment, but it would be best to fix it anyway in
case a problem is introduced there in the future. Patch attached.

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: console-setup.confmodule.diff
Type: text/x-diff
Size: 619 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20070424/2ff6f1e7/console-setup.confmodule-0001.bin


More information about the Pkg-kbd-devel mailing list