Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67531 - app-admin/logsentry /etc/cron.hourly/logsentry.cron is not executable
Summary: app-admin/logsentry /etc/cron.hourly/logsentry.cron is not executable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 04:21 UTC by arno
Modified: 2004-10-14 05:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arno 2004-10-14 04:21:11 UTC
Because /etc/cron.hourly/logsentry.cron is not set +x by the ebuild, it's not sufficent to uncomment the logwatch-line in this file to run logsentry hourly via this script. It has to be set +x to be executed, because /usr/sbin/run-crons checks if the script is executable instead of sourcing it.

chmod u+x /etc/cron.hourly/logsentry.cron does the trick

(or add the line directly to root's crontab, as the ebuild says).

Reproducible: Didn't try
Steps to Reproduce:
1. emerge logsentry
2. ls -l /etc/cron.hourly


Actual Results:  
~: ls -l /etc/cron.hourly
-rw-r--r--  1 root root 168 Oct 12 20:31 logsentry.cron

Expected Results:  
~: ls -l /etc/cron.hourly
-rwxr--r--  1 root root 168 Oct 12 20:31 logsentry.cron
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2004-10-14 05:00:08 UTC
Fixed.  Thanks for the report.