-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
tt-rss: make code immutable #55300
Comments
Force this option to false. Leaving this as true (currently the default) is dangerous. If the TT-RSS installation upgrades itself to a newer version requiring a schema update, the installation will break the next time the TT-RSS systemd service is restarted. Ideally, the installation itself should be immutable (see NixOS#55300).
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I would say this issue is still relevant... to the point where if it isn't fixed we should consider removing |
Before you remove it, we have a ttrss module that does this. |
@aanderse If you want to have a look, I posted it here: https://gist.github.com/dasJ/2c19e7dbde17daef11afd1ba0703c4a1 This used to be the upstream module, but I modified so heavily I couldn't just open a simple PR :/
|
I marked this as stale due to inactivity. → More info |
Implemented in #133133 |
Currently, the tt-rss service copies all its code from the Nix store into /var/lib/tt-rss upon startup. Thus, the installation's code can be overwritten by the
tt_rss
user itself, and be edited by users outside of the Nix store (although changes to the wrong directories will be overwritten upon service restart). This should be changed to make the code immutable as much as possible. See this recent thread on containerizing a TT-RSS installation: https://discourse.tt-rss.org/t/overhaul-ttrss-needs-a-data-directory/1922/19The text was updated successfully, but these errors were encountered: