Package: php5-common Version: 5.6.0~rc4+dfsg-3 Severity: normal Hi!
The session cleaning cronjob errors with /bin/sh being dash: # ls -al /bin/sh lrwxrwxrwx 1 root root 4 Aug 19 20:15 /bin/sh -> dash # /usr/lib/php5/sessionclean /usr/lib/php5/sessionclean: 10: [: /etc/php5/-e: unexpected operator # sh -x /usr/lib/php5/sessionclean + SAPIS=apache2:apache2\napache2filter:apache2\ncgi:php5\nfpm:php5-fpm + proc_names= + sort -rn -t: -k2,2 + + IFS=: read -r save_path gc_maxlifetime + echo -e apache2:apache2\napache2filter:apache2\ncgi:php5\nfpm:php5-fpm + IFS=: read -r conf_dir proc_name + [ -e /etc/php5/-e apache2/php.ini ] /usr/lib/php5/sessionclean: 10: [: /etc/php5/-e: unexpected operator + IFS=: read -r conf_dir proc_name + [ -e /etc/php5/apache2filter/php.ini ] + IFS=: read -r conf_dir proc_name + [ -e /etc/php5/cgi/php.ini ] + IFS=: read -r conf_dir proc_name + [ -e /etc/php5/fpm/php.ini ] + IFS=: read -r conf_dir proc_name + pidof sort -u -t: -k 1,1 + exit 0 If /bin/sh is bash, the script works: # ls -al /bin/sh lrwxrwxrwx 1 root root 4 Aug 19 20:14 /bin/sh -> bash # /usr/lib/php5/sessionclean Either use /bin/bash as shell or rewrite the script to work with dash as /bin/sh Grüße, Sven. -- Package-specific info: ==== Additional PHP 5 information ==== ++++ PHP 5 SAPI (php5query -S): ++++ cli ++++ PHP 5 Extensions (php5query -M -v): ++++ readline (Enabled for cli by maintainer script) json (Enabled for cli by maintainer script) opcache (Enabled for cli by maintainer script) pdo (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: (600, 'unstable'), (400, 'testing'), (300, 'experimental') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.14-2-amd64 (SMP w/12 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (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: ii php-pear 5.6.0~rc4+dfsg-3 -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

