Debian Bug report logs -
#792239
sessionclean does not support tiered session directory structure
Reported by: Justin Pasher <justinp@distribion.com>
Date: Mon, 13 Jul 2015 03:21:02 UTC
Severity: normal
Found in version php5/5.6.9+dfsg-0+deb8u1
Fixed in version 5.6.26+dfsg-1+rm
Done: Debian FTP Masters <ftpmaster@ftp-master.debian.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#792239; Package php5.
(Mon, 13 Jul 2015 03:21:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Justin Pasher <justinp@distribion.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Mon, 13 Jul 2015 03:21:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: php5
Version: 5.6.9+dfsg-0+deb8u1
The new session cleanup script in Jessie (/usr/lib/php5/sessionclean)
has a few limitations in it.
1. It does not support a tiered directory structure (e.g.
session.save_path=2;/var/lib/php5)
2. It does not support a symlinked session directory
3. (not a limitation, but parameter warning) The find command uses the
-ignore_readdir_race option after a non-option argument
I've attached a patch to fix all of these.
1. Adjust sed to remove the "N;" or "N;MODE;" prefix from session.save_path
2. Add a / to the end of $save_path to look inside the symlinked
directory. It should still work with regular directories.
3. Move the -ignore_readdir_race parameter
Changed lines:
14: save_path=$(echo "$session_config" | sed -ne
's/^session\.save_path=\(.*;\)\?\(.*\)$/\2/p')
29: find -O3 "$save_path/" -depth -ignore_readdir_race -mindepth 1 -name
'sess_*' -type f -cmin "+$gc_maxlifetime" -delete
[sessionclean_fixes.patch (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#792239; Package php5.
(Thu, 10 Sep 2015 15:51:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Justin Pasher <justinp@distribion.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 10 Sep 2015 15:51:06 GMT) (full text, mbox, link).
Message #10 received at 792239@bugs.debian.org (full text, mbox, reply):
Any update on this issue? The change is very benign in the provided
patch and it still works for the previous use cases.
--
Justin Pasher
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#792239; Package php5.
(Tue, 09 Feb 2016 22:24:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Justin Pasher <justinp@distribion.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Tue, 09 Feb 2016 22:24:03 GMT) (full text, mbox, link).
Message #15 received at 792239@bugs.debian.org (full text, mbox, reply):
Still no update?
Justin Pasher
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#792239; Package php5.
(Wed, 10 Feb 2016 20:24:03 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>.
(Wed, 10 Feb 2016 20:24:03 GMT) (full text, mbox, link).
Message #20 received at 792239@bugs.debian.org (full text, mbox, reply):
Hi Justin,
this has been already fixed for (future) default version of PHP in
Debian stretch.
Unfortunately such a minor issue for edge case doesn't pass our Stable
Update policy that includes mostly serious bugs and security issues.
Cheers,
--
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
On Tue, Feb 9, 2016, at 23:21, Justin Pasher wrote:
> Still no update?
>
> Justin Pasher
>
> _______________________________________________
> 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 Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Fri, 13 Jan 2017 13:07:16 GMT) (full text, mbox, link).
Notification sent
to Justin Pasher <justinp@distribion.com>:
Bug acknowledged by developer.
(Fri, 13 Jan 2017 13:07:16 GMT) (full text, mbox, link).
Message #25 received at 792239-done@bugs.debian.org (full text, mbox, reply):
Version: 5.6.26+dfsg-1+rm
Dear submitter,
as the package php5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/841781
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 11 Feb 2017 07:30:24 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:22:34 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.