Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.Summary
Aegir provision creates an aegir.services.yml file that does not properly add all domain aliases related to site to cookie_domain. This breaks the ability to create a session and nobody is able to login.
Removing the files and configuration that creates this file is the solution previously concluded below.
History:
This issue was fixed and previous code was reverted in #3066538: Cookie subdomains missing first part of subdomain for non-subdirectory sites on https://www.drupal.org/commitlog/commit/4646/211c2ffbf8c3949e6ac3d61a3b8...
and
https://www.drupal.org/commitlog/commit/4646/211c2ffbf8c3949e6ac3d61a3b8...
But these commits were sitting in a potentially related issue branch that was not linked #3066146: Automatically spawn a Verify task for parent on subdir site installation and has not been merged.
Resolution:
Cherry pick the commits into the 3.18.x branch and tag and release ASAP before people start upgrading and blowing up logins :)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3102849-2-remove-aegir-services-yml.diff | 3.55 KB | philosurfer |











Comments
Comment #2
philosurfer CreditAttribution: philosurfer commentedAttaching cherry picked patch.
Comment #3
Jon PughComment #4
acPatch applies and solves issue. This really needs to be committed and released as it breaks lots of sites.
Comment #5
acComment #6
colanI went to apply this and the changes seemed to already be there. As per the repository graph, this indeed seems to be the case. So it looks like this did in fact get merged in somewhere recently.
In any case, it doesn't appear to be included in the last release, but as it's now in 7.x-3.x, it will be included in the next one. I added it to the "Must have" list at #3087029: [meta] Aegir 3.19.x release.
Comment #8
acThis issue seems to still be present in the latest release
Comment #9
colanIt's in the dev branch; it's just that #3087029: [meta] Aegir 3.19.x release isn't out yet.
Comment #10
acCan it not go into the 3.18.x branch too so this stops happening every release?
Comment #11
colanThe latest release was only a patch one to update core; nothing else got in.