Bug#420578: exim4-config killed my email-addresses file

Andreas Metzler ametzler at downhill.at.eu.org
Mon Apr 23 17:24:40 UTC 2007


On 2007-04-23 Josip Rodin <joy at debbugs.entuzijast.net> wrote:
> On Mon, Apr 23, 2007 at 01:43:25PM +0200, Marc Haber wrote:
[...]
> > If yes, would it fix the issue to manually declare
> > /etc/exim4/email-addresses as a conffile?

> Manually? How's that? Maybe... belatedly? :)

Well, we rely on debhelper's magic to flag everything in /etc as
conffile otherwise.

> The way I see it, putting new files into /etc/ and not marking them as
> conffiles is a bad idea. The package should mark all of its files in /etc as
> conffiles, and prevent these kinds of situations from happening. (Had it
> been a conffile, dpkg would have noticed, and it would have prompted me to
> check it out.)
[...]

I have got a feeling that there is a good reason why debhelper does
not automatically flag symlinks as conffiles, I guess you'd end up
with wrong configuration-file-changed prompts.

I do not know why the symlink is there at all. Nothing in our
configuration has been reading /etc/exim4/email-addresses since
4.43-3, it was added in 4.62-3. There probably was some discussion on
IRC, but I cannot find anything in my email archives.

I would suggest dropping the symlink from the package instead of
marking it as conffile.

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Pkg-exim4-maintainers mailing list