GNU bug report logs - #22707
IBus relies on possibly outdated ~/.cache/ibus/bus/registry

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ricardo Wurmus <rekado@HIDDEN>; merged with #28352; dated Tue, 16 Feb 2016 19:38:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 22707 28352. Request was from Ricardo Wurmus <rekado@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 22707 <at> debbugs.gnu.org:


Received: (at 22707) by debbugs.gnu.org; 24 Feb 2016 21:36:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 24 16:36:30 2016
Received: from localhost ([127.0.0.1]:44293 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aYh6k-0002qr-Jx
	for submit <at> debbugs.gnu.org; Wed, 24 Feb 2016 16:36:30 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41076)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <ludo@HIDDEN>) id 1aYh6j-0002qe-6X
 for 22707 <at> debbugs.gnu.org; Wed, 24 Feb 2016 16:36:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1aYh6a-00054d-MY
 for 22707 <at> debbugs.gnu.org; Wed, 24 Feb 2016 16:36:23 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51980)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1aYh6a-00054T-Ji; Wed, 24 Feb 2016 16:36:20 -0500
Received: from reverse-83.fdn.fr ([80.67.176.83]:40616 helo=pluto)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1aYh6Z-00077l-Uq; Wed, 24 Feb 2016 16:36:20 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#22707: IBus relies on possibly outdated
 ~/.cache/ibus/bus/registry
References: <87bn7g5tww.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 6 =?utf-8?Q?Vent=C3=B4se?= an 224 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x3D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-unknown-linux-gnu
Date: Wed, 24 Feb 2016 22:36:17 +0100
In-Reply-To: <87bn7g5tww.fsf@HIDDEN> (Ricardo Wurmus's message of "Tue,
 16 Feb 2016 20:36:47 +0100")
Message-ID: <87r3g1dc4u.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 22707
Cc: 22707 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Ricardo Wurmus <rekado@HIDDEN> skribis:

> I have an annoying little problem with IBus.  IBus creates a binary
> registry in ~/.cache/ibus/bus on first start(?) which contains the full
> paths to store items such as
>
>     /gnu/store/k3r...-ibus-1.5.11/libexec/ibus-dconf

GIMP has a similar problem for files in ~/.gimp-2.8, though it seems to
automatically regenerate them or something.

> Should we prevent a registry in the =E2=80=9C.cache=E2=80=9D directory to=
 be used and
> try to make IBus look for a registry that could be generated as part of
> generating a new profile generation?

Either that or we change the IBus code to detect stale caches and get
rid of them.  This might even be acceptable upstream.  WDYT?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#22707; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Feb 2016 19:37:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 16 14:37:07 2016
Received: from localhost ([127.0.0.1]:38408 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aVlQp-0001WS-Jd
	for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 14:37:07 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47498)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <rekado@HIDDEN>) id 1aVlQn-0001Vx-Ck
 for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 14:37:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1aVlQh-00086f-Ca
 for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 14:37:00 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34373)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1aVlQh-00086Z-9I
 for submit <at> debbugs.gnu.org; Tue, 16 Feb 2016 14:36:59 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38455)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1aVlQg-0002Mt-4L
 for bug-guix@HIDDEN; Tue, 16 Feb 2016 14:36:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1aVlQc-00085M-Rs
 for bug-guix@HIDDEN; Tue, 16 Feb 2016 14:36:58 -0500
Received: from sender163-mail.zoho.com ([74.201.84.163]:25385)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1aVlQc-00085A-Jr
 for bug-guix@HIDDEN; Tue, 16 Feb 2016 14:36:54 -0500
Received: from localhost (x4d0c8edc.dyn.telefonica.de [77.12.142.220]) by
 mx.zohomail.com with SMTPS id 1455651411736153.8357044122913;
 Tue, 16 Feb 2016 11:36:51 -0800 (PST)
User-agent: mu4e 0.9.13; emacs 24.5.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: bug-guix@HIDDEN
Subject: IBus relies on possibly outdated ~/.cache/ibus/bus/registry
Date: Tue, 16 Feb 2016 20:36:47 +0100
Message-ID: <87bn7g5tww.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Zoho-Virus-Status: 1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

I have an annoying little problem with IBus.  IBus creates a binary
registry in ~/.cache/ibus/bus on first start(?) which contains the full
paths to store items such as

    /gnu/store/k3r...-ibus-1.5.11/libexec/ibus-dconf

The problem is that when updating the “ibus” package this registry is
invalid, but never invalidated or regenerated.  IBus will continue to
use the paths in the registry — even after they have disappeared after
“guix gc”.  This results in an unhelpful error when starting
“ibus-setup”:

    Can not execute default config program

This is because it tries to run “$oldstoreitem/libexec/ibus-dconf”,
which has been removed by garbage collection.

The “.cache” directory is not part of the profile, of course, so we
cannot automatically rebuild it.  Looking at the code it seems that IBus
first looks for a system registry, but this registry cannot be right as
the user may have installed additional IBus input methods and the system
registry (wherever that may be) is not writeable.

Should we prevent a registry in the “.cache” directory to be used and
try to make IBus look for a registry that could be generated as part of
generating a new profile generation?

~~ Ricardo





Acknowledgement sent to Ricardo Wurmus <rekado@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#22707; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 19 Oct 2017 03:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.