[php-maint] Bug#718627: [php5-fpm] systemd service file is wrong (ExecPre should include full path to sh)

Adrien CLERC bugs-debian at antipoul.fr
Sat Aug 3 09:36:41 UTC 2013


Package: php5-fpm
Version: 5.5.1+dfsg-1
Severity: normal

--- Please enter the report below this line. ---
When I reload systemd, I got the following warning in the syslog:
[/lib/systemd/system/php5-fpm.service:8] Invalid executable path in 
command line, ignoring: sh -c 'errors=$(/usr/sbin/php5-fpm --fpm-config 
/etc/php5/fpm/php-fpm.conf -t 2>&1 | grep "\[ERROR\]" || true); if [ -n 
"$errors" ]; then echo "Please fix your configuration file..."; echo 
$errors; exit 1; fi'

Indeed, the line ExecPre should start with the following:
ExecPre=/bin/sh -c […]

Adrien

--- System information. ---
Architecture: i386
Kernel: Linux 3.10-1-686-pae

Debian Release: jessie/sid
500 unstable ftp.fr.debian.org
1 experimental ftp.fr.debian.org

--- Package information. ---
Depends (Version) | Installed
====================================-+-================
libbz2-1.0 | 1.0.6-4
libc6 (>= 2.11) | 2.17-92
libcomerr2 (>= 1.01) | 1.42.8-1
libdb5.1 | 5.1.29-6
libgssapi-krb5-2 (>= 1.6.dfsg.2) | 1.10.1+dfsg-6.1
libk5crypto3 (>= 1.6.dfsg.2) | 1.10.1+dfsg-6.1
libkrb5-3 (>= 1.6.dfsg.2) | 1.10.1+dfsg-6.1
libonig2 (>= 5.2.0) |
libpcre3 (>= 8.10) | 1:8.31-2
libqdbm14 (>= 1.8.74) |
libssl1.0.0 (>= 1.0.0) | 1.0.1e-3
libxml2 (>= 2.8.0) | 2.9.1+dfsg1-2
zlib1g (>= 1:1.1.4) | 1:1.2.8.dfsg-1
mime-support | 3.54
php5-common (= 5.4.4-15) |
libmagic1 | 1:5.14-2
ucf | 3.0027+nmu1
tzdata | 2013d-1


Package's Recommends field is empty.

Suggests (Version) | Installed
=======================-+-===========
php-pear |



More information about the pkg-php-maint mailing list