Bug 85875 - Sendmail RPM upgrade overwrites /etc/mail/Makefile without backup
Sendmail RPM upgrade overwrites /etc/mail/Makefile without backup
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-03-09 22:19 EST by Anthony Thyssen
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-26 05:35:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Anthony Thyssen 2003-03-09 22:19:58 EST
Description of problem:

As per the recent spate of Cert Advisories I upgraded the sendmail on out
systems using the Redhat Sendmail RPM.

In the process, sendmail just over wrote the /etc/mail/Makefile without
checking for local modifications.  We heavily modifide this file to allow
us to install aliases, access and genertable items from a multiple-machine
database.  After patching it too a few days before the over-write was
and had to require a restoration from backups to recover our Makefile.

Version-Release number of selected component (if applicable):

For Rh7.2:  
  sendmail-8.11.6-23.72  A widely used Mail Transport Agent (MTA).
  sendmail-cf-8.11.6-23.72 The files needed to reconfigure Sendmail.

Presumabily for all sendmail RPM's

How reproducible:


Steps to Reproduce:
1.  Modify /etc/mail/Makefile
2.  Force a freasen of the sendmail rpm installation
3.  Makfile modification is gone!
Actual results:

No warning, file is just over written

Expected results:

The file /etc/mail/Mailfile should not have been over writen, instead the
installed version should have been placed in a  ".rpmnew" and a warning issued
just as RPM's do for other files (like  sendmail.mc  and sendmail.cf)

Additional info:
Comment 1 Florian La Roche 2003-03-26 05:35:12 EST
The sendmail src.rpm has this correctly marked as %config file,
so this should be ok.


Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.