[php-maint] Bug#702531: php5-common: Non-escaped semicolon in crontab

Jonathan Leroy jonathan+ml at inikup.com
Thu Mar 7 21:39:38 UTC 2013

Package: php5-common
Version: 5.4.4-13
Severity: important


This package generate a /etc/cron.d/php5 which returns the following error :

/bin/sh: 1: -delete: not found

Triple backslashs before the last semicolon of command should fix this error :

[...] && 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: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.38-xenU-7648-x86_64-grsec (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-common depends on:
ii  dpkg    1.16.9
ii  libc6   2.13-38
ii  psmisc  22.19-1+deb7u1
ii  sed     4.2.1-10
ii  ucf     3.0025+nmu3

php5-common recommends no packages.

php5-common suggests no packages.

-- Configuration Files:
/etc/cron.d/php5 changed [not included]

-- no debconf information

More information about the pkg-php-maint mailing list