Bug 6333

Summary: cron script try find session.gc_maxlifetime value on incorrect file
Product: Mageia Reporter: Pablo Castorino <castorinop>
Component: RPM PackagesAssignee: Oden Eriksson <oe>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: thomas
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA4TOO MGA5TOO
Source RPM: php-5.3.13-1.mga2.src.rpm CVE:
Status comment:

Description Pablo Castorino 2012-06-05 02:17:45 CEST
Description of problem:

/usr/lib*/php/maxlifetime search session.gc_maxlifetime value on /etc/php.d/*_session.ini but this are defined on /etc/php.ini.


How reproducible:


Steps to Reproduce:
1. edit /etc/php.ini and set session.gc_maxlifetime = 14400 
2. run /usr/lib*/php/maxlifetime and return 24 (default value. should be 240).
3.

Recomendations:
 - replace /usr/lib*/php/maxlifetime for a php script. php handle the files config and put the correct value ever.
 - or add /etc/php.ini on bash script.

regards!
Manuel Hiebel 2012-07-11 19:06:34 CEST

Assignee: bugsquad => thomas

Comment 1 Thomas Spuhler 2012-07-23 01:29:17 CEST
This could be changed in /usr/lib*/php/maxlifetime and that works.

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 2 Samuel Verschelde 2015-05-03 15:42:36 CEST
Is this bug still present in Mageia 4 and/or Mageia 5RC?
Samuel Verschelde 2015-05-03 15:42:49 CEST

Keywords: (none) => NEEDINFO

Comment 3 Pablo Castorino 2015-05-04 16:30:54 CEST
still present on Mageia 5RC.
Samuel Verschelde 2015-05-04 16:36:26 CEST

Keywords: NEEDINFO => (none)
Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1

Samuel Verschelde 2015-05-04 16:36:51 CEST

Whiteboard: (none) => MGA4TOO MGA5TOO

Comment 4 Thomas Spuhler 2015-05-04 19:09:32 CEST
Is this an upstream bug or a bug at all? I cannot find anything on Google nor have I seen it on the mailing lists.
I am going to assign this to Oden as he is the apache/php Guru

CC: (none) => thomas
Assignee: thomas => oe

Comment 5 Oden Eriksson 2015-05-05 07:46:27 CEST
# cat /etc/php.d/47_session.ini 
extension = session.so
session.gc_maxlifetime = 1441

# php -i | grep session.gc_maxlifetime
session.gc_maxlifetime => 1441 => 1441