Package: php5-common Version: 5.6.0~rc4+dfsg-3 Severity: normal sessionclean, which is being run from cron, uses /bin/sh.
However, it also uses "echo -e", which is not supported by dash (and will just print out "-e"). This results in an error: % sudo /usr/lib/php5/sessionclean /usr/lib/php5/sessionclean: 10: [: /etc/php5/-e: unexpected operator Changing the first line of /usr/lib/php5/sessionclean to use /bin/bash fixes the issue. -- Package-specific info: ==== Additional PHP 5 information ==== ++++ PHP 5 SAPI (php5query -S): ++++ apache2 cli ++++ PHP 5 Extensions (php5query -M -v): ++++ opcache (Enabled for apache2 by maintainer script) opcache (Enabled for cli by maintainer script) pdo_mysql (Enabled for apache2 by maintainer script) pdo_mysql (Enabled for cli by maintainer script) json (Enabled for apache2 by maintainer script) json (Enabled for cli by maintainer script) gd (Enabled for apache2 by maintainer script) gd (Enabled for cli by maintainer script) pdo (Enabled for apache2 by maintainer script) pdo (Enabled for cli by maintainer script) mysql (Enabled for apache2 by maintainer script) mysql (Enabled for cli by maintainer script) readline (Enabled for apache2 by maintainer script) readline (Enabled for cli by maintainer script) mysqli (Enabled for apache2 by maintainer script) mysqli (Enabled for cli by maintainer script) mcrypt (Enabled for apache2 by maintainer script) mcrypt (Enabled for cli by maintainer script) ++++ Configuration files: ++++ **** /etc/php5/mods-available/pdo.ini **** extension=pdo.so **** /etc/php5/mods-available/opcache.ini **** zend_extension=opcache.so -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages php5-common depends on: ii libc6 2.19-9 ii lsof 4.86+dfsg-1 ii psmisc 22.21-2 ii sed 4.2.2-4 ii ucf 3.0030 php5-common recommends no packages. Versions of packages php5-common suggests: pn php5-user-cache <none> Versions of packages php5-cli depends on: ii libbz2-1.0 1.0.6-7 ii libc6 2.19-9 ii libcomerr2 1.42.11-2 ii libdb5.3 5.3.28-5 ii libedit2 3.1-20140620-2 ii libgssapi-krb5-2 1.12.1+dfsg-7 ii libk5crypto3 1.12.1+dfsg-7 ii libkrb5-3 1.12.1+dfsg-7 ii libmagic1 1:5.19-1 ii libonig2 5.9.5-2 ii libpcre3 1:8.35-3 ii libqdbm14 1.8.78-5+b1 ii libssl1.0.0 1.0.1i-2 ii libxml2 2.9.1+dfsg1-4 ii mime-support 3.56 ii php5-json 1.3.6-1 ii tzdata 2014f-1 ii ucf 3.0030 ii zlib1g 1:1.2.8.dfsg-2 Versions of packages php5-cli recommends: ii php5-readline 5.6.0~rc4+dfsg-3 Versions of packages php5-cli suggests: pn php-pear <none> Versions of packages libapache2-mod-php5 depends on: ii apache2 2.4.10-1 ii apache2-bin [apache2-api-20120211] 2.4.10-1 ii libbz2-1.0 1.0.6-7 ii libc6 2.19-9 ii libcomerr2 1.42.11-2 ii libdb5.3 5.3.28-5 ii libgssapi-krb5-2 1.12.1+dfsg-7 ii libk5crypto3 1.12.1+dfsg-7 ii libkrb5-3 1.12.1+dfsg-7 ii libmagic1 1:5.19-1 ii libonig2 5.9.5-2 ii libpcre3 1:8.35-3 ii libqdbm14 1.8.78-5+b1 ii libssl1.0.0 1.0.1i-2 ii libstdc++6 4.9.1-7 ii libxml2 2.9.1+dfsg1-4 ii mime-support 3.56 ii php5-cli 5.6.0~rc4+dfsg-3 ii php5-json 1.3.6-1 ii tzdata 2014f-1 ii ucf 3.0030 ii zlib1g 1:1.2.8.dfsg-2 Versions of packages libapache2-mod-php5 suggests: pn php-pear <none> -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

