From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: bug#35683: wishlist: addessing statefulness of .cache(s) Date: Sat, 11 May 2019 09:32:43 +0200 Message-ID: <878svdh2ec.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPMWB-0006Q2-Gf for bug-guix@gnu.org; Sat, 11 May 2019 03:34:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPMWA-0006w6-5k for bug-guix@gnu.org; Sat, 11 May 2019 03:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPMWA-0006vs-2p for bug-guix@gnu.org; Sat, 11 May 2019 03:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hPMW9-0004WX-Rm for bug-guix@gnu.org; Sat, 11 May 2019 03:34:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:38948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPMVJ-0005zW-Vt for bug-guix@gnu.org; Sat, 11 May 2019 03:33:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPMVI-0006Gb-TS for bug-guix@gnu.org; Sat, 11 May 2019 03:33:09 -0400 Received: from ns13.heimat.it ([46.4.214.66]:38258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPMVI-0006Er-J9 for bug-guix@gnu.org; Sat, 11 May 2019 03:33:08 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id EA5E5300690 for ; Sat, 11 May 2019 07:33:05 +0000 (UTC) Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0fWOTfxDqC6Z for ; Sat, 11 May 2019 07:32:46 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 23754300682 for ; Sat, 11 May 2019 07:32:46 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 03F68300A04 for ; Sat, 11 May 2019 09:32:44 +0200 (CEST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35683@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Guix, AFAIU issues like the two I point below are becoming a common pattern and are *critical* 1. gnome session not starting due to state in $HOME/.cache http://lists.gnu.org/archive/html/guix-devel/2019-04/msg00177.html Message-ID: <87ef68ibfy.fsf@elephly.net> Ricardo Wurmus: =2D-8<---------------cut here---------------start------------->8--- What should we do about this? For gdm I think it would make sense to add an activation service extension that clears the gdm user=E2=80=99s home directory. And more generally, maybe we should offer a generic cache cleaner service. =2D-8<---------------cut here---------------end--------------->8--- 2. X broken display transitioning from llvm6 to llvm7 in the mesa package http://lists.gnu.org/archive/html/guix-devel/2019-05/msg00223.html Message-ID: <20190511022009.nnu6szga6desvfwd@cf0> see also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35575 ison: =2D-8<---------------cut here---------------start------------->8--- Note that deleting both shader caches was required, and also if the caches = get rebuilt on a new generation and then I try to boot into an older previously working generation then that generation will display graphics artifacts unt= il the caches are deleted again. So switching between mesa compiled with llvm 6 and 7 on AMD RX 580 either backward or forward requires manually deleting the shader caches. =2D-8<---------------cut here---------------end--------------->8--- AFAIU unfortunately we have application/library state all over .cache(s) that sometimes crashes software *and* trying to fix this upstream it's _not_ an option [1] often users have to delete something in some .cache by guessing, "just" to solve some strange software crash (this is common to all distros) maybe an activation service extension proposed by Ricardo (see above) is the right solution: I'll try to make a summary of prevoius discussions on this topic on guix-devel to help address this (class of) issue(s)... sorry I cannot help coding it WDYT? Thanks! Gio' [1] I say this observing this class of issues since I started using free software: am I wrong? =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzWepwACgkQ030Op87M ORJC9BAAzAUXxugtcoC+qRSWcJnEMR29uuxvKdYk4w+/XGkvj+VQrrxUMkYa1mTf Jt5U5EXm1P6Vu7KwVnajffC5Ml3Tjf+0zZadxjmK5bcZmAU2VF0W6NqyVG9MqJFR CJIusxuvwdxjBPlal3feFR8G1DrksF3O/iLkLj0vtCC+a2Or69qgSS5ZcMkDpMcq f8CfMLD7fNU2ewIz7Y1JhZiR492F2JIvgA7DHxoUzj8IcCE6BVDF0EaW/RC63kXg /9T+nyLChyZ1GXvfmNRr1ykPcIb9hFnEIleglnPXESkOr1JY47o+RqSapVRvW+5a YghTMXHlC3+G7XKpUzo0yvhG352z4W2LiAamoiAP1oPnG13oT6dC3JqtOQ8Gz3Hq ersy7L40NG0fZ9P9gh9eG/HxUcdJ2J/RH2elVnB3lHCZhLrs72pSD8/A5+8IvNlU F0NxglZ4SEUF+DeQHcj0A/OdD4zLFFPOFq8TFEke9G7Bke0p95g339JBGdrrDCfg KhnOPFToarptOSCnOP5u64TCwgBS7E5K6fypp5sfPGusw6Y6840mM9SkXEwmEMTK I4mFqzEBQztwYpcdQ2EgpWzKNSXj8GnnS3HdM6QiNiQqSsRpWLxxEiJgGmeMiCh6 4JBJHAG961O4NmUnUE2YLv42tETNHiOqygHNXETBghGzRYLQPmU= =CUo9 -----END PGP SIGNATURE----- --=-=-=--