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
sddm: use tmpfiles.d to wipe QML cache #43243
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously no resistence here.
Success on aarch64-linux (full log) Attempted: sddm Partial log (click to expand)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not sure why this is happening, as the upstream bug was closed :(
But it is nice to finally have a working solution!
Success on x86_64-linux (full log) Attempted: sddm Partial log (click to expand)
|
I'd like @ttuegel to ACK this before merging as he might have some additional insights. |
@bkchr if you have the upstream bug link handy I'd like to read it... |
@jcrben look into the diff, there is the link to the qtbug. |
This seems fine to me!
At one time it did work; do we know why it stopped working? My concern is that this may stop working too; that's not a barrier to merging, but it would be nice if we could head off future problems. |
I cannot confirm that the original fix ever worked for me. I remember having the issue and trying out a few different things, only having things work when I manually blew away the cache, then running a version of unstable with your commit but still seeing the problem on the next upgrade. Manually blowing away the cache directory worked every time though. |
I had the same experience as @peterhoeg. |
I'm sorry, I never knew that! It worked on my two machines. Thanks for taking care of this! |
I'm sorry, I never knew that!
Well, I can hardly blame anyone for bugs I don't report... ;-)
|
Motivation for this change
Upgrades to plasma/sddm/qt would sometimes make sddm segfault and a fix was attempted in dae2600 which does not seem to work.
I am not sure if the reason for the previously mentioned commit not working as intended is because the script that is run has insufficient privileges to actually delete the files or other files in the
.cache
directory needed to be blown away as well so now we run it using atmpfiles.d
fragment (which runs as root) and we remove everything under the.cache
directory.Cc: @ttuegel as author of the original change, @bkchr, @worldofpeace
Fixes #43241
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)