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

Bug 468444

Summary: app-admin/tmpwatch-2.11 error: Error determining boot time: Invalid argument
Product: Gentoo Linux Reporter: Christophe PEREZ <chris>
Component: Current packagesAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christophe PEREZ 2013-05-03 14:02:44 UTC
After recent update tmpwatch from 2.10.1 to 2.11 I have an error witch most of lines of my clean script (but not all) :
# /usr/sbin/tmpwatch -a -u --exclude=/tmp/.{ICE,X11}-unix 168 /tmp
(no error)
# /usr/sbin/tmpwatch -a -c 720 /home/*/.etwolf/et{main,pro,pub}/
(no error)
but :
# /usr/sbin/tmpwatch -d -m 168 /var/log/portage
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -u 1344 /var/log/www/squid/daily/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -u 2688 /var/log/www/squid/weekly/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -f -m 2688 /home/*/.bzf/cache/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -u 168 /var/lib/asterisk/sounds/tts/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -u 720 /var/log/tomcat-7-main
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -u 648 /sauvegarde/illicodom/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -u 720 /sauvegarde/Linux/mysql-zrm/dailyrun/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -d -c 168 /var/log/jabber/mu-conference/*/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -d -c 168 /var/log/sa/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -d -c 720 /var/log/sandbox/
error: Error determining boot time: Invalid argument
# /usr/sbin/tmpwatch -c 744 /var/doc/html/
error: Error determining boot time: Invalid argument

I  tried removing noatime option from /home (for example) mount but same error.

I think I'll downgrade.

Reproducible: Always
Comment 1 Christophe PEREZ 2013-05-07 14:03:39 UTC
may be should be patched with https://github.com/pld-linux/tmpwatch/blob/master/tmpwatch-boottime.patch like https://bugs.launchpad.net/pld-linux/+bug/1034364

Works nice with this patch, even if can't be put in /etc/portage/patches/app-admin/tmpwatch-2.11/tmpwatch-boottime.diff
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2013-05-08 04:27:11 UTC
Please test -r1.