[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#40766: Rewrite of "configuration files" section



On Sun, Jul 18, 1999 at 12:44:17PM +0200, Stefan Gybas wrote:
> So if this update-inetd program modifies a conffile, I am not allowed to
> call it from my postinst? What's the reason for such a program then?

inetd.conf is _not_ a conffile. Actually, dpkg does not know about it at all:

[9:16pm] hamish@yodeller:~> dpkg -S inetd.conf
debmake: /usr/lib/deb-make/debian/inetd.conf.ex
netbase: /usr/man/man5/inetd.conf.5.gz

netbase is providing a tool to manage this configuration file, instead
of making it a conffile.

> This looks like the only clean solution would be to provide update-*
> programs and not to mark the configuration files as conffiles. But this
> means that update-* programs should not modify conffiles at all.

That's correct. update-* programs should not modify conffiles. Also,
those configuration files should not be provided in the .deb, as dpkg will
overwrite them on upgrades. inetd.conf, exim.conf etc are not included
in any .deb file.


Hamish
-- 
Hamish Moffatt VK3SB (ex-VK3TYD). 
CCs of replies from mailing lists are welcome.


Reply to: