[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#808733: marked as done ([PATCH] Workaround for KDE caching problem on tmpfs (Bug 329668))



Your message dated Thu, 12 Jan 2017 17:20:46 +0100
with message-id <20170112162046.lvaj524etv3zym2i@home.ouaza.com>
and subject line Re: Bug#808733: [PATCH] Workaround for KDE caching problem on tmpfs (Bug 329668)
has caused the Debian Bug report #808733,
regarding [PATCH] Workaround for KDE caching problem on tmpfs (Bug 329668)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
808733: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808733
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Severity: wishlist

see attached mail for an explanation and patch from Volley

-- 
Bruce Schneier can read and understand Perl programs.
--- Begin Message ---
Something else.

Note: this is a really ugly hack.
You most likely do not want to make this part of the official live-config :)

But it did help me and i wanted to share it with someone.

Read about the problem at:
https://bugs.kde.org/show_bug.cgi?id=329668


Worf
>From fef3fc93f8f14664a4880f1c70a815726dc3f0a6 Mon Sep 17 00:00:00 2001
From: Wolfgang Scheicher <wolfgang.scheicher@gmail.com>
Date: Mon, 21 Dec 2015 23:45:58 +0100
Subject: [PATCH 2/2] Workaround for KDE caching problem on tmpfs (Bug 329668)

---
 components/0030-user-setup | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/components/0030-user-setup b/components/0030-user-setup
index bcd3cb9..90fff09 100755
--- a/components/0030-user-setup
+++ b/components/0030-user-setup
@@ -88,6 +88,13 @@ EOF
 	| grep -v "Shadow passwords are now on"
 	set -e
 
+	# Workaround for KDE caching problem on tmpfs (Bug 329668)
+	mkdir -p /var/tmp/kdecache-${LIVE_USERNAME}
+	chown ${LIVE_USERNAME}:${LIVE_USERNAME} /var/tmp/kdecache-${LIVE_USERNAME}/
+	ln -s /dev/zero /var/tmp/kdecache-${LIVE_USERNAME}/plasma_theme_default_v2.0.kcache
+	ln -s /dev/zero /var/tmp/kdecache-${LIVE_USERNAME}/plasma_theme_internal-system-colors.kcache
+	chown ${LIVE_USERNAME}:${LIVE_USERNAME} /var/tmp/kdecache-${LIVE_USERNAME}/*.kcache
+
 	# Creating state file
 	touch /var/lib/live/config/user-setup
 }
-- 
2.6.4


--- End Message ---

--- End Message ---
--- Begin Message ---
Hello,

On Tue, 22 Dec 2015, Evgeni Golov wrote:
> Note: this is a really ugly hack.
> You most likely do not want to make this part of the official live-config :)

I agree with this advice... this looks wrong. If the problem is important
enough, it should be fixed in KDE. Or KDE should offer a setting so that
we can disable caching alltogether.

But this hack is not suitable for live-config.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/

--- End Message ---

Reply to: