[php-maint] Bug#770156: php5-common: sessionclean scripts now always fails on Wheezy because "sed: invalid option -- 'z'"
lpouzenc
lpouzenc at pouzenc.fr
Wed Nov 19 08:39:41 UTC 2014
Package: php5-common
Version: 5.4.35-0+deb7u1
Severity: important
Dear Maintainer,
Since last night unattended-upgrade, sessionclean is broken on Wheezy with standard repositories.
Shown in /var/log/apt/history.log :
Start-Date: 2014-11-19 06:50:06
Upgrade: libapache2-mod-php5:amd64 (5.4.34-0+deb7u1, 5.4.35-0+deb7u1), php5-gd:amd64 (5.4.34-0+deb7u1, 5.4.35-0+deb7u1), php5-cli:amd64 (5.4.34-0+deb7u1, 5.4.35-0+deb7u1), php5-common:amd64 (5.4.34-0+deb7u1, 5.4.35-0+deb7u1)
End-Date: 2014-11-19 06:50:28
Since that upgrade, I receive a cron error mail like :
Subject: Cron <root at piou> [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)
sed : option invalide -- 'z'
Utilisation: sed [OPTION]... {script-seulement-si-pas-d'autre-script}
[fichier-d'entrée]...
In php5-common, the script /usr/lib/php5/maxlifetime try to use "sed -z" but this option seems unsupported in :
ii sed 4.2.1-10 amd64 The GNU sed stream editor
My sources.list :
root at piou:/var/log/apt# cat /etc/apt/sources.list
deb http://ftp.fr.debian.org/debian/ wheezy main
deb-src http://ftp.fr.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib
# wheezy-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ wheezy-updates main contrib
deb-src http://ftp.fr.debian.org/debian/ wheezy-updates main contrib
My unattended-upgrade config :
root at piou:/etc/apt/apt.conf.d# grep -vE '^(//|$)' 50unattended-upgrades
Unattended-Upgrade::Origins-Pattern {
// Archive or Suite based matching:
// Note that this will silently match a different release after
// migration to the specified archive (e.g. testing becomes the
// new stable).
"o=Debian,a=stable";
"o=Debian,a=stable-updates";
"origin=Debian,archive=stable,label=Debian-Security";
};
Unattended-Upgrade::Package-Blacklist {
};
Unattended-Upgrade::Mail "root";
Unattended-Upgrade::Remove-Unused-Dependencies "false";
-- System Information:
Debian Release: 7.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the pkg-php-maint
mailing list