[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-30 Thread Steve Langasek
Copied to hardy-updates. ** Changed in: apache2 (Ubuntu Hardy) Status: Fix Committed = Fix Released -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-30 Thread Steve Langasek
Copied to hardy-updates. ** Changed in: apache2 (Ubuntu Hardy) Status: Fix Committed = Fix Released -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

Re: [Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-26 Thread Martin Pitt
Thanks for your detailled test report! Mathias Gug [2008-06-25 19:33 -]: In the second test case described above, the first occurence of load the index.html page in browser should be load /apache2-default/ as index.html doesn't exist in dapper. Does that mean, it was just a copypaste

Re: [Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-26 Thread Mathias Gug
On Thu, Jun 26, 2008 at 06:53:00AM -, Martin Pitt wrote: Thanks for your detailled test report! Mathias Gug [2008-06-25 19:33 -]: In the second test case described above, the first occurence of load the index.html page in browser should be load /apache2-default/ as index.html

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-26 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. --

Re: [Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-26 Thread Martin Pitt
Thanks for your detailled test report! Mathias Gug [2008-06-25 19:33 -]: In the second test case described above, the first occurence of load the index.html page in browser should be load /apache2-default/ as index.html doesn't exist in dapper. Does that mean, it was just a copypaste

Re: [Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-26 Thread Mathias Gug
On Thu, Jun 26, 2008 at 06:53:00AM -, Martin Pitt wrote: Thanks for your detailled test report! Mathias Gug [2008-06-25 19:33 -]: In the second test case described above, the first occurence of load the index.html page in browser should be load /apache2-default/ as index.html

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-26 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Chuck Short
Martin, Not easily I have tested the debdiff and it does have the desired effect. For intrepid we could probably make it a bit smarter. Thanks chuck -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Steve Langasek
Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: apache2 (Ubuntu Hardy) Status: Triaged = Fix Committed Target: ubuntu-8.04.1

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Steve Langasek
** Changed in: apache2 (Ubuntu Hardy) Status: Fix Committed = Triaged Target: None = ubuntu-8.04.1 ** Changed in: apache2 (Ubuntu Hardy) Status: Triaged = Fix Committed -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Launchpad Bug Tracker
This bug was fixed in the package apache2 - 2.2.9-2ubuntu1 --- apache2 (2.2.9-2ubuntu1) intrepid; urgency=low * debian/config-dir/mods-available/disk_cache.conf: Don't enable caching of the root URL by default when disk_cache is enabled. (LP: #219914). * debian/control:

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Michael Bienia
apache2-mpm-itk (universe) needs also a new rebuild-only SRU because of this apache2 SRU. It's tracked in bug #243012. -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Mathias Gug
Here are the two test cases I've run for this SRU: Test 1 == Enable dapper-proposed and dist-upgrade. Install update-manager-core, apache2. Enable proxy module: sudo a2enmod proxy Do release upgrade: do-release-upgrade -d Check that the disk_cache module is not enabled after the

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Mathias Gug
In the second test case described above, the first occurence of load the index.html page in browser should be load /apache2-default/ as index.html doesn't exist in dapper. -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Chuck Short
Martin, Not easily I have tested the debdiff and it does have the desired effect. For intrepid we could probably make it a bit smarter. Thanks chuck -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Steve Langasek
Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: apache2 (Ubuntu Hardy) Status: Triaged = Fix Committed Target: ubuntu-8.04.1

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Steve Langasek
** Changed in: apache2 (Ubuntu Hardy) Status: Fix Committed = Triaged Target: None = ubuntu-8.04.1 ** Changed in: apache2 (Ubuntu Hardy) Status: Triaged = Fix Committed -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Launchpad Bug Tracker
This bug was fixed in the package apache2 - 2.2.9-2ubuntu1 --- apache2 (2.2.9-2ubuntu1) intrepid; urgency=low * debian/config-dir/mods-available/disk_cache.conf: Don't enable caching of the root URL by default when disk_cache is enabled. (LP: #219914). * debian/control:

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Michael Bienia
apache2-mpm-itk (universe) needs also a new rebuild-only SRU because of this apache2 SRU. It's tracked in bug #243012. -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Mathias Gug
Here are the two test cases I've run for this SRU: Test 1 == Enable dapper-proposed and dist-upgrade. Install update-manager-core, apache2. Enable proxy module: sudo a2enmod proxy Do release upgrade: do-release-upgrade -d Check that the disk_cache module is not enabled after the

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Mathias Gug
In the second test case described above, the first occurence of load the index.html page in browser should be load /apache2-default/ as index.html doesn't exist in dapper. -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-25 Thread Martin Pitt
That looks alright to me. Is there any way to find out whether the admin configured caching for / after installation, or whether that happened autoamtically during dapper - hardy upgrade? In the latter case it would be better to disable it again in the postinst. But if that is tricky, I'm fine

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread James Troup
This is very simple to reproduce. Take a dapper box, enable mod proxy and upgrade to hardy. The following code in the postinst will then kick in. | if [ $UPGRADE = from_2_0 ]; then | # Module replacements from previous versions of apache2 | if mod_is_enabled proxy; then |

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Andrew Jorgensen
Wow, thanks for tracking that down James. I knew I wasn't crazy. -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. --

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Steve Langasek
Marking as critical for 8.04.1, since we don't have a good way to fix this for users after they've upgraded from dapper and .1 will turn on our LTS upgrades for all users. Chuck, Kees nominated you to take care of this package today for hardy SRU; please unassign yourself if you aren't going to

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Mathias Gug
According to the Debian bug, enabling the disk_cache module on upgrade is the right thing to do. The proxy.load file in dapper loads mod_disk_cache. Not enabling it on upgrade would break existing system (as reported in the debian bug). However, the apache2.2 package comes with disk caching

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread sf
This behavior is because in 2.0, proxy.load and proxy.conf contained the LoadModule disk_cache_module and the mod_disk_cache config. Not enabling mod_disk_cache on upgrades would break caching for proxies (debian bug 407171). Maybe enabling mod_disk_cache on upgrades only if something like egrep

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread James Troup
This is very simple to reproduce. Take a dapper box, enable mod proxy and upgrade to hardy. The following code in the postinst will then kick in. | if [ $UPGRADE = from_2_0 ]; then | # Module replacements from previous versions of apache2 | if mod_is_enabled proxy; then |

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Andrew Jorgensen
Wow, thanks for tracking that down James. I knew I wasn't crazy. -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Steve Langasek
Marking as critical for 8.04.1, since we don't have a good way to fix this for users after they've upgraded from dapper and .1 will turn on our LTS upgrades for all users. Chuck, Kees nominated you to take care of this package today for hardy SRU; please unassign yourself if you aren't going to

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Mathias Gug
** Bug watch added: Debian Bug tracker #407171 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407171 ** Also affects: apache2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407171 Importance: Unknown Status: Unknown -- mod_disk_cache enabled globally by default

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Bug Watch Updater
** Changed in: apache2 (Debian) Status: Unknown = Fix Released -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Mathias Gug
According to the Debian bug, enabling the disk_cache module on upgrade is the right thing to do. The proxy.load file in dapper loads mod_disk_cache. Not enabling it on upgrade would break existing system (as reported in the debian bug). However, the apache2.2 package comes with disk caching

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread sf
This behavior is because in 2.0, proxy.load and proxy.conf contained the LoadModule disk_cache_module and the mod_disk_cache config. Not enabling mod_disk_cache on upgrades would break caching for proxies (debian bug 407171). Maybe enabling mod_disk_cache on upgrades only if something like egrep

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Mathias Gug
I've attached a debdiff that fixes the issue for intrepid. ** Attachment added: apache2_2.2.9-2ubuntu1.debdiff http://launchpadlibrarian.net/15566375/apache2_2.2.9-2ubuntu1.debdiff -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Mathias Gug
I've attached a debdiff for hardy-proposed. It includes sf suggestion to not enable disk_cache on upgrades from 2.0. As suggested by elmo, even if we don't set EnableCache in disk_cache.conf, have disc_cache.load will start htcacheclean automatically. ** Attachment added:

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-06-24 Thread Chuck Short
As per above, enable mod_cache can have adverse side effects for websites. This is a regression from dapper to hardy upgrade due to mod_cache been enabled globally. STEPS TO REPRODUCE THIS: 1. Install dapper apache with mod_proxy enabled. 2. Upgrade to hardy. 3. Check to see if caching is

Re: [Bug 219914] Re: mod_disk_cache enabled globally by default

2008-04-21 Thread Mathias Gug
On Mon, Apr 21, 2008 at 03:49:40PM -, Andrew Jorgensen wrote: In any case I think the disk_cache.conf file should be changed to not actually enable caching. If the user wants caching she'll want to enable it for specific directories, certainly not for the entire server. Would you consider

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-04-21 Thread Andrew Jorgensen
That's really strange. So there's no disk_cache.conf or disk_cache.load in your /etc/apache2/mods-enabled? Did you use the command-line upgrade tool (do-release-upgrade)? I had very little else installed on this machine at the time. Obviously this is the best kind of bug. The kind we can't

Re: [Bug 219914] Re: mod_disk_cache enabled globally by default

2008-04-21 Thread Mathias Gug
On Mon, Apr 21, 2008 at 03:49:40PM -, Andrew Jorgensen wrote: In any case I think the disk_cache.conf file should be changed to not actually enable caching. If the user wants caching she'll want to enable it for specific directories, certainly not for the entire server. Would you consider

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-04-20 Thread Kees Cook
I cannot reproduce this -- on both fresh installs of Hardy and Dapper-Hardy upgrades, the disk_cache module is not enabled. ** Changed in: apache2 (Ubuntu) Status: New = Incomplete -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug

[Bug 219914] Re: mod_disk_cache enabled globally by default

2008-04-20 Thread Kees Cook
I cannot reproduce this -- on both fresh installs of Hardy and Dapper-Hardy upgrades, the disk_cache module is not enabled. ** Changed in: apache2 (Ubuntu) Status: New = Incomplete -- mod_disk_cache enabled globally by default https://bugs.launchpad.net/bugs/219914 You received this bug