Debian Bug report logs -
#452347
php5-common: /usr/lib/php5/maxlifetime should search /etc/php5/conf.d/*.ini too
Reported by: Arne Rusek <zonk@hukot.cz>
Date: Thu, 22 Nov 2007 03:48:02 UTC
Severity: wishlist
Tags: patch, wontfix
Merged with 508007
Found in versions php5/5.2.0-8+etch7, php5/5.2.5-3
Fixed in version 5.4.0~rc8-1
Done: Ondřej Surý <ondrej@sury.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#452347; Package php5-common.
(full text, mbox, link).
Acknowledgement sent to Arne Rusek <zonk@hukot.cz>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: php5-common
Version: 5.2.0-8+etch7
Severity: normal
Tags: patch
Hi.
It was a surprise when sessions were lost after 1440s contrary to the
session.gc_maxlifetime setting in some /etc/php5/conf.d/foobar.ini.
Please add /etc/php5/conf.d/*.ini search to the /usr/lib/php5/maxlifetime script.
Best regards.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Versions of packages php5-common depends on:
ii sed 4.1.5-1 The GNU sed stream editor
php5-common recommends no packages.
-- debconf-show failed
[php5.patch (text/plain, attachment)]
Tags added: wontfix
Request was from Raphael <atomo64@gmail.com>
to control@bugs.debian.org.
(Thu, 22 Nov 2007 04:21:01 GMT) (full text, mbox, link).
Severity set to `wishlist' from `normal'
Request was from Raphael <atomo64@gmail.com>
to control@bugs.debian.org.
(Thu, 22 Nov 2007 04:21:02 GMT) (full text, mbox, link).
Message #12 received at 452347-submitter@bugs.debian.org (full text, mbox, reply):
tags 452347 wontfix
severity 452347 wishlist
thanks
On 21/11/2007, Arne Rusek <zonk@hukot.cz> wrote:
> Package: php5-common
> Version: 5.2.0-8+etch7
> Severity: normal
> Tags: patch
>
>
> Hi.
>
> It was a surprise when sessions were lost after 1440s contrary to the
> session.gc_maxlifetime setting in some /etc/php5/conf.d/foobar.ini.
>
> Please add /etc/php5/conf.d/*.ini search to the /usr/lib/php5/maxlifetime
> script.
conf.d/ won't be read for different values.
Please read this recent thread[1] to know why.
>
> Best regards.
>
[1] http://lists.alioth.debian.org/pipermail/pkg-php-maint/2007-November/003314.html
Sincerely,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Say NO to Microsoft Office broken standard.
See http://www.noooxml.org/petition
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#452347; Package php5-common.
(full text, mbox, link).
Acknowledgement sent to Paul Slootman <paul@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #17 received at 452347@bugs.debian.org (full text, mbox, reply):
On Wed 21 Nov 2007, Raphael wrote:
> >
> > It was a surprise when sessions were lost after 1440s contrary to the
> > session.gc_maxlifetime setting in some /etc/php5/conf.d/foobar.ini.
> >
> > Please add /etc/php5/conf.d/*.ini search to the /usr/lib/php5/maxlifetime
> > script.
>
> conf.d/ won't be read for different values.
> Please read this recent thread[1] to know why.
I find this a bit unfortunate, the whole conf.d/ thing is very useful to
override the default settings without having to alter the distributed
php.ini (with the pain of merging in local changes whenever it gets
updated in the package). (24 minutes is quite low for e.g. being logged
into twiki, if you take a lot of time writing the page, by the time you
commit the change your session has expired and you've lost the text :-( )
The fix is trivial and it's hard to see what would break by this;
I had actually just finished patching /usr/lib/php5/maxlifetime myself
before checking the bug list.
Please reconsider this.
Thanks,
Paul Slootman
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#452347; Package php5-common.
(full text, mbox, link).
Acknowledgement sent to Jon Daley <debian@jon.limedaley.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #22 received at 452347@bugs.debian.org (full text, mbox, reply):
Package: php5
Version: 5.2.5-3
Followup-For: Bug #452347
The arguments from the thread you quoted are talking about module changes, and why modules shouldn't be allowed to
change the session lifetime. However, perhaps I am alone in this, but I prefer to not touch the default configuration
files, so then upgrades are easier. gc_maxlifetime is currently the only change I have to make in php.ini. All other
changes can be done in the conf.d directory.
I guess the alternative is to modify the cron script and ignore the output of maxlifetime, since the cron job is less
likely to change in an upgrade than php.ini.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5 depends on:
ii php5-cgi 5.2.5-3+lenny1 server-side, HTML-embedded scripti
ii php5-common 5.2.5-3+lenny1 Common files for packages built fr
php5 recommends no packages.
Forcibly Merged 452347 508007.
Request was from "Raphael Geissert" <atomo64@gmail.com>
to control@bugs.debian.org.
(Sat, 06 Dec 2008 23:18:08 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#452347; Package php5-common.
(Sun, 31 May 2009 09:51:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Joey Schulze <joey@infodrom.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sun, 31 May 2009 09:51:06 GMT) (full text, mbox, link).
Message #29 received at 452347@bugs.debian.org (full text, mbox, reply):
Paul Slootman wrote:
> On Wed 21 Nov 2007, Raphael wrote:
> > >
> > > It was a surprise when sessions were lost after 1440s contrary to the
> > > session.gc_maxlifetime setting in some /etc/php5/conf.d/foobar.ini.
> > >
> > > Please add /etc/php5/conf.d/*.ini search to the /usr/lib/php5/maxlifetime
> > > script.
> >
> > conf.d/ won't be read for different values.
> > Please read this recent thread[1] to know why.
>
> I find this a bit unfortunate, the whole conf.d/ thing is very useful to
> override the default settings without having to alter the distributed
> php.ini (with the pain of merging in local changes whenever it gets
> updated in the package).
Fully agreed. I have always admired conf.d directories which reduce the
pain of merging configuration files after dist-upgrades and checking each
and every setting. I thought and would have hoped this was true for PHP
as well.
> into twiki, if you take a lot of time writing the page, by the time you
> commit the change your session has expired and you've lost the text :-( )
With regards to this, and since I run into similar problems with
different applications every once in a while, 24 minutes seem to
be rather low. 60 minutes are better, sometimes a couple of hours
are required, but that's a different story.
> Please reconsider this.
+1
Regards,
Joey
--
Ten years and still binary compatible. -- XFree86
Please always Cc to me when replying to me on the lists.
Reply sent
to OndÅej Surý <ondrej@sury.org>:
You have taken responsibility.
(Mon, 09 Apr 2012 08:30:06 GMT) (full text, mbox, link).
Notification sent
to Arne Rusek <zonk@hukot.cz>:
Bug acknowledged by developer.
(Mon, 09 Apr 2012 08:30:07 GMT) (full text, mbox, link).
Message #34 received at 452347-done@bugs.debian.org (full text, mbox, reply):
Version: 5.4.0~rc8-1
php5 (5.4.0~rc8-1) experimental; urgency=low
* Imported Upstream version 5.4.0~rc8
* Improve maxlifetime script to scan for more SAPIs and scan all *.ini
in conf.d directory
* Move php5-mysqlnd to Priority: extra to make debcheck happy
* Check for dpkg-maintscript-helper existence in php5-fpm maintainer
scripts
* Add Pre-Depends: dpkg (>= 1.15.7.2~) | dpkg-maintscript-helper to
allow single upgrade path (dpkg-maintscript-helper package will be
provided for Ubuntu Lucid PPA)
-- Ondřej Surý <ondrej@debian.org> Fri, 17 Feb 2012 21:37:05 +0100
--
Ondřej Surý <ondrej@sury.org>
Reply sent
to OndÅej Surý <ondrej@sury.org>:
You have taken responsibility.
(Mon, 09 Apr 2012 08:30:08 GMT) (full text, mbox, link).
Notification sent
to warden <warden@mailing.neckermann.pl>:
Bug acknowledged by developer.
(Mon, 09 Apr 2012 08:30:09 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 08 May 2012 07:33:45 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:07:39 2023;
Machine Name:
buxtehude
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.