Debian Bug report logs - #705106
php5: /usr/lib/php5/maxlifetime returns no output

version graph

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

Reported by: Michal Palenik <bugs@debian.iz.sk>

Date: Wed, 10 Apr 2013 09:39:02 UTC

Severity: important

Tags: moreinfo

Found in versions php5/5.4.4-14, php5/5.4.4-15.1

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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#705106; Package php5. (Wed, 10 Apr 2013 09:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Michal Palenik <bugs@debian.iz.sk>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 10 Apr 2013 09:39:06 GMT) (full text, mbox, link).


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

From: Michal Palenik <bugs@debian.iz.sk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5: /usr/lib/php5/maxlifetime returns no output
Date: Wed, 10 Apr 2013 11:29:16 +0200
Package: php5
Version: 5.4.4-14
Severity: important

Dear Maintainer,


/usr/lib/php5/maxlifetime returns no output if some of the php.ini files
contain an error/warning. error in php.ini are quite easy to get: some
depreciated php option in interfaces user does not use (cli, fpm, ...)

in the code there is line 
"error_reporting='~E_ALL'"
which causes the the maxlifetime script to return nothing, which is then
interpreted by /etc/cron.d/php5 as 0 which as a result does not clear
session files. my outcome was /var running out of inodes and server
crashing. running the files does not report any error.

solution:
change /usr/lib/php5/maxlifetime  from 
"error_reporting='~E_ALL'"
to 
"error_reporting='~E_NONE'"
(or alternatively do not override default setting set in */php.ini)

michal



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=sk_SK.utf8, LC_CTYPE=sk_SK.utf8 (charmap=UTF-8) (ignored: LC_ALL set to sk_SK.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5 depends on:
ii  libapache2-mod-php5  5.4.4-14
ii  php5-common          5.4.4-14

php5 recommends no packages.

php5 suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#705106; Package php5. (Fri, 03 May 2013 08:27:07 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Fri, 03 May 2013 08:27:07 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@debian.org>
To: Michal Palenik <bugs@debian.iz.sk>, 705106@bugs.debian.org
Subject: Re: [php-maint] Bug#705106: php5: /usr/lib/php5/maxlifetime returns no output
Date: Fri, 3 May 2013 10:23:04 +0200
tags 705106 +moreinfo
thank you

There must be something else going on.

Could you please write down exact steps to reproduce this issue? Since
I am unable to reproduce the issue

root@howl:~# php
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20100525/gd.so' - /usr/lib/php5/20100525/gd.so: cannot
open shared object file: No such file or directory in Unknown on line
0


root@howl:~# /usr/lib/php5/maxlifetime
24

root@howl:~# php
PHP Deprecated:  Comments starting with '#' are deprecated in
/etc/php5/cli/conf.d/20-gd.ini on line 3 in Unknown on line 0


root@howl:~# /usr/lib/php5/maxlifetime
24

O.

On Wed, Apr 10, 2013 at 11:29 AM, Michal Palenik <bugs@debian.iz.sk> wrote:
> Package: php5
> Version: 5.4.4-14
> Severity: important
>
> Dear Maintainer,
>
>
> /usr/lib/php5/maxlifetime returns no output if some of the php.ini files
> contain an error/warning. error in php.ini are quite easy to get: some
> depreciated php option in interfaces user does not use (cli, fpm, ...)
>
> in the code there is line
> "error_reporting='~E_ALL'"
> which causes the the maxlifetime script to return nothing, which is then
> interpreted by /etc/cron.d/php5 as 0 which as a result does not clear
> session files. my outcome was /var running out of inodes and server
> crashing. running the files does not report any error.
>
> solution:
> change /usr/lib/php5/maxlifetime  from
> "error_reporting='~E_ALL'"
> to
> "error_reporting='~E_NONE'"
> (or alternatively do not override default setting set in */php.ini)
>
> michal
>
>
>
> -- System Information:
> Debian Release: 7.0
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=sk_SK.utf8, LC_CTYPE=sk_SK.utf8 (charmap=UTF-8) (ignored: LC_ALL set to sk_SK.utf8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5  5.4.4-14
> ii  php5-common          5.4.4-14
>
> php5 recommends no packages.
>
> php5 suggests no packages.
>
> -- no debconf information
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej@sury.org>



Added tag(s) moreinfo. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Fri, 03 May 2013 08:27:10 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#705106; Package php5. (Sat, 05 Oct 2013 01:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Eichenberg <maei@web.de>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 05 Oct 2013 01:00:05 GMT) (full text, mbox, link).


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

From: Martin Eichenberg <maei@web.de>
To: Debian Bug Tracking System <705106@bugs.debian.org>
Subject: php5-common: same issue here.
Date: Sat, 05 Oct 2013 02:50:10 +0200
Package: php5-common
Version: 5.4.4-15.1
Followup-For: Bug #705106


 
-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-common depends on:
ii  dpkg    1.16.10
ii  libc6   2.17-93
ii  psmisc  22.20-1
ii  sed     4.2.2-2
ii  ucf     3.0027+nmu1

php5-common recommends no packages.

php5-common suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#705106; Package php5. (Sat, 05 Oct 2013 17:33:08 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Sat, 05 Oct 2013 17:33:08 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: Martin Eichenberg <maei@web.de>, Debian Bug Tracking System <705106@bugs.debian.org>
Subject: Re: [php-maint] Bug#705106: php5-common: same issue here.
Date: Sat, 05 Oct 2013 19:31:44 +0200
Please refrain from "me too" post to BTS unless you have new information
related to the bug.

O.
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

On Sat, Oct 5, 2013, at 2:50, Martin Eichenberg wrote:
> Package: php5-common
> Version: 5.4.4-15.1
> Followup-For: Bug #705106
> 
> 
>  
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages php5-common depends on:
> ii  dpkg    1.16.10
> ii  libc6   2.17-93
> ii  psmisc  22.20-1
> ii  sed     4.2.2-2
> ii  ucf     3.0027+nmu1
> 
> php5-common recommends no packages.
> 
> php5-common suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Wed, 02 Jul 2014 12:24:08 GMT) (full text, mbox, link).


Notification sent to Michal Palenik <bugs@debian.iz.sk>:
Bug acknowledged by developer. (Wed, 02 Jul 2014 12:24:08 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: 705106-done@bugs.debian.org
Subject: Re: Bug#705106: php5: /usr/lib/php5/maxlifetime returns no output
Date: Wed, 02 Jul 2014 14:21:41 +0200
As the OP failed to provide additional information and we are unable
to reproduce this issue, I am closing the bug.

O.
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 31 Jul 2014 07:25:52 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: Sun Jul 2 02:49:40 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU 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.