-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Apache access control directives for version 2.4 #1607
Comments
Sanity check: do we even need to change this? We currently mandate the use of Ubuntu Trusty LTS, which ships with Apache2 v2.4.7. The Apache project is not going to break configuration formats any time soon, nor will Trusty change the Apache version out from under us with little or no notice. Given the recent expansion of our test suites, I'm comfortable continuing with the configs as currently declared and treating Apache as the stable project that it is. Down the road, we may decide to switch away from Apache, or to a more recent version, if we decide to upgrade Trusty to Xenial (as discussed in #1530). Either way, this issue does not strike me as a blocker for 0.4. The "pending PR" #1242 is badly out of date, likely even beyond the point that an interactive rebase would suffice to incorporate its changes. Therefore I recommend closing both this issue (#1607) and the corresponding unusable PR #1242, and continuing with other issues on the 0.4 milestone. |
I'm with you that this isn't a blocker for 0.4, and I've moved this issue off the 0.4 milestone. As far as closing the underlying PR goes, I think it's fine to close the PR given its age. I've added a note to #1530 about this for future reference so I'm closing this issue as well. |
This is not a guarantee. Apache documents:
Which is pretty vague in terms of a timeline. IMO we should play it safe.
Our test suites aren't going to catch when a config-breaking package update hits production instances. That said, I think it's fine and perhaps even best we do remove this from 0.4. However, I think that instead of just removing it/ closing the issue and PR as happened, we should have just closed the PR, left this issue open, and moved the milestone to a later one. |
To be clear the note is not sufficient IMO because transition to Xenial may never happen (e.g., if we move to Alpine as a container base as part of the proposed CoreOS migration), but the Apache version running in SD will eventually change (unless we switch to nginx, which is something to consider because of its smaller attack surface, though that's another story) and break our config. |
As a best practice, you want to switch off of any parameter that is explicitly marked deprecated. Also not sure why the PR was described as "unusable" - is that due to changes to the tests? |
Updating the Ansible templates for the Apache configs doesn't help currently running instances, only fresh installs that occur after we ship the updated templates as part of a new release.
Due to a variety of reasons, summarized as massive churn on development. Yes, the tests have changed (#1616), but so have the Apache template targets themselves (#1614, #1650). The real problem we need to solve is that we can't update Apache config files on running instances by pushing commits to this repository—we need manual intervention on the part of Admins to apply such changes, in the form rerunning the Ansible playbooks (after checking out the latest git tag and verifying it), and that's not a enjoyable workflow for anyone involved. The upcoming 0.4 release is geared toward reconciling the develop and master branches such that we can start delivering changes much more quickly. Rather than require all instance Admins to run playbooks regularly, we need to figure out a longer-term solution that enables automatic updates that can make use of known-good vars provided at install time. |
Ok, given that so long as the Apache version remains 2.4 (which it absolutely will) nothing will break, then makes sense to put off. |
Unless we want to put it in a deb package 👹. |
Opened #1607 for moving configuration to the deb. |
Handling as part of #1775. See details in https://httpd.apache.org/docs/trunk/upgrading.html |
-- #1242
This was a PR first, and now is an issue in order to better track it for the 0.4 milestone.
The text was updated successfully, but these errors were encountered: