[php-maint] Bug#634864: php5-common: PHP cron job generates warnings due to race conditions
Jonathan Snell
jsnell-debian at e-normous.com
Wed Jul 20 16:42:18 UTC 2011
Package: php5-common
Version: 5.3.6-8
Severity: minor
I get many:
find: `/var/lib/php5/sess_00dd09ad86cf2bb7b601cabebd5191a6_form_4e12aa19b9fee': No such file or directory
This can be easily fixed by adding:
-ignore_readdir_race to /etc/cron.d/php5 so it looks like:
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5-common depends on:
ii libc6 2.11.2-1 Embedded GNU C Library: Shared lib
ii sed 4.2-1 The GNU sed stream editor
Versions of packages php5-common recommends:
pn php5-suhosin <none> (no description available)
php5-common suggests no packages.
-- no debconf information
More information about the pkg-php-maint
mailing list