Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34993 - /etc/crontab with vcron seems to have an extra field
Summary: /etc/crontab with vcron seems to have an extra field
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc All
: High normal
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-03 11:29 UTC by Ray Russell Reese III (RETIRED)
Modified: 2004-02-12 10:46 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 Ray Russell Reese III (RETIRED) gentoo-dev 2003-12-03 11:29:56 UTC
The /etc/crontab with vcron seems to contain an extra field which looks like a "run-as" field, which is defined as "root". However no where in vcron's manpage does it specify that field.

As a result a dead.letter is created in root's home directory every time one of the cron entries is run, this is because it attempts to run the command "root" which doesn't exist. Contents of the dead.letter contain:

/bin/sh: line 1: root: command not found

Interestingly enough though this seems to only happen on my sparc Gentoo box, and not my amd64 or x86 box.
Comment 1 Jason Wever (RETIRED) gentoo-dev 2003-12-06 13:26:18 UTC
what versions of sys-apps/crontab and sys-apps/vcron do you have installed?
Comment 2 Ray Russell Reese III (RETIRED) gentoo-dev 2003-12-06 15:51:37 UTC
cronbase = 0.2.1-r3
vcron = 3.0.1-r4

I was running only 'sparc' and still had the problem (fresh install), so I unmasked ~sparc and emerged the latest available, still problem persists.

I removed the column that has the word "root" in it, I assume it's a run-as field. After removing that and reloading the cron it works fine. Oddly though, this doesn't happen on my x86 or amd64 box running the same cronbase and vcron.
Comment 3 Ciaran McCreesh 2004-02-12 10:46:57 UTC
This doesn't seem to happen with the new vixie-cron ebuilds. Please re-open if they're still broken for you (don't forget to etc-update first).