这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #770156
php5-common: sessionclean scripts now always fails on Wheezy because "sed: invalid option -- 'z'"

version graph

Package: php5-common; Maintainer for php5-common is (unknown);

Reported by: lpouzenc <lpouzenc@pouzenc.fr>

Date: Wed, 19 Nov 2014 09:09:01 UTC

Severity: normal

Tags: security

Merged with 770105, 770108, 770150, 770151, 770164

Found in versions php5/5.4.4-14+deb7u14, php5/5.4.35-0deb7u2, php5/5.4.35-0+deb7u1

Fixed in versions php5/5.4.35-0deb7u1, 5.4.35-0deb7u2, 5.4.35-0+deb7u2

Done: "Thijs Kinkhorst" <thijs@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#770156; Package php5-common. (Wed, 19 Nov 2014 09:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to lpouzenc <lpouzenc@pouzenc.fr>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 19 Nov 2014 09:09:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: lpouzenc <lpouzenc@pouzenc.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-common: sessionclean scripts now always fails on Wheezy because "sed: invalid option -- 'z'"
Date: Wed, 19 Nov 2014 09:39:41 +0100
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@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@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@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



Severity set to 'serious' from 'important' Request was from Sebastiaan Couwenberg <sebastic@xs4all.nl> to control@bugs.debian.org. (Wed, 19 Nov 2014 09:36:31 GMT) (full text, mbox, link).


Marked as fixed in versions 5.4.35-0deb7u2. Request was from Sebastiaan Couwenberg <sebastic@xs4all.nl> to control@bugs.debian.org. (Wed, 19 Nov 2014 09:36:36 GMT) (full text, mbox, link).


Marked Bug as done Request was from Sebastiaan Couwenberg <sebastic@xs4all.nl> to control@bugs.debian.org. (Wed, 19 Nov 2014 09:36:39 GMT) (full text, mbox, link).


Notification sent to lpouzenc <lpouzenc@pouzenc.fr>:
Bug acknowledged by developer. (Wed, 19 Nov 2014 09:36:40 GMT) (full text, mbox, link).


Merged 770105 770108 770150 770151 770156 Request was from Sebastiaan Couwenberg <sebastic@xs4all.nl> to control@bugs.debian.org. (Wed, 19 Nov 2014 09:36:42 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#770156; Package php5-common. (Wed, 19 Nov 2014 09:42:11 GMT) (full text, mbox, link).


Acknowledgement sent to Michal Čihař <nijel@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 19 Nov 2014 09:42:11 GMT) (full text, mbox, link).


Message #20 received at 770156@bugs.debian.org (full text, mbox, reply):

From: Michal Čihař <nijel@debian.org>
To: 770156@bugs.debian.org
Subject: Needs newer sed
Date: Wed, 19 Nov 2014 10:16:29 +0100
[Message part 1 (text/plain, inline)]
Hi

just to give more details, the curent php5-common uses -z option of sed
which has been introduced in 4.2.2, while stable currently has 4.2.1.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
[Message part 2 (application/pgp-signature, inline)]

Merged 770105 770108 770150 770151 770156 770164 Request was from "Sebastiaan Couwenberg" <sebastic@xs4all.nl> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:13 GMT) (full text, mbox, link).


Severity set to 'normal' from 'serious' Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:23 GMT) (full text, mbox, link).


Bug reopened Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:28 GMT) (full text, mbox, link).


No longer marked as fixed in versions 5.4.35-0deb7u2. Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:34 GMT) (full text, mbox, link).


Marked as fixed in versions php5/5.4.35-0deb7u1 and 5.4.35-0deb7u2. Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:40 GMT) (full text, mbox, link).


Marked as found in versions php5/5.4.4-14+deb7u14 and php5/5.4.35-0deb7u2. Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:45 GMT) (full text, mbox, link).


Added tag(s) security and pending. Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:50 GMT) (full text, mbox, link).


Merged 766147 770105 770108 770150 770151 770156 770164 Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:48:56 GMT) (full text, mbox, link).


Disconnected #766147 from all other report(s). Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:54:08 GMT) (full text, mbox, link).


Merged 770105 770108 770150 770151 770156 770164 Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 10:54:12 GMT) (full text, mbox, link).


Disconnected #770108 from all other report(s). Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 11:00:12 GMT) (full text, mbox, link).


Merged 770105 770108 770150 770151 770156 770164 Request was from Yves-Alexis Perez <corsac@debian.org> to control@bugs.debian.org. (Wed, 19 Nov 2014 11:03:20 GMT) (full text, mbox, link).


Message #45 received at 770164-done@bugs.debian.org (full text, mbox, reply):

From: "Thijs Kinkhorst" <thijs@debian.org>
To: 770164-done@bugs.debian.org
Subject: Re: Bug#770164: php5: /usr/lib/php5/sessionclean broken: passes incompatible argument to sed
Date: Wed, 19 Nov 2014 12:03:01 +0100
Version: 5.4.35-0+deb7u2

This was fixed in a DSA regression update.



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 20 Dec 2014 07:25:49 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 29 11:28:17 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.