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

Bug 589854

Summary: app-admin/logrotate-3.9.2-r1 moves to /bin, but cron file points to /sbin
Product: Gentoo Linux Reporter: Jouni Rinne <l33tmmx>
Component: Current packagesAssignee: Chema Alonso Josa (RETIRED) <nimiux>
Status: RESOLVED FIXED    
Severity: normal CC: alunduil, casta, fcoiffie, gentoo, hydrapolic, orzel, phantom4, whissi, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jouni Rinne 2016-07-27 15:55:11 UTC
/etc/cron.daily/logrotate:

#!/bin/sh

/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0

but logrotate is in /usr/bin/
Comment 1 Oleh 2016-07-28 09:58:34 UTC
any progress in solving this obvious problem?
Comment 2 Thomas Capricelli 2016-07-28 12:08:29 UTC
confirmed here
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2016-07-30 21:43:34 UTC
*** Bug 590004 has been marked as a duplicate of this bug. ***
Comment 5 Chema Alonso Josa (RETIRED) gentoo-dev 2016-08-03 19:55:58 UTC
Sorry, I've been offline for a while.

@zero_chaos: thanks for the fix.