[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Tags removed: server-triage-discuss -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
I've opened https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1964829 to track the AH02808 warning. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Trusty has reached EOL and Xenial has reached end of standard support, so I'm marking their tasks as Won't Fix. I've verified this bug on Focal and Jammy and found that apache2 on both systems accepts a worker name whose length is 256 chars, which, although not great, is the fix provided by upstream to this bug. Therefore, I'm marking this bug as Fix Released on Jammy. ** Changed in: apache2 (Ubuntu Xenial) Status: Triaged => Won't Fix ** Changed in: apache2 (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Changed in: apache2 (Ubuntu Trusty) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Tags added: server-triage-discuss -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Changed in: apache2 Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
FYI - The recent re-open by upstream is about a non fatal alert AH02808. It would be a new Ubuntu bug to fix that as well (once the dicussion by upstream settled and it is accepted there). TL;DR when injecting a lot of proxy conf it can exceed the space it has and then trigger this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Changed in: apache2 Status: Fix Released => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Changed in: apache2 (Ubuntu Yakkety) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Launchpad has imported 30 comments from the remote bug at https://bz.apache.org/bugzilla/show_bug.cgi?id=53218. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-05-11T01:32:29+00:00 Mu1059 wrote: Hi. I'm tring to change apache from 2.2 to 2.4.2. And apachectl reports there is error in my configuration file about proxypass. - # /usr/local/apache24/bin/apachectl -t AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache24/conf/httpd.conf:101 AH00526: Syntax error on line 615 of /usr/local/apache24/conf/httpd.conf: ProxyPass worker name (http://localhost:3128/VirtualHostBase/http/www.hogefuga.com:80/fugafugafile/VirtualHostRoot/++resource++Products.HOGEHOGE.public.stylesheets) too long - I read some sorce files and found there is length limit in worker name. In mod_proxy.h:305 there is define of length of proxy worker name. #define PROXY_WORKER_MAX_NAME_SIZE 96 I think in some casees this size is not enough. In my case (legth is 177 chars.), I doubled this number and works fine. Would you please increase this size. Thank you. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/0 On 2014-02-13T17:29:52+00:00 kiorky wrote: I confirm the bug and second the importance of this bug to be solved. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/1 On 2014-02-25T23:58:22+00:00 Masc2279 wrote: I can also confirm the bug. This version is completely useless have to downgrade. Even the hack does not work. Just changing the #define PROXY_WORKER_MAX_NAME_SIZE 96 by itself does nothing at least on my side even if you place a number beyond what is needed it still says too long. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/2 On 2014-02-26T07:02:44+00:00 kiorky wrote: We got our way using PT rewrites, eg # /-> vhmonster proxyreverse because of redirects ! RewriteRule ^/(.*)$ /VirtualHostBase/http/edit.foo.bar.net:80/Plone/VirtualHostRoot/$1 [L,PT] # for https://issues.apache.org/bugzilla/show_bug.cgi?id=53218, only use a simple worker url ProxyPass / http://127.0.0.1:8083/ retry=1 ProxyPassReverse / http://127.0.0.1:8083/VirtualHostBase/http/edit.foo.bar.net:80/Plone/VirtualHostRoot/ ProxyPassReverse /zmiroot/ http://127.0.0.1:8083/VirtualHostBase/http/edit.foo.bar.net:80/VirtualHostRoot/_vh_zmiroot/ Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/3 On 2014-07-02T22:50:43+00:00 Alan wrote: I can confirm this bug as well on Kubuntu 14.04 LTS 64-bit running Apache 2.4.7. Unfortunately, it is making it impossible for me to serve Plone pages through Apache, which is preventing me from upgrading my production servers to 14.04 LTS. It would be great if this issue could be addressed soon. Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/4 On 2014-07-03T07:43:12+00:00 kiorky wrote: Alan, you can use rewrites instead of proxypass, even if it is a bug, this workaround which is more another way to do that workaround will let you upgrade. If you are just setting up a proxy, you may also opt for something like nginx. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/5 On 2014-07-27T18:40:51+00:00 Sebastian Himberger wrote: I second that. Especially with unix domain sockets allowed in mod_proxy the names can get quite long. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/6 On 2014-08-29T18:35:06+00:00 V-jiz-h wrote: I am looking into whether or not that should be a fatal error... we may be able to get around just reporting it, and still using/accepting a truncated copy. Reply at: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/comments/7 On 2014-09-04T09:21:38+00:00 Rainer Jung wrote: Maximum worker name length increased by jim to 256 in trunk (and some other limits increased as well). Revisions r1540318, r1621367, r1621372, r1621373, r1621382. Proposed for backport to 2.4.x. Reply at:
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Changed in: apache2 Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Thanks! So I think our position for the time being is to hold this pending upstream's acceptance of the patch into their 2.4 branch. If something changes so we should reconsider, further discussion is welcome. ** Tags removed: server-next ** Changed in: apache2 (Ubuntu) Status: New => Triaged ** Changed in: apache2 (Ubuntu Xenial) Status: New => Triaged ** Changed in: apache2 (Ubuntu Yakkety) Status: New => Triaged ** Changed in: apache2 (Ubuntu) Importance: Undecided => Medium ** Changed in: apache2 (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: apache2 (Ubuntu Yakkety) Importance: Undecided => Medium ** Changed in: apache2 (Ubuntu Xenial) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
An excellent question/point. That should probably get hashed out on the upstream BZ first. The discussion about it was very minimal. I'll get on there and poke at that issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
OK, but why can't that argument be accepted by upstream in their 2.4 branch first? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
I don't think it is an actual incompatibility since the util function for copying those values takes into consideration the size of the dst buffer. As long as it is being lengthened, I think it's OK. It would be a problem if we were reducing it and src were larger than dst. #define PROXY_STRNCPY(dst, src) ap_proxy_strncpy((dst), (src), (sizeof(dst))) if (PROXY_STRNCPY(bshared->name, uri) != APR_SUCCESS) { return apr_psprintf(p, "balancer name (%s) too long", uri); } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1668474] Re: AH00526 when using long ProxyPass worker name
On Wed, Mar 29, 2017 at 01:36:17AM -, Brian Morton wrote: > The only thing I would think it could affect would be > external modules built against mod_proxy.h Right - that's my concern. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Hi Robie, I do not know for certain. One user on the upstream bug mentions it can't be backported because of an API compat issue, but if there's one present I'm sure not seeing it. The define is entirely contained within that header file. The only thing I would think it could affect would be external modules built against mod_proxy.h root@apache2-mod-proxy-length-xenial:~/apache2-2.4.18# grep -R 'PROXY_WORKER_MAX_NAME_SIZE' * modules/proxy/mod_proxy.h:#define PROXY_WORKER_MAX_NAME_SIZE 96 modules/proxy/mod_proxy.h:#define PROXY_BALANCER_MAX_NAME_SIZE PROXY_WORKER_MAX_NAME_SIZE modules/proxy/mod_proxy.h:char name[PROXY_WORKER_MAX_NAME_SIZE]; modules/proxy/mod_proxy.h:char uds_path[PROXY_WORKER_MAX_NAME_SIZE]; /* path to worker's unix domain socket if applicable */ root@apache2-mod-proxy-length-xenial:~/apache2-2.4.18# grep -R 'PROXY_BALANCER_MAX_NAME_SIZE' * modules/proxy/mod_proxy.h:#define PROXY_BALANCER_MAX_NAME_SIZE PROXY_WORKER_MAX_NAME_SIZE modules/proxy/mod_proxy.h:char name[PROXY_BALANCER_MAX_NAME_SIZE]; modules/proxy/mod_proxy.h:char sname[PROXY_BALANCER_MAX_NAME_SIZE]; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Hi Brian, Do you know why this isn't in upstream's 2.4 branch? I'm wondering if it may result in an ABI break or similar issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Also affects: apache2 (Debian) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Hi Robie, this fix is in Apache SVN trunk but isn't in upstream stable 2.4 release branch yet so all Ubuntu versions will be affected. In addition, no such patch exists in Debian source. https://anonscm.debian.org/cgit/pkg- apache/apache2.git/tree/modules/proxy/mod_proxy.h#n350 and https://anonscm.debian.org/cgit/pkg- apache/apache2.git/tree/debian/patches I think the best bet is to add it as a debian patch for Zesty and coordinate it with the Debian Apache maintainers until it lands in a stable upstream release. I adjusted the line number in the patch so it should apply cleanly against Zesty. ** Attachment added: "Zesty patch (2.4.25)" https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1668474/+attachment/4834216/+files/apache-zesty-patch.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Brian, thank you for the patch. Please see https://wiki.ubuntu.com/StableReleaseUpdates for information on getting Trusty updated. If this patch qualifies to land in Trusty, then please follow as much as you can of https://wiki.ubuntu.com/StableReleaseUpdates#Procedure. In particular, we need to make sure this bug is fixed in Zesty first. It would be also helpful to know if this impacts Xenial, as I don't think it would be appropriate to fix Trusty without also fixing Xenial (otherwise users will regress when they upgrade). Don't worry about the debdiff. Your patch is simple enough that we can convert it when we're ready to upload. ** Also affects: apache2 (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: apache2 (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: apache2 (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: apache2 (Ubuntu Trusty) Status: New => Triaged ** Tags added: server-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
The attachment "Patch for trusty" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
Patch attached for trusty. Unsure how to generate a debdiff in this case. ** Patch added: "Patch for trusty" https://bugs.launchpad.net/apache2/+bug/1668474/+attachment/4827987/+files/mod-proxy-worker-name-size.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Changed in: apache2 (Ubuntu) Assignee: (unassigned) => Brian Morton (rokclimb15) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1668474] Re: AH00526 when using long ProxyPass worker name
** Changed in: apache2 Status: Unknown => Confirmed ** Changed in: apache2 Importance: Unknown => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668474 Title: AH00526 when using long ProxyPass worker name To manage notifications about this bug go to: https://bugs.launchpad.net/apache2/+bug/1668474/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs