Bug 706257 - hourly email about /etc/cron.hourly/mcelog.cron
Summary: hourly email about /etc/cron.hourly/mcelog.cron
Keywords:
Status: CLOSED DUPLICATE of bug 699592
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: mcelog
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Prarit Bhargava
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-19 21:06 UTC by joshua
Modified: 2011-10-04 19:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-05 13:41:06 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Legacy) 58718 0 None None None Never

Description joshua 2011-05-19 21:06:48 UTC
Description of problem:

Just updated to RHEL 6.1, and now I get the following email every hour:

/etc/cron.hourly/mcelog.cron:

read: No such device

Seems like this Fedora bug made its way to RHEL 6.1 ?  This is going to be a pain reading every hour!


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

kernel-2.6.32-131.0.15.el6.x86_64
mcelog-1.0pre3_20101112-0.6.el6.x86_64

Comment 2 Prarit Bhargava 2011-05-20 14:32:32 UTC
(In reply to comment #0)
> Description of problem:
> 
> Just updated to RHEL 6.1, and now I get the following email every hour:
> 
> /etc/cron.hourly/mcelog.cron:
> 
> read: No such device
> 
> Seems like this Fedora bug made its way to RHEL 6.1 ?  This is going to be a
> pain reading every hour!

Ouch.  I thought that only happened on startup of the mcelog process.  I'll see what I can do about getting out a hotfix ...

P.

Comment 3 joshua 2011-05-20 15:29:53 UTC
I'm seeing other errors here too:

After a "sudo yum update" upgrade to RHEL 6.1, mcelogd doesn't even show in chkconfig.  I've verified this on three different machines.

As such, it isn't started after a reboot.

Comment 4 Prarit Bhargava 2011-05-24 10:34:13 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > Description of problem:
> > 
> > Just updated to RHEL 6.1, and now I get the following email every hour:
> > 
> > /etc/cron.hourly/mcelog.cron:
> > 
> > read: No such device
> > 
> > Seems like this Fedora bug made its way to RHEL 6.1 ?  This is going to be a
> > pain reading every hour!
> 
> Ouch.  I thought that only happened on startup of the mcelog process.  I'll see
> what I can do about getting out a hotfix ...
> 
> P.

Hi - what version of mcelog are you running?

I just ran an overnight test and didn't see any unusual emails....

[root@intel-s3e37-03 ~]# service mcelogd start
Starting mcelog daemon
[root@intel-s3e37-03 ~]#                                   [  OK  ]
[root@intel-s3e37-03 ~]# 
[root@intel-s3e37-03 ~]# 
[root@intel-s3e37-03 ~]# 
[root@intel-s3e37-03 ~]# mail
No mail for root
[root@intel-s3e37-03 ~]# date
Mon May 23 19:47:06 EDT 2011


Then this morning ...

[root@intel-s3e37-03 ~]# mail
No mail for root
[root@intel-s3e37-03 ~]# rpm -q mcelog
mcelog-1.0pre3_20101112-0.6.el6.x86_64
[root@intel-s3e37-03 ~]# date
Tue May 24 06:31:29 EDT 2011
[root@intel-s3e37-03 ~]#

Comment 5 joshua 2011-05-24 16:09:54 UTC
I'm running mcelog-1.0pre3_20101112-0.6.el6.x86_64 ... but the problem seems to have stopped now.  The upgrade from the old to the new didn't leave the service chkconfig'ed, but once I've manually started the service, I too can't get the errors I was seeing before

Comment 6 Prarit Bhargava 2011-05-24 17:18:54 UTC
(In reply to comment #5)
> I'm running mcelog-1.0pre3_20101112-0.6.el6.x86_64 ... but the problem seems to
> have stopped now.  The upgrade from the old to the new didn't leave the service
> chkconfig'ed, but once I've manually started the service, I too can't get the
> errors I was seeing before

Okay -- the service should have stayed on.  That sounds like a bug.

I'll try the upgrade path and make sure there isn't something odd going on.

P.

Comment 7 joshua 2011-06-03 16:38:56 UTC
Looking at this more, I see that every reboot I get these emails.  Not sure why that matters as the script runs every hour.

Comment 8 Colin.Simpson 2011-06-13 16:19:16 UTC
I have this problem to. Looks like the same issue as Fedora was/is having:

https://bugzilla.redhat.com/show_bug.cgi?id=540477

https://bugzilla.redhat.com/show_bug.cgi?id=595930

Comment 9 Prarit Bhargava 2011-06-19 15:26:20 UTC
Joshua, unfortunately you will likely get this mail every reboot (for now).  But the issue of mcelog not staying chkconfig'd during startup is a bug.

Can you cut-and-paste the text of the message you are currently seeing with the latest mcelog?

Thanks,

P.

Comment 10 joshua 2011-06-20 16:25:03 UTC
Here it is, from mcelog-1.0pre3_20101112-0.6.el6.x86_64:

/etc/cron.hourly/mcelog.cron:

read: No such device

Comment 11 Prarit Bhargava 2011-07-14 13:20:38 UTC
(In reply to comment #10)
> Here it is, from mcelog-1.0pre3_20101112-0.6.el6.x86_64:
> 
> /etc/cron.hourly/mcelog.cron:
> 
> read: No such device

Joshua, can you send me the vendor and model of the system you're using?  I cannot reproduce this internally on a variety of systems.

P.

Comment 12 joshua 2011-07-14 15:32:08 UTC
they are model SUN FIRE X2250

Comment 13 Prarit Bhargava 2011-08-05 13:41:06 UTC
Joshua, this is likely fixed by BZ 699592 which does a refresh of the mcelog codebase.  Upstream resolved this issue in between the refreshes and early reports from testing is that we no longer see the hourly emails.

If you still see this after 6.2, please open up a new BZ.

FYI,

P.

*** This bug has been marked as a duplicate of bug 699592 ***

Comment 14 Colin.Simpson 2011-10-04 19:08:41 UTC
Can you open up bug #699592 to public viewing so we can track this?

Looks like F14 is about to get an update to fix this, so surely RHEL6.1 will be too (bug #595930)?

Thanks


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