Bug 6333 - cron script try find session.gc_maxlifetime value on incorrect file
Summary: cron script try find session.gc_maxlifetime value on incorrect file
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Oden Eriksson
QA Contact:
URL:
Whiteboard: MGA4TOO MGA5TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 02:17 CEST by Pablo Castorino
Modified: 2015-05-05 07:46 CEST (History)
1 user (show)

See Also:
Source RPM: php-5.3.13-1.mga2.src.rpm
CVE:
Status comment:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.