Bug#246818: Deleting conffiles in maintainer scripts and the need to resurrect them later...
Frank Küster <frank@debian.org> wrote:
> dpkg will only prompt when the user has changed the file. In this case
> it is a good thing to prompt him or her, because likely the changes need
> to be inserted elsewhere.
Right. This seems to me to be a good solution to the problem.
> Yes, moving instead of removing - and we can move it back in postinst if
> we need it again after an upgrade.
I am not sure maintainer scripts should ever touch conffiles. I was
under the impression that conffiles should be modified only by the admin
or by dpkg. But since you played with ucf, perhaps you know more about
these issues?
> Yes. But then there's people who argue that "You can read this is a
> configuration file everywhere!" and demand files to be moved to
> /etc. Like it was with texmf.cnf.
>
> In the case of texmf.cnf I agreed, because I think it is true that many
> texts advice to edit this file. With generated map files, I don't agree,
> and from a personal point of view I would be glad to move it to var. I
> haven't thought about possible technical solutions, because, before
> doing this, we should consider the "social problems": Do we want to
> argue with people annoying us with bug reports?
Ah, I understand. Well, packaging teTeX while satisfying everyone seems
to be a difficult task. :-/
--
Florent
Reply to: