when I try to start mcelog in daemon mode I got some errors in /var/log/mcelog mcelog: Cannot access cache threshold trigger `cache-error-trigger': Permission denied strace confirm that the problem is the right of the file: access("/etc/mcelog", R_OK|X_OK) = 0 access("/etc/mcelog/cache-error-trigger", R_OK|X_OK) = -1 EACCES (Permission denied) write(2, "mcelog: ", 8mcelog: ) = 8 write(2, "Cannot access cache threshold tr"..., 59Cannot access cache threshold trigger `cache-error-trigger') = 59 write(2, ": Permission denied\n", 20: Permission denied All the trigger files are shell script, so they need to be installed with 750 rights. Furthermore, /etc/mcelog/cache-error-trigger is a bash script, so the ebuild is missing a RDEPEND to app-shells/bash. (or the script need to be converted to /bin/sh, but some bashisms are present).
Created attachment 336928 [details, diff] ebuild patch I don't believe we need a bash dep since it's in @system, but we do need to get those scripts +x, I should have caught that earlier. Simple ebuild patch attached.
+ 26 Jan 2013; Julian Ospald <hasufell@gentoo.org> + mcelog-1.0_pre3_p20120918-r1.ebuild, + +files/mcelog-1.0_pre3_p20120918-bashism.patch: + remove bashisms from scripts, install scripts executable no revbump, I assume most users are able to adjust permissions if necessary.