Re: [CentOS] update to 5.5 small issues

2010-05-16 Thread fred smith
On Sun, May 16, 2010 at 01:56:58PM -0400, samuel machua wrote:
> Hi Fred, were you able to fix your mail problem is seem to be having the
> same issue.
> On Sun, 2010-05-16 at 13:17 -0400, fred smith wrote:
> > sendmail.cf

Yes, something in the 5.5 update probably put a new sendmail.mc or
sendmail.cf on my system and since my customized one was named fcshome.mc
the new one was used instead.

So, if you've got a customized sendmail.mc (or .mc, rather) you
should rebuild the cf from it (while in /etc/mail, as root):

make .cf

then copy that .cf file over sendmail.cf,
then restart sendmail:

/etc/rc.d/init.d/sendmail restart

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
"Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
 heaven, but only he who does the will of my Father who is in heaven."
-- Matthew 7:21 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] update to 5.5 small issues

2010-05-16 Thread Robert Nichols
On 05/16/2010 12:17 PM, fred smith wrote:
> On Sun, May 16, 2010 at 07:44:37AM -0500, Robert Nichols wrote:
>> On 05/16/2010 12:01 AM, Robert Nichols wrote:
>>> On 05/15/2010 11:23 PM, fred smith wrote:
 a couple hours after the update (and requisite reboot and reinstallation
 of nvidia proprietary driver), I noticed I wasn't gettting any email.
 upon a little investigation, I noted that the update had replaced my
 custom sendmail.cf with its own. I don't recall updates to sendmail
 doing that previously,
>>>
>>> Sounds like you installed a sendmail.cf that was not generated from
>>> /etc/mail/sendmail.mc and left the original sendmail.mc unmodified.
>>> The rpm updated the unmodified sendmail.mc configuration file.  The
>>> startup script for sendmail then saw an apparently out-of-date
>>> sendmail.mc and rebuilt it from the new sendmail.cf.
>>
>> Got the file names reversed in that last sentence.  Sorry.  Should
>> read:
>>
>> "The startup script for sendmail then saw an apparently out-of-date
>>  sendmail.cf and rebuilt it from the new sendmail.mc."
>
> thanks for the clarification.
>
> that's odd (unless my memory is going--a real possibility).
>
> I've got "fcshome.mc" and "fcshome.cf", the latter made from the former,
> and then copied to sendmail.cf. I've done it that way for over a decade.
> that way my custom .mc never gets clobbered by a new one from the RPM
> package being installed.

That sets you up for the problem you had.  The startup script for sendmail
runs /etc/mail/make, which will rebuild out-of-date files based on
timestamps.  You've just been lucky until now.  Either the sendmail update
contained a sendmail.mc file with a timestamp older than your custom
sendmail.cf, or there were enough changes to your system that you rebuilt
your custom file anyway.

> nevertheless, your suggestion sounds reasonable. I think I'll try making
> a copy of fcshome.mc as sendmail.mc then see if the right thing happens
> next time sendmail gets an update. that way, if sendmail.mc gets stepped
> on it won't affect my customized one and I can always fall back to the
> manual way of doing things.

That's certainly the safest way to do it, but really, the only way your
customized sendmail.mc would get replaced is if the new sendmail were
somehow incompatible with the original sendmail.mc.  The update procedure
would then save your customized file as sendmail.mc.rpmsave and install a
new sendmail.mc, that rather than leaving your almost certainly
incompatible file in place.

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] update to 5.5 small issues

2010-05-16 Thread Les Mikesell
fred smith wrote:
> On Sun, May 16, 2010 at 07:44:37AM -0500, Robert Nichols wrote:
>> On 05/16/2010 12:01 AM, Robert Nichols wrote:
>>> On 05/15/2010 11:23 PM, fred smith wrote:
 a couple hours after the update (and requisite reboot and reinstallation
 of nvidia proprietary driver), I noticed I wasn't gettting any email.
 upon a little investigation, I noted that the update had replaced my
 custom sendmail.cf with its own. I don't recall updates to sendmail
 doing that previously,
>>> Sounds like you installed a sendmail.cf that was not generated from
>>> /etc/mail/sendmail.mc and left the original sendmail.mc unmodified.
>>> The rpm updated the unmodified sendmail.mc configuration file.  The
>>> startup script for sendmail then saw an apparently out-of-date
>>> sendmail.mc and rebuilt it from the new sendmail.cf.
>> Got the file names reversed in that last sentence.  Sorry.  Should
>> read:
>>
>>"The startup script for sendmail then saw an apparently out-of-date
>> sendmail.cf and rebuilt it from the new sendmail.mc."
> 
> thanks for the clarification.
> 
> that's odd (unless my memory is going--a real possibility).
> 
> I've got "fcshome.mc" and "fcshome.cf", the latter made from the former,
> and then copied to sendmail.cf. I've done it that way for over a decade.
> that way my custom .mc never gets clobbered by a new one from the RPM
> package being installed.
> 
> nevertheless, your suggestion sounds reasonable. I think I'll try making
> a copy of fcshome.mc as sendmail.mc then see if the right thing happens
> next time sendmail gets an update. that way, if sendmail.mc gets stepped
> on it won't affect my customized one and I can always fall back to the
> manual way of doing things.

This is probably a matter of the timestamps on sendmail.cf vs sendmail.mc which 
until now have coincidentally been right.  If you had not modified your 
sendmail.mc, an updated version in an rpm would overwrite it.  Then the 
makefile 
that runs at sendmail startup would notice that your sendmail.cf was outdated 
and helpfully build you a new one.  All expected behaviour.  If your custom 
version had been named sendmail.mc, the new version would probably have been 
renamed as sendmail.mc.rpmnew instead of overwriting it.

-- 
Les Mikesell
 lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] update to 5.5 small issues

2010-05-16 Thread samuel machua
Hi Fred, were you able to fix your mail problem is seem to be having the
same issue.
On Sun, 2010-05-16 at 13:17 -0400, fred smith wrote:
> sendmail.cf

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] update to 5.5 small issues

2010-05-16 Thread fred smith
On Sun, May 16, 2010 at 07:44:37AM -0500, Robert Nichols wrote:
> On 05/16/2010 12:01 AM, Robert Nichols wrote:
> > On 05/15/2010 11:23 PM, fred smith wrote:
> >> a couple hours after the update (and requisite reboot and reinstallation
> >> of nvidia proprietary driver), I noticed I wasn't gettting any email.
> >> upon a little investigation, I noted that the update had replaced my
> >> custom sendmail.cf with its own. I don't recall updates to sendmail
> >> doing that previously,
> >
> > Sounds like you installed a sendmail.cf that was not generated from
> > /etc/mail/sendmail.mc and left the original sendmail.mc unmodified.
> > The rpm updated the unmodified sendmail.mc configuration file.  The
> > startup script for sendmail then saw an apparently out-of-date
> > sendmail.mc and rebuilt it from the new sendmail.cf.
> 
> Got the file names reversed in that last sentence.  Sorry.  Should
> read:
> 
>"The startup script for sendmail then saw an apparently out-of-date
> sendmail.cf and rebuilt it from the new sendmail.mc."

thanks for the clarification.

that's odd (unless my memory is going--a real possibility).

I've got "fcshome.mc" and "fcshome.cf", the latter made from the former,
and then copied to sendmail.cf. I've done it that way for over a decade.
that way my custom .mc never gets clobbered by a new one from the RPM
package being installed.

nevertheless, your suggestion sounds reasonable. I think I'll try making
a copy of fcshome.mc as sendmail.mc then see if the right thing happens
next time sendmail gets an update. that way, if sendmail.mc gets stepped
on it won't affect my customized one and I can always fall back to the
manual way of doing things.

Thanks again!

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   But God demonstrates his own love for us in this: 
 While we were still sinners, 
  Christ died for us.
--- Romans 5:8 (niv) --
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] update to 5.5 small issues

2010-05-16 Thread Robert Nichols
On 05/16/2010 12:01 AM, Robert Nichols wrote:
> On 05/15/2010 11:23 PM, fred smith wrote:
>> a couple hours after the update (and requisite reboot and reinstallation
>> of nvidia proprietary driver), I noticed I wasn't gettting any email.
>> upon a little investigation, I noted that the update had replaced my
>> custom sendmail.cf with its own. I don't recall updates to sendmail
>> doing that previously,
>
> Sounds like you installed a sendmail.cf that was not generated from
> /etc/mail/sendmail.mc and left the original sendmail.mc unmodified.
> The rpm updated the unmodified sendmail.mc configuration file.  The
> startup script for sendmail then saw an apparently out-of-date
> sendmail.mc and rebuilt it from the new sendmail.cf.

Got the file names reversed in that last sentence.  Sorry.  Should
read:

   "The startup script for sendmail then saw an apparently out-of-date
sendmail.cf and rebuilt it from the new sendmail.mc."

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] update to 5.5 small issues

2010-05-16 Thread James A. Peltier
On Sun, 16 May 2010, fred smith wrote:

> a couple hours after the update (and requisite reboot and reinstallation
> of nvidia proprietary driver), I noticed I wasn't gettting any email.
> upon a little investigation, I noted that the update had replaced my
> custom sendmail.cf with its own. I don't recall updates to sendmail
> doing that previously,

This did not happen for me and I just completed updating around 500 hosts. 
Each time it created a sendmail.file.rpmnew

> also, around that time my panels stopped unhiding, so they remained in a
> hidden state that I could not recover them from. logged off and on and
> it didn't help, in fact it was worse: no panels at all. so I did a
> reboot and now they seem to be working. I'll have to keep an eagle-eye
> on them.
>
> so far, all else seems well.
>
> Thanks to the whole team who makes Centos possible!
>
>

-- 
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
HPC Coordinator
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
   http://blogs.sfu.ca/people/jpeltier
MSN : subatomic_s...@hotmail.com

TEAMWORK
  There's power in numbers.  Learn to work together.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] update to 5.5 small issues

2010-05-15 Thread Robert Nichols
On 05/15/2010 11:23 PM, fred smith wrote:
> a couple hours after the update (and requisite reboot and reinstallation
> of nvidia proprietary driver), I noticed I wasn't gettting any email.
> upon a little investigation, I noted that the update had replaced my
> custom sendmail.cf with its own. I don't recall updates to sendmail
> doing that previously,

Sounds like you installed a sendmail.cf that was not generated from
/etc/mail/sendmail.mc and left the original sendmail.mc unmodified.
The rpm updated the unmodified sendmail.mc configuration file.  The
startup script for sendmail then saw an apparently out-of-date
sendmail.mc and rebuilt it from the new sendmail.cf.

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos