Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26428 - /sbin /usr/sbin not in path in cron jobs
Summary: /sbin /usr/sbin not in path in cron jobs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 26430
  Show dependency tree
 
Reported: 2003-08-11 15:35 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2004-01-26 14:26 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 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-08-11 15:35:48 UTC
using vcron, the path for cron jobs executed from /etc/crontab or any of the
/etc/cron.{hourly|daily...} folders is:

X-Cron-Env: <PATH=/usr/bin:/bin>

we should add to the top of the default vcron /etc/crontab:

PATH=/sbin:/bin:/usr/sbin:/usr/bin
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-26 14:26:47 UTC
it is there in sys-apps/vixie-cron-3.0.1-r3