portmap does not honor preseeded debconf value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portmap (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: portmap
Version: 6.0-4 (Ubuntu 8.04.1)
I am making use of debconf preseeding, via debconf-
portmap portmap/loopback boolean true
However, when the package is installed, it stays with the default value of NO, ignoring the preseeded debconf value. It thus becomes necessary to (re)configure the package manually in order to make the loopback setting effective.
The configuration control script for the portmap package should pick up a preseeded value when the package is being installed; that does not appear to be happening currently.
I can confirm this; the problem is that the initial creation of /etc/default/ portmap is being handled in the preinst instead of the postinst, so has no knowledge of the debconf preseed value. This is definitely a bug, config files should be created in the postinst.