Debian Bug report logs -
#703740
php5: disabled modules are automatically readded to /etc/php5/conf.d on package upgrade
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#703740; Package src:php5.
(Sat, 23 Mar 2013 00:09:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
New Bug report received and forwarded. Copy sent to team@security.debian.org, secure-testing-team@lists.alioth.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sat, 23 Mar 2013 00:09:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: php5
Version: 5.4.4-15
Severity: important
Tags: security
Hi.
I just noted by chance on an upgrade, that the following files were automatically added back
Only in /etc/php5/cgi/conf.d: 20-pdo_pgsql.ini
Only in /etc/php5/cgi/conf.d: 20-pgsql.ini
Only in /etc/php5/conf.d: 20-pdo_pgsql.ini
Only in /etc/php5/conf.d: 20-pgsql.ini
which I've had disabled before.
IMHO that shouldn't happen... actually I think, that it would even be better, if _no_
modules are automatically loaded... auto-magic stuff is nice for out-of-the-box games,
but not for serious and secure administration :) ... perhaps a release goal for jessie?! ;)
I mark this as important/security, as unintentionally enabling a module in the "global" /etc/php5/conf.d
could be an issue if that is e.g. security critical and was intentionally only enabled in e.g.
SSL client auth secured URI spaces.
Thanks,
Chris.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#703740; Package src:php5.
(Sat, 23 Mar 2013 09:51: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>.
(Sat, 23 Mar 2013 09:51:04 GMT) (full text, mbox, link).
Message #10 received at 703740@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tag 703740 -security
severity 703740 wishlist
php5{en,dis}mod are tools for modules to handle the install/remove/purge.
If you want the module disabled either uninstall it, or comment it in the
conf file.
O.
On Sat, Mar 23, 2013 at 1:05 AM, Christoph Anton Mitterer <
calestyo@scientia.net> wrote:
> Source: php5
> Version: 5.4.4-15
> Severity: important
> Tags: security
>
>
> Hi.
>
> I just noted by chance on an upgrade, that the following files were
> automatically added back
> Only in /etc/php5/cgi/conf.d: 20-pdo_pgsql.ini
> Only in /etc/php5/cgi/conf.d: 20-pgsql.ini
> Only in /etc/php5/conf.d: 20-pdo_pgsql.ini
> Only in /etc/php5/conf.d: 20-pgsql.ini
> which I've had disabled before.
>
> IMHO that shouldn't happen... actually I think, that it would even be
> better, if _no_
> modules are automatically loaded... auto-magic stuff is nice for
> out-of-the-box games,
> but not for serious and secure administration :) ... perhaps a release
> goal for jessie?! ;)
>
>
> I mark this as important/security, as unintentionally enabling a module in
> the "global" /etc/php5/conf.d
> could be an issue if that is e.g. security critical and was intentionally
> only enabled in e.g.
> SSL client auth secured URI spaces.
>
>
> Thanks,
> Chris.
>
> _______________________________________________
> 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)]
Removed tag(s) security.
Request was from Ondřej Surý <ondrej@sury.org>
to control@bugs.debian.org.
(Sat, 23 Mar 2013 09:51:06 GMT) (full text, mbox, link).
Severity set to 'wishlist' from 'important'
Request was from Ondřej Surý <ondrej@sury.org>
to control@bugs.debian.org.
(Sat, 23 Mar 2013 09:51:07 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#703740; Package src:php5.
(Sun, 16 Jun 2013 20:30:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sun, 16 Jun 2013 20:30:04 GMT) (full text, mbox, link).
Message #19 received at 703740@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
reassign 712509 src:php5
forcemerge 703740 712509
stop
Well... I still think that this is a potential security issue... and at
the least it's very annoying if things one explicitly disabled are
re-enabled again.
Would be the same if a package on upgrade messes around with sysvrc
levels when you explicitly disabled a service.
Cheers,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#703740; Package src:php5.
(Sat, 03 Aug 2013 18:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sat, 03 Aug 2013 18:21:04 GMT) (full text, mbox, link).
Message #24 received at 703740@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Ondřej
Can it be, that this is already implemented in the meantime? Well at
least partially...
It seems that the new:
/var/lib/php5/modules/
├── cgi
│ ├── disabled_by_admin
│ └── enabled_by_maint
└── registry
Is about just what I was talking about.
I tried it and it worked... :)
One minor thing perhaps:
What I did was e.g.:
php5dismod -s ALL pdo_pgsql pgsql
But it just created cgi, as seen above.
So should I later add another SAPI,... I guess it will be enabled again
for those.
Can't you make a special ALL directory... an always evaluate its
contents in addition?
But apart from that... great work :)
As always, kudos to you and the other PHP maintainers.
Cheers,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#703740; Package src:php5.
(Sat, 03 Aug 2013 18:30:05 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>.
(Sat, 03 Aug 2013 18:30:05 GMT) (full text, mbox, link).
Message #29 received at 703740@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sat, Aug 3, 2013 at 8:18 PM, Christoph Anton Mitterer <
calestyo@scientia.net> wrote:
> Can it be, that this is already implemented in the meantime?
>
Yes.
> One minor thing perhaps:
> What I did was e.g.:
> php5dismod -s ALL pdo_pgsql pgsql
>
> But it just created cgi, as seen above.
> So should I later add another SAPI,... I guess it will be enabled again
> for those.
>
Yes, it will be enabled for the new SAPI.
> Can't you make a special ALL directory... an always evaluate its
> contents in addition?
>
Nope, it's already complicated as is. That would add yet another state,
so unless you send a well tested patch, I will not touch it. It took me
quite a lot of time to catch all states.
O.
--
Ondřej Surý <ondrej@sury.org>
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#703740; Package src:php5.
(Sat, 03 Aug 2013 19:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sat, 03 Aug 2013 19:03:04 GMT) (full text, mbox, link).
Message #34 received at 703740@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Then I guess we can close the bug...
Cheers,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]
Reply sent
to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility.
(Sat, 03 Aug 2013 19:45:05 GMT) (full text, mbox, link).
Notification sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
Bug acknowledged by developer.
(Sat, 03 Aug 2013 19:45:05 GMT) (full text, mbox, link).
Message #39 received at 703740-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: php5/5.5.0+dfsg-7
On Sat, Aug 3, 2013 at 9:01 PM, Christoph Anton Mitterer <
calestyo@scientia.net> wrote:
> Then I guess we can close the bug...
>
>
>
> Cheers,
> Chris.
>
> _______________________________________________
> 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)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 01 Sep 2013 07:29: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 01:31:41 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.