Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

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

 
   Linux (Home) -> Bugs RC RSS
Next:  Bug#420563: etch lacking some archs  
Author Message
Josip Rodin

External


Since: May 06, 2007
Posts: 20



(Msg. 1) Posted: Mon Apr 23, 2007 12:20 pm
Post subject: Bug#420578: exim4-config killed my email-addresses file
Archived from groups: linux>debian>bugs>rc (more info?)

Package: exim4-config
Version: 4.63-17
Severity: grave

Hi,

After the upgrade to etch, I found myself generating mails with the wrong
headers. When I went to look why, I saw:

% ls -l /etc/exim4/email-addresses*
lrwxrwxrwx 1 root root 18 2007-04-15 16:55 /etc/exim4/email-addresses -> ../email-addresses
-rw-r--r-- 1 root root 208 2006-09-21 12:13 /etc/exim4/email-addresses~
% ls -l /etc/email-addresses
-rw-r--r-- 1 root root 312 2003-12-19 16:41 /etc/email-addresses

The file with a tilde was the remnant of at least one edit.
And those edits are now gone.

% dpkg -s exim4-config | grep email-ad
/etc/email-addresses 6bea09fbb18e4676012105fa5fc726c6
% dpkg -L exim4-config | grep exim4/email-addresses
/etc/exim4/email-addresses

The package is owning the file (symlink) in /etc/exim4, but is not declaring
it a conffile.

On sarge, exim4-config did not include /etc/exim4/email-addresses in the
package, and there was no bug.

This is blatant data loss. Sad(

--
2. That which causes joy or happiness.


--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Marc Haber

External


Since: Dec 20, 2004
Posts: 565



(Msg. 2) Posted: Mon Apr 23, 2007 1:50 pm
Post subject: Bug#420578: exim4-config killed my email-addresses file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Josip,

sorry about your loss.

On Mon, Apr 23, 2007 at 12:01:05PM +0200, Josip Rodin wrote:
> After the upgrade to etch, I found myself generating mails with the wrong
> headers.

Which package did you upgrade from?

> When I went to look why, I saw:
>
> % ls -l /etc/exim4/email-addresses*
> lrwxrwxrwx 1 root root 18 2007-04-15 16:55 /etc/exim4/email-addresses -> ../email-addresses
> -rw-r--r-- 1 root root 208 2006-09-21 12:13 /etc/exim4/email-addresses~
> % ls -l /etc/email-addresses
> -rw-r--r-- 1 root root 312 2003-12-19 16:41 /etc/email-addresses
>
> The file with a tilde was the remnant of at least one edit.
> And those edits are now gone.

Very strange.

> % dpkg -s exim4-config | grep email-ad
> /etc/email-addresses 6bea09fbb18e4676012105fa5fc726c6
> % dpkg -L exim4-config | grep exim4/email-addresses
> /etc/exim4/email-addresses
>
> The package is owning the file (symlink) in /etc/exim4, but is not declaring
> it a conffile.
>
> On sarge, exim4-config did not include /etc/exim4/email-addresses in the
> package, and there was no bug.

exim4-config on sarge contains /etc/email-addresses as a conffile, and
does not contain /etc/exim4/email-addresses.

exim4-config on etch contains /etc/email-addresses as a conffile, and
contains /etc/exim4/email-addresses.

Do I see correctly that you had a local file
/etc/exim4/email-addresses which was overwritten during the upgrade?
If yes, would it fix the issue to manually declare
/etc/exim4/email-addresses as a conffile?

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190


--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Marc Haber

External


Since: Dec 20, 2004
Posts: 565



(Msg. 3) Posted: Sat Apr 28, 2007 9:40 am
Post subject: Bug#420578: exim4-config killed my email-addresses file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Apr 23, 2007 at 01:51:39PM +0200, Josip Rodin wrote:
> On Mon, Apr 23, 2007 at 01:43:25PM +0200, Marc Haber wrote:
> > > After the upgrade to etch, I found myself generating mails with the wrong
> > > headers.
> >
> > Which package did you upgrade from?
>
> I can't remember exactly (and I trashed my typescript log too :/),
> but I'm pretty sure that it was the 4.50 from sarge, I didn't do any partial
> upgrades.

Ok, I can reproduce this behavior now.

> > exim4-config on sarge contains /etc/email-addresses as a conffile, and
> > does not contain /etc/exim4/email-addresses.
> >
> > exim4-config on etch contains /etc/email-addresses as a conffile, and
> > contains /etc/exim4/email-addresses.
> >
> > Do I see correctly that you had a local file
> > /etc/exim4/email-addresses which was overwritten during the upgrade?
>
> Yes, I had a local file in /etc/exim4/email-addresses, and it got
> overwritten.

Then I understand now what is going on here. This information was not
too clear in the original report.

> > If yes, would it fix the issue to manually declare
> > /etc/exim4/email-addresses as a conffile?
>
> Manually? How's that?

by putting it into exim4-config.conffiles?

> The way I see it, putting new files into /etc/ and not marking them as
> conffiles is a bad idea.

Definetely.

> 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.)

Absolutely. However, we used to rely on debhelper doing so
automatically, but it does not seem to do this for symlinks. Which
caused the situation here (#421346).

But, manually putting /etc/exim4/email-addresses into
debian/exim4-config.conffiles doesn't help as well as the resulting
package does not install (#421344).

> I believe there's a Lintian warning to this effect... an error, indeed,
> http://lintian.debian.org/reports/Tfile-in-etc-not-marked-as-conffile.html
> Yet, it didn't seem to catch it with exim4-config. Perhaps Lintian was
> doing a '-f' test where '-e' would have been more appropriate.
> You may want to file a bug on it Smile

#421345.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190


--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Marc Haber

External


Since: Dec 20, 2004
Posts: 565



(Msg. 4) Posted: Sun Jun 10, 2007 11:40 am
Post subject: Bug#420578: exim4-config killed my email-addresses file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

tags #420578 confirmed pending
thanks

On Mon, Apr 23, 2007 at 07:24:40PM +0200, Andreas Metzler wrote:
> I would suggest dropping the symlink from the package instead of
> marking it as conffile.

Done in svn.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835


--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Debian Bug Tracking Syste

External


Since: Apr 07, 2004
Posts: 252



(Msg. 5) Posted: Sun Jun 10, 2007 11:50 am
Post subject: Processed: Re: Bug#420578: exim4-config killed my email-addresses file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Processing commands for control.RemoveThis@bugs.debian.org:

> tags #420578 confirmed pending
Bug#420578: exim4-config killed my email-addresses file
There were no tags set.
Tags added: confirmed, pending

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#407588: exim4-config: missing qoute in /var/lib/exim4/.. - Package: exim4-config Version: 4.63-16 Severity: grave Justification: renders package unusable While upgrading the exim4-* packages: Setting up exim4-config (4.63-16) ... 2007-01-19 21:50:08 Exim configuration error in line 761 of /var/lib/exim4/confi....

Bug#407588: exim4-config: missing qoute - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 tags 407588 moreinfo thanks I get an autogenerated file fine, so I assume there is something specific about your config. Can you post your config.autogenerated? Matt - -- Matthew Johnson..

Bug#375542: xfe: Config file in /usr/lib and not preserved.. - Package: xfe Version: 0.88-2 Severity: serious Justification: Policy 10.7.2 and 10.7.3 /usr/lib/foxrc/Desktop is the system-wide configuration file for xfe and is currently not marked as a conffile. It can be overridden as needed by the user's..

Bug#375542: xfe: Config file in /usr/lib and not preserved.. - Hi Jose! What is the status of this bug? Is Mike's patch satisfactory? Do you perhaps need help of an NMU? -- Kind regards, +--------------------------------------------------------------------+ | Bas Zoetekouw | GPG key: 0644fab7 ...

Bug#490333: lmemory: FTBFS: /bin/sh: ./config.status: No s.. - Package: lmemory Version: 0.6c-2.1 Severity: serious User: debian-qa@lists.debian.org Usertags: qa-ftbfs-20080710 qa-ftbfs Justification: FTBFS on i386 Hi, During a rebuild of all packages in sid, your package failed to build on i386. Similar to..
       Linux (Home) -> Bugs RC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact