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

Ondřej Surý ondrej at sury.org
Thu Mar 7 21:46:58 UTC 2013


What default shell and cron are you using?

Ondřej Surý

On 7. 3. 2013, at 22:39, Jonathan Leroy <jonathan+ml at inikup.com> wrote:

> Package: php5-common
> Version: 5.4.4-13
> Severity: important
> 
> Hi,
> 
> 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
> 
> Thx,
> 
> Jonathan.
> 
> 
> -- 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
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



More information about the pkg-php-maint mailing list