[Pkg-php-commits] r985 - php5/trunk/debian
Sean Finney
seanius at alioth.debian.org
Sun Jan 27 22:50:27 UTC 2008
tags 461755 pending
thanks
Author: seanius
Date: 2008-01-27 22:50:27 +0000 (Sun, 27 Jan 2008)
New Revision: 985
Modified:
php5/trunk/debian/changelog
php5/trunk/debian/php5-common.php5.cron.d
Log:
cmdline length fix
Modified: php5/trunk/debian/changelog
===================================================================
--- php5/trunk/debian/changelog 2008-01-27 22:48:14 UTC (rev 984)
+++ php5/trunk/debian/changelog 2008-01-27 22:50:27 UTC (rev 985)
@@ -3,6 +3,8 @@
[ Sean Finney ]
* New upstream release
* Updated suhosin patch for 5.2.5 minus ./configure as before.
+ * Workaround for xargs not handling extra long cmdlines in session
+ cleanup script (Closes: #461755).
* Not yet released.
[ Raphael Geissert ]
Modified: php5/trunk/debian/php5-common.php5.cron.d
===================================================================
--- php5/trunk/debian/php5-common.php5.cron.d 2008-01-27 22:48:14 UTC (rev 984)
+++ php5/trunk/debian/php5-common.php5.cron.d 2008-01-27 22:50:27 UTC (rev 985)
@@ -4,4 +4,4 @@
# files, or 24 minutes if not defined. See /usr/lib/php5/maxlifetime
# Look for and purge old sessions every 30 minutes
-09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm
+09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm
More information about the Pkg-php-commits
mailing list