public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] app-admin/mcelog daily cronjob?
@ 2014-04-16 13:39 Stroller
  2014-04-16 14:44 ` Tom Wijsman
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Stroller @ 2014-04-16 13:39 UTC (permalink / raw
  To: gentoo-user

I set up a new machine a couple of months ago, and for some time I've been getting an email each day:

  Subject: Cron <root@host> test -x /usr/sbin/run-crons && /usr/sbin/run-crons
  fopen: Permission denied


Taking a look at /etc/cron.daily/ shows only one odd one out:

  $ sudo ls -lh /etc/cron.daily/
  total 16K  
  -rwxr-xr-x 1 root root  180 Feb  4 20:28 logrotate
  -rwxr-xr-x 1 root root  196 Mar  3 09:48 man-db
  -rw-r--r-- 1 root root  141 Apr 16 14:09 mcelog  
  -rwxr-xr-x 1 root root 1.3K Feb  4 23:53 mlocate


I *assume* that mcelog is the cron job which is causing this error, although the error message is not much to go on. It doesn't have execute permissions set, though, so that's what leads me towards this (tentative) conclusion.

I dunno, running it manually gives a different error:

  $ sudo /etc/cron.daily/mcelog
  sudo: /etc/cron.daily/mcelog: command not found
  $ 

Nevertheless, when I look at the http://mcelog.org/ homepage, specified in the package description, it says:

  Traditionally mcelog was run as a cronjob, but this usage is
  deprecated now. The modern way to run it is to start it at
  boot up time and run it always as a daemon.

I tried unmerging app-admin/mcelog and the cron.daily file is removed; then remerging (the latest stable version - 1.0_pre3_p20130621-r1) and it's reinstalled with the same permissions.

So I guess my question is: is this a bug with the app-admin/mcelog package?

I've got another system which isn't showing this problem, and mcelog is not installed. And the system *seems* to be running just fine, despite the assertion at mcelog.or that "mcelog is required by … Linux kernels … to log machine checks and should run on all Linux systems that need error handling." 

On the system which is showing this problem, app-admin/mcelog is in the world file - and it was before I started investigating this problem (I know this because I have a clone of that system which I took a few weeks ago), although I don't recall ever choosing to install it. 

What is mcelog, and why do I need it, please?

Stroller.
















^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-04-17 20:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-16 13:39 [gentoo-user] app-admin/mcelog daily cronjob? Stroller
2014-04-16 14:44 ` Tom Wijsman
2014-04-16 15:39   ` Stroller
2014-04-16 15:52     ` Tom Wijsman
2014-04-16 16:14       ` Stroller
2014-04-16 16:30         ` Alan McKinnon
2014-04-16 16:41         ` Tom Wijsman
2014-04-17 12:11           ` Stroller
2014-04-17 13:32             ` Tom Wijsman
2014-04-17 17:13               ` Stroller
2014-04-17 20:26                 ` Tom Wijsman
2014-04-17  3:58 ` Randy Barlow
2014-04-17  8:49 ` Neil Bothwick
2014-04-17 12:15   ` Stroller
2014-04-17 12:28     ` Neil Bothwick
2014-04-17 17:17       ` Stroller
2014-04-17 19:47         ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox