Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 161316

Summary: /etc/cron.daily/makewhatis as error. Wrong path for nice
Product: Gentoo Linux Reporter: Frank <gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***