-
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
Do not treat logo image as a conffile in app code package #5850
Comments
Since we're aiming to resolve #5849 more broadly by avoiding conffile-related failures during unattended upgrades, there should be no need to make this change immediately for 1.8.0. However, milestoned to 1.9.0 as a near-term cleanup opportunity. |
One case to keep in mind are SD instances that modified their logo using the old method. At least one org reported that they did not have to re-upload the logo after the 20.04 migration, prior to #5880 being released with 1.8.1. Hypothesis: Their If that hypothesis is correct, removing the |
To recap, if folks updated to Ubuntu 20.04 when SecureDrop 1.8.0 was released and before 1.8.1, and their logo is still at the old URL, their logo will get clobbered if we remove the It's easy to verify whether an org will have their logo clobbered by looking at its logo image URL. If the URL is I know of at least one impacted org. I'll do a bit more diligence and will ask impacted orgs to upload the logo manually, to avoid surprises. |
I've identified a total of 8 news orgs whose logo resides at the old |
I admit I'm a fan of munging the config as needed in the packaging flow, so that we can confidently reason about known state on all instances. Let's avoid asking admins to mess with the web UI unless absolutely necessary, would be my preference. |
14c8761 (from back in 2015) marked
/var/www/securedrop/static/i/logo.png
as a conffile, which was appropriate prior to improvements to logo handling like #3057. However, this can cause unexpected behavior like what we observed in #5849.At this point, if
logo.png
is not modified by the app code or by end users, it should be safe to no longer treat it as a conffile.The text was updated successfully, but these errors were encountered: