[ubuntu-mono] [Bug 66689] Re: dhcp3-server misuses debconf
valentijn at sessink.nl
Fri Apr 13 17:32:58 BST 2007
Martin Pitt schreef:
> I'm afraid I fail to see the problem here. I am perfectly able to
> change /etc/default/dhcp3-server with 'sudo dpkg-reconfigure
> dhcp3-server'. The .config script looks sane as well, it reads the
> current setting from /etc/default/dhcp3-server
Why should it?
> then asks the user about
> changing it, then writes it back in the postinst.
> Maybe the misunderstanding here is that the reporter expects debconf
> settings to dominate configuration files. This is wrong, configuration
> files are holy and they must never be changed noninteractively by
> package scripts.
That's not true. Try for example:
Or even better, try:
echo 'postfix postfix/root_address string snork' |
dpkg-reconfigure -fnoninteractive postfix
You'll see the postfix config file getting changed (and mind you, root
mail is redirected to a probably non-existing user named "snork", so
don't try this at home)
That's the behaviour I expect from dhcp3-server as well, instead of
ignoring debconf-settings alltogether and making up its own mind.
> Can you please confirm that I understood this report
> correctly? If not, please elaborate about the problem.
Well, I think you did understand what I mean, but your answer doesn't
convince me yet, as there are two major packages that behave differently.
dhcp3-server misuses debconf
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for banshee in ubuntu.
More information about the Ubuntu-mono