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
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
Please test -r1.