[Michael Prokop]
> * Petter Reinholdtsen <p...@hungry.com> [Don Feb 25, 2010 at 07:01:43 +0100]:
> > I suspect this issue was solved when portmap version 6.0.0-2, but am
> > unsure if it is true.  Please test and see if the issue is solved.
> 
> Nope it's not fully solved yet.
> 
> Executing "dpkg-reconfigure portmap" in interactive mode and
> answering "Should portmap be bound to the loopback address?" with
> "yes" results in OPTIONS="-i 127.0.0.1" in /etc/default/portmap as
> expected.
> 
> But executing:
> 
>   echo "portmap portmap/loopback boolean false" | debconf-set-selections
>   dpkg-reconfigure --frontend=noninteractive portmap
> 
> then results again in OPTIONS="-i 127.0.0.1" in /etc/default/portmap.

What you are doing at the end here is not supposed to work.
Preseeding only work before the package is installed, as the
authorative configuration setting after installation is the content of
the configuration on disk, and not the values in the debconf database.
If you want to change settings using debconf automatically after
installation, you need to stack debconf backends and force debconf to
ignore the set command from the config script.  The reason for this is
that debconf is not a registry, only a mechanism to ask questions.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to