sendmail upgrade issues

Eric Rostetter rostetter at mail.utexas.edu
Sun Mar 26 07:38:54 UTC 2006


Quoting Marc Deslauriers <marcdeslauriers at videotron.ca>:

>> It then created a new sendmail.cf from sendmail.mc.rpmnew!
>>
>
> This is not.
>
> Did it leave a sendmail.cf.bak file? I have looked through the spec
> file, through the init file and through the Makefile to try and find
> some way for that to happen and I have come up empty. What's the date on
> the sendmail.cf file? What's the date on the sendmail.mc file?

No, it did not leave a *.bak file.  The files are:

$ ls -l sendmail*
-rw-r--r--    1 root     root        57671 Mar 25 19:54 sendmail.cf
-rw-r--r--    1 root     root        57628 Mar 25 23:32  
sendmail.cf.from.rpmnew
-rw-r--r--    1 root     root        58337 Mar 25 23:33 sendmail.cf.local
-rw-r--r--    1 root     root         5962 Apr 19  2004 sendmail.mc
-rw-r--r--    1 root     root         6097 Mar 22 23:33 sendmail.mc.rpmnew
$ ls -lc sendmail*
-rw-r--r--    1 root     root        57671 Mar 25 19:54 sendmail.cf
-rw-r--r--    1 root     root        57628 Mar 25 23:32  
sendmail.cf.from.rpmnew
-rw-r--r--    1 root     root        58337 Mar 25 23:33 sendmail.cf.local
-rw-r--r--    1 root     root         5962 Apr 19  2004 sendmail.mc
-rw-r--r--    1 root     root         6097 Mar 25 19:54 sendmail.mc.rpmnew
$

As noted, I created the *.cf.from.rpmnew and *.cf.local for comparison
purposes.  The upgrade was obviously done around March 25 19:54.

> What version of the sendmail packages did you have installed beforehand?
> Could you have had a version that put it's sendmail.cf file in /etc?

Not sure.  There was a /etc/sendmail.cf file on the machine:

-rw-r--r--    1 root     root        58223 Apr 19  2004 /etc/sendmail.cf

So, at least at one time, it did have a sendmail that did put at
least sendmail.cf in /etc/ rather than /etc/mail/.  There is also
a /etc/aliases on the machine:

-rw-r--r--    1 root     root         1343 Mar 25 19:54 /etc/aliases

But I think that is still normal?

> I am guessing it didn't create the .cf file from the .rpmnew file. It
> probably just wrote out the sendmail.cf file from the rpm as it either
> didn't think the sendmail.cf file that was already there belonged to the
> previous sendmail package, or the sendmail.cf file from the previous
> package was in a different location.

Probably it was the later.

> So you have another rh9 machine that still has an old sendmail package
> on it?

I think I might have one for immediate access.  I might also have another
one but I won't have access to it until probably Wednesday.

>> I also seems to have created a new /etc/rc.d/init.d/sendmail file, without
>> saving the old version, AFAICT.
>>
>
> It should have renamed the old one.

I've seen it do it both ways (saving and not saving) and have no idea
why...  But then, I'm doing these on various systems running RHL 7.3,
RHL 9, and RHEL 3.x, so the results vary...

> This is fixed in the package awaiting QA.

I never received an email about any such package...

>> I'm leaving this machine broken so if anyone has any questions I can answer
>> them.
>>
>
> Thank you.
>
> Marc.

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Go Longhorns!




More information about the fedora-legacy-list mailing list