| Summary: | Picture of the day wallpaper is not cached in /tmp with tmpfs after reboot | ||
|---|---|---|---|
| Product: | [Unmaintained] kdeplasma-addons | Reporter: | Siddhartha <kde> |
| Component: | Picture of the Day | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | i, kde, keith, nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kdeplasma-addons/-/commit/e7c51a046583213467d5a4d453334d6e98d61512 | Version Fixed/Implemented In: | 5.20 |
| Sentry Crash Report: | |||
|
Description
Siddhartha
2020-08-05 18:11:17 UTC
Cannot reproduce this issue on my computer. Please note, we changed the cache directory in 5.73.0. If you updated the package, caching will not work next time you reboot. But it should work next next time. Can you try the following steps: 1. turn off your network totally. 2. run "plasmashell --replace" in konsole. 3. check if the wallpaper is showing. 4. save all output in konsole in a file and attach to this bug ticket. Cannot reproduce it with plasmashell --replace (wallpaper is set correctly), but can reproduce after a system restart (blank wallpaper for 10 minutes). where your /tmp is mounted? a hard drive or ram? can you check if 'ls /tmp/plasma*' output anything? Ah that could be it. /tmp on Archlinux is mounted as tmpfs, so loses everything after a restart. Isn't $XDG_CACHE_HOME a more appropriate place for storing such files? The POTD cache is shared by different process: 1. plasmashell (user) 2. lockscreen (root) 3. sddm (root, support in future) So it should be accessible by multiple users. So we cannot use $XDG_CACHE_HOME. It is true in some distros, /tmp get clean up when you reboot. /var/tmp should be kept between reboots, according to this article https://www.fosslinux.com/41739/linux-tmp-directory-everything-you-need-to-know.htm A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/14 >2. lockscreen (root) That's not run as root. It runs as your normal user. > 3. sddm (root, support in future) That's not run as root. That runs as a temporary "fake" user. anyway, lock screen and sddm process cannot access $XDG_CACHE_HOME. this is the main reason why we moved from ~/.cache to /tmp *** Bug 425235 has been marked as a duplicate of this bug. *** |