backport fix for KDE bug 422385
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
solid (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
ubuntu 20.04
When using microk8s or k3s or anything else that uses overlayfs, a lot of overlayfs mounts are being created, making various plasma applications unusable (either by long lists of volumes or by high cpu usage or by becoming unresponsive)
This bug has been fixed in solid upstream: https:/
https:/
i think this should be a candidate for backporting to ubuntu 20.04 since the impact of the fix is limited and the positive impact of the bugfix is quite high, probably for a lot of users. This bugreport has many duplicates and discussions.
https:/
https:/
The diff from the upstream commit applies with some very minor modifications (i put my modified version in debian/patches and included it in debian/
greetings,
Frank
with the patch applied when i do solid-hardware5 list details i get entries like below for the overlayfs mounts (note the "ignored true")
udi = '/org/kde/ fstab/overlay/ run/k3s/ containerd/ io.containerd. runtime. v2.task/ k8s.io/ 4cbfb5221162bad e0a0bf27fa771c1 e89344b72b2700c f01767762e2da02 5f48/rootfs' containerd/ io.containerd. runtime. v2.task/ k8s.io/ 4cbfb5221162bad e0a0bf27fa771c1 e89344b72b2700c f01767762e2da02 5f48/rootfs' (string) containerd/ io.containerd. runtime. v2.task/ k8s.io/ 4cbfb5221162bad e0a0bf27fa771c1 e89344b72b2700c f01767762e2da02 5f48/rootfs (overlay)' (string) .accessible = true (bool) .filePath = '/run/k3s/ containerd/ io.containerd. runtime. v2.task/ k8s.io/ 4cbfb5221162bad e0a0bf27fa771c1 e89344b72b2700c f01767762e2da02 5f48/rootfs' (string) .ignored = true (bool)
parent = '/org/kde/fstab' (string)
vendor = 'overlay' (string)
product = '/run/k3s/
description = '/run/k3s/
icon = 'folder' (string)
StorageAccess
StorageAccess
StorageAccess
this is the steps i did:
apt-get source libkf5solid-bin patches/ series
cd solid-5.68.0/
# put the patch attached in debian/patches and mention the filename of the patch in debian/
dpkg-buildpackage
this will result in some .deb packages which i installed. after this i had to logout/login before the changes were visible.