From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7F0B5138A1F for ; Wed, 16 Apr 2014 13:40:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F200CE0AB9; Wed, 16 Apr 2014 13:40:01 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id A434AE0AB2 for ; Wed, 16 Apr 2014 13:39:59 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.97,872,1389744000"; d="scan'208";a="75309967" Received: from unknown (HELO compaq.stroller.uk.eu.org) ([213.152.39.89]) by smtpout.karoo.kcom.com with ESMTP; 16 Apr 2014 14:40:00 +0100 Received: from [192.168.11.101] (unknown [192.168.11.101]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id A14E6126AB for ; Wed, 16 Apr 2014 14:33:38 +0100 (BST) From: Stroller Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: [gentoo-user] app-admin/mcelog daily cronjob? Message-Id: <931458D2-51AE-47CF-97B2-8DD1EFBBE56A@stellar.eclipse.co.uk> Date: Wed, 16 Apr 2014 14:39:16 +0100 To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-Archives-Salt: bdbd1283-350e-41c3-93af-699d7669916b X-Archives-Hash: 121fa300fc635390e3817057bb421e84 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 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 =20 -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 =20 -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 $=20 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 =85 Linux kernels = =85 to log machine checks and should run on all Linux systems that need = error handling."=20 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.=20 What is mcelog, and why do I need it, please? Stroller.