Debian Bug report logs -
#715264
php5-common: maxlifetime output warning if pcntl extension is enabled in /etc/php5/${sapi}/php.ini
Reported by: Yann Autissier <yann+bts@autissier.net>
Date: Sun, 7 Jul 2013 13:33:01 UTC
Severity: minor
Tags: patch, wontfix
Found in version php5/5.5.0+dfsg-6
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#715264; Package php5-common.
(Sun, 07 Jul 2013 13:33:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Yann Autissier <yann+bts@autissier.net>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sun, 07 Jul 2013 13:33: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-common
Version: 5.5.0+dfsg-6
Severity: normal
Tags: patch
Dear Maintainer,
After a manual installation of the pcntl extension, I have enabled this extension only in the /etc/php5/apache2/php.ini configuration file, since the php-cli has built-in support for pcntl.
Enabling pcntl extension in a generic configuration file like /etc/php5/conf.d/pcntl.ini throws following warning when using php cli :
PHP Warning: Module 'pcntl' already loaded in Unknown on line 0
The 'maxlifetime' command forces the /etc/php5/apache2/php.ini configuration file with the php cli command.
This outputs the warning to stderr, which is sent by email each time the /etc/cron.d/php5 crontab fragment is called.
We may redirect the stderr of php command to /dev/null, or simply not use the php command at all.
Attached patch provides the second solution.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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-7
ii lsof 4.86+dfsg-1
ii psmisc 22.20-1
ii sed 4.2.2-1
ii ucf 3.0027+nmu1
Versions of packages php5-common recommends:
ii php5-json 0~git~1+c05ebf+dfsg-2
Versions of packages php5-common suggests:
pn php5-user-cache <none>
-- no debconf information
[maxlifetime.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#715264; Package php5-common.
(Mon, 08 Jul 2013 06:12:04 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>.
(Mon, 08 Jul 2013 06:12:04 GMT) (full text, mbox, link).
Message #10 received at 715264@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: severity -1 minor
Control: tags -1 +wontfix
Control: block -1 by 505743
Hi Yann,
I am sorry, but if you mess your system, you are basically on your own.
This bug will be fixed when we fix 505743, which should happen in jessie
lifecycle.
Ondrej
On Sun, Jul 7, 2013 at 3:19 PM, Yann Autissier <yann+bts@autissier.net>wrote:
> Package: php5-common
> Version: 5.5.0+dfsg-6
> Severity: normal
> Tags: patch
>
> Dear Maintainer,
>
> After a manual installation of the pcntl extension, I have enabled this
> extension only in the /etc/php5/apache2/php.ini configuration file, since
> the php-cli has built-in support for pcntl.
> Enabling pcntl extension in a generic configuration file like
> /etc/php5/conf.d/pcntl.ini throws following warning when using php cli :
> PHP Warning: Module 'pcntl' already loaded in Unknown on line 0
>
> The 'maxlifetime' command forces the /etc/php5/apache2/php.ini
> configuration file with the php cli command.
> This outputs the warning to stderr, which is sent by email each time the
> /etc/cron.d/php5 crontab fragment is called.
> We may redirect the stderr of php command to /dev/null, or simply not use
> the php command at all.
>
> Attached patch provides the second solution.
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-4-amd64 (SMP w/16 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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-7
> ii lsof 4.86+dfsg-1
> ii psmisc 22.20-1
> ii sed 4.2.2-1
> ii ucf 3.0027+nmu1
>
> Versions of packages php5-common recommends:
> ii php5-json 0~git~1+c05ebf+dfsg-2
>
> Versions of packages php5-common suggests:
> pn php5-user-cache <none>
>
> -- 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>
[Message part 2 (text/html, inline)]
Severity set to 'minor' from 'normal'
Request was from Ondřej Surý <ondrej@debian.org>
to 715264-submit@bugs.debian.org.
(Mon, 08 Jul 2013 06:12:04 GMT) (full text, mbox, link).
Added tag(s) wontfix.
Request was from Ondřej Surý <ondrej@debian.org>
to 715264-submit@bugs.debian.org.
(Mon, 08 Jul 2013 06:12:05 GMT) (full text, mbox, link).
Added blocking bug(s) of 715264: 505743 and 674091
Request was from Ondřej Surý <ondrej@debian.org>
to 715264-submit@bugs.debian.org.
(Mon, 08 Jul 2013 06:12:06 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#715264; Package php5-common.
(Mon, 08 Jul 2013 07:06:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Yann Autissier <yann@autissier.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Mon, 08 Jul 2013 07:06:04 GMT) (full text, mbox, link).
Message #21 received at 715264@bugs.debian.org (full text, mbox, reply):
Hi Ondrej,
The bug should still occurs with separated conf.d for all sapi configurations.
On my messed system, the php-cli does not print any warning when used with its
own /etc/php5/cli/php.ini default configuration file.
The problem comes only in the maxlifetime command, that forces the use of a
specific sapi configuration file like that :
php -c /etc/apache2/${sapi}/php.ini ...
I think we should not use the php-cli command with a sapi configuration file.
Regards,
Yann
Le 08/07/2013 08:09, Ondřej Surý a écrit :
> Control: severity -1 minor
> Control: tags -1 +wontfix
> Control: block -1 by 505743
>
> Hi Yann,
>
> I am sorry, but if you mess your system, you are basically on your own.
>
> This bug will be fixed when we fix 505743, which should happen in jessie lifecycle.
>
> Ondrej
>
>
> On Sun, Jul 7, 2013 at 3:19 PM, Yann Autissier <yann+bts@autissier.net
> <mailto:yann+bts@autissier.net>> wrote:
>
> Package: php5-common
> Version: 5.5.0+dfsg-6
> Severity: normal
> Tags: patch
>
> Dear Maintainer,
>
> After a manual installation of the pcntl extension, I have enabled this
> extension only in the /etc/php5/apache2/php.ini configuration file, since
> the php-cli has built-in support for pcntl.
> Enabling pcntl extension in a generic configuration file like
> /etc/php5/conf.d/pcntl.ini throws following warning when using php cli :
> PHP Warning: Module 'pcntl' already loaded in Unknown on line 0
>
> The 'maxlifetime' command forces the /etc/php5/apache2/php.ini configuration
> file with the php cli command.
> This outputs the warning to stderr, which is sent by email each time the
> /etc/cron.d/php5 crontab fragment is called.
> We may redirect the stderr of php command to /dev/null, or simply not use
> the php command at all.
>
> Attached patch provides the second solution.
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-4-amd64 (SMP w/16 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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-7
> ii lsof 4.86+dfsg-1
> ii psmisc 22.20-1
> ii sed 4.2.2-1
> ii ucf 3.0027+nmu1
>
> Versions of packages php5-common recommends:
> ii php5-json 0~git~1+c05ebf+dfsg-2
>
> Versions of packages php5-common suggests:
> pn php5-user-cache <none>
>
> -- no debconf information
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> <mailto: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 <mailto:ondrej@sury.org>>
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Fri, 13 Jan 2017 13:06:38 GMT) (full text, mbox, link).
Notification sent
to Yann Autissier <yann+bts@autissier.net>:
Bug acknowledged by developer.
(Fri, 13 Jan 2017 13:06:39 GMT) (full text, mbox, link).
Message #26 received at 715264-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:34:44 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:21:12 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.