From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oMOMN8ZRaGAzOwEAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 13:30:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mLxlMcZRaGC+DQAA1q6Kng (envelope-from ) for ; Sat, 03 Apr 2021 11:30:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4362126682 for ; Sat, 3 Apr 2021 13:30:14 +0200 (CEST) Received: from localhost ([::1]:45006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSeTl-0003HR-Dg for larch@yhetil.org; Sat, 03 Apr 2021 07:30:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSeTb-0003G8-1G for bug-guix@gnu.org; Sat, 03 Apr 2021 07:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49967) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSeTa-0004Th-Qe for bug-guix@gnu.org; Sat, 03 Apr 2021 07:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lSeTa-0001VT-MZ for bug-guix@gnu.org; Sat, 03 Apr 2021 07:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47576: [security] ibus-daemon launches ungrafted subprocesses Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 03 Apr 2021 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47576 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver ,47576@debbugs.gnu.org Received: via spool by 47576-submit@debbugs.gnu.org id=B47576.16174493565700 (code B ref 47576); Sat, 03 Apr 2021 11:30:02 +0000 Received: (at 47576) by debbugs.gnu.org; 3 Apr 2021 11:29:16 +0000 Received: from localhost ([127.0.0.1]:33280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSeSq-0001Ts-F6 for submit@debbugs.gnu.org; Sat, 03 Apr 2021 07:29:16 -0400 Received: from lepiller.eu ([89.234.186.109]:36780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSeSn-0001Tg-8b for 47576@debbugs.gnu.org; Sat, 03 Apr 2021 07:29:14 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 50ddc109; Sat, 3 Apr 2021 11:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=vvI2Qe9+Z07BvH1TGsin69UA+C/BqAn9CTRiEPnHIxQ=; b=OZ9jpsA51320 Hihn6hc3j61lfFwOzF//NwHh/Nspb7iqDw++RDWzYmDVU3xr18lzlDmY1GQBGzvr aafyvAcRlRXNzjIBu3NrvHpf0tdAnmqQsxMBX2LahNEehC/uGbhD6T6h1nuQ9plt LhHkQq/isWLdrQf5Kyd/zPiSxC5tr0m1/tfxSKyD1X6NHL6P4dX4IiPW4ldzeL+7 7ygNqfLBFsNlH/qS8K/71gfUFGnr91aq/Rz75nzO6744DXNGIT8dRiUitXBdNVaL +fP03pbe0DhPNv/0aVrBAQNqlmwiIC3VmjEL18KMp5UI4QU8epaMiQ001p0dgJnF 0NyaQdZFzQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 233e8ddc (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 3 Apr 2021 11:29:10 +0000 (UTC) Date: Sat, 03 Apr 2021 07:29:00 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <874kgndds4.fsf@netris.org> References: <87pmzcdljm.fsf@netris.org> <877dljdenq.fsf@netris.org> <874kgndds4.fsf@netris.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----M0Z305E8YTI0B4FTXDWGPTLJFILRL5" Content-Transfer-Encoding: 7bit From: Julien Lepiller Message-ID: <8BEEF3C6-82DC-459A-9013-3850754DA3B2@lepiller.eu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617449414; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PgIEt1AY3HLzEz+20UDsMylaGIQDjtbOxlI0MNN54P0=; b=TpeTot2JjLYaeECjv9zjcTR11Nk4p308POI93wnpNt9bOtA6/NxoJ+vfVoAxU3s9Tiospg mf5mdYvoO03Q8GCGaRXLoeTYUTrtq4Tkam1IevHqPJ+lReY243cEGF3ZThT8NjzoqLrlZl fh5g1b8OsTlZQpblGrtkJjRszpB9cvgCy7l63t47x71gtRbn7zLvWDldsAeC9BhEmaTyzP /vzR5E2/U8da+iRCGhFhDYXB1u4bByP1D9ck2/mzskV+mO5UATrHr9Dz1PHN3hSWvgFM4M NKXeHdZNSXlcsg3Wet4ahwbarlSKWEw1qt4A1EhHGo5ZlMlsyrjc/VO6UrIR+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617449414; a=rsa-sha256; cv=none; b=oL1oQbF5HM3sUQ/ec3WFCiHW91yUxoxtcdaLEcdbgAtBghrY8F9fgo3iGQ4KhbvIYkRa5a 8gqghGzx0OijHMhon40HYTD0Q1Dpd01CwVOYI6K+GIu92qzwdyUgecTZ/S7Yz6nSWKkSD+ HQ4uGobJgkYxs1+2QnoOAdvWvlMpIeU6elt1bFTF/E0QVDi2RkrTgoY/ZlqXS1ILAnArYD 5G+wauVQZ2XuPtCRXf/rghon4e0zfXzs6tjGx8W3EEXyOI22BiY0FrKBkrL1vA1A+G6dLz El/XWnSidM0QG6bb6N4CABEP+YV3s/g/9dcsKHJiyX5DYnyJ9w7TiJG1hn4bVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=OZ9jpsA5; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=OZ9jpsA5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 4362126682 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: KZbpIr39EGqI ------M0Z305E8YTI0B4FTXDWGPTLJFILRL5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oh! That would explain why I had so much trouble fixing/updating ibus and i= bus-anthy! We should probably fix ibus so it regenerates its cache when it's a differ= ent process=2E It could be as simple as using a subdirectory computed from = the absolute name of the ibus binary, maybe=2E Le 3 avril 2021 03:31:44 GMT-04:00, Mark H Weaver a =C3= =A9crit : >I wrote: >> I still have no clue where the reference to that mysterious old >version >> (/gnu/store/a4r6q1fbfqapy5hrrxap1yg96rjgln6q-ibus-1=2E5=2E22) is coming >> from=2E > >I found them: > > ~/=2Ecache/ibus/bus/registry > /var/lib/gdm/=2Ecache/ibus/bus/registry > >On my system, those files include absolute pathnames to programs in >/gnu/store/a4r6q1fbfqapy5hrrxap1yg96rjgln6q-ibus-1=2E5=2E22, which I >compiled last December=2E > >That old store item has been kept safe from GC for only one reason: >because 'ibus-daemon', along with its subprocesses, tend to be running >whenever I run "guix gc", and "guix gc" protects store items that are >currently in use by active processes=2E > > Mark ------M0Z305E8YTI0B4FTXDWGPTLJFILRL5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oh! That would explain why I had so much trouble f= ixing/updating ibus and ibus-anthy!

We should probably fix ibus so i= t regenerates its cache when it's a different process=2E It could be as sim= ple as using a subdirectory computed from the absolute name of the ibus bin= ary, maybe=2E

Le 3 avril 2021 03:31:44 GM= T-04:00, Mark H Weaver <mhw@netris=2Eorg> a =C3=A9crit :
I wrote:
I still have no clue where the reference to that mysterious old v= ersion
(/gnu/store/a4r6q1fbfqapy5hrrxap1yg96rjgln6q-ibus-1=2E5=2E22) is = coming
from=2E

I found them:

~/=2Ecache/ibu= s/bus/registry
/var/lib/gdm/=2Ecache/ibus/bus/registry

On my sy= stem, those files include absolute pathnames to programs in
/gnu/store/a= 4r6q1fbfqapy5hrrxap1yg96rjgln6q-ibus-1=2E5=2E22, which I
compiled last D= ecember=2E

That old store item has been kept safe from GC for only o= ne reason:
because 'ibus-daemon', along with its subprocesses, tend to b= e running
whenever I run "guix gc", and "guix gc" protects store items t= hat are
currently in use by active processes=2E

Mark


------M0Z305E8YTI0B4FTXDWGPTLJFILRL5--