Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161316 - /etc/cron.daily/makewhatis as error. Wrong path for nice
Summary: /etc/cron.daily/makewhatis as error. Wrong path for nice
Status: RESOLVED DUPLICATE of bug 160317
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 13:28 UTC by Frank
Modified: 2007-01-10 13:45 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 Frank 2007-01-10 13:28:44 UTC
File: /etc/cron.daily/makewhatis 
original file contains this line

exec /bin/nice /usr/sbin/makewhatis -u

This generates an error as /bin/nice does not exist. The correct path for the nice command is /usr/bin/nice

As I did not generate this file, I assume it was provided by vixie-cron. 


Reproducible: Always

Steps to Reproduce:
1.Error in cron file. 
2.
3.




The fix is to use the corrected path. 

exec /usr/bin/nice /usr/sbin/makewhatis -u
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 13:45:29 UTC

*** This bug has been marked as a duplicate of bug 160317 ***