From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kBfvBNiO+GR1+AAAauVa8A:P1 (envelope-from ) for ; Wed, 06 Sep 2023 16:38:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kBfvBNiO+GR1+AAAauVa8A (envelope-from ) for ; Wed, 06 Sep 2023 16:38:16 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A742D3924C for ; Wed, 6 Sep 2023 16:38:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=IO5L5j+6; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694011095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3VfKBdi8064JdFJGW7povs8dL8ujCiUEL0Hy43nBKHI=; b=kaLUMZfEiUe+5e1hcw/LOzDDkXhIwHuq+gjTgc33VJF4hNmPwiImXWnqQtHdBISsl7WBTo SYK5A5x1n2CJoi0p1WysLc9rvUtpySoQxog9jTZb6I7ecPXLTR9I/hnChNOt4qyYPU0w72 5hPLQuKnJo3R+XLlEZqKEY2jJYQFQEspIEQEvBOTI/Z0fcB89shUtdSfaCJeBm658j1D2p elkqmC/j5O+8y8DaiKJS7rTNeHJa94taskiW0dUR9FqMmMTegaR+3SJNxVpMdaiWmDdU5R 5xjgatBNzad9+KCxnGSjHx5YiO5nebMC3Z44aksXaBQw349yF+PEY08H2m6T9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=IO5L5j+6; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694011095; a=rsa-sha256; cv=none; b=eqi6lzgH+dzSvQDoEIiVlHr84/B1h1GE4hvy9PZzlbZrsDYY+kYnkOM9YYRNC4zcL2vvoU hhBctsT4BjQMM5xPIFtBzzyTO/qcuoAu/qYFcvMfnI7sh+Hfqjw6RgrRfVksmZm8Rg5Phy gzD/dxswxfgyvCCCPxBrQkeCMFuhvX5/XVslPxo6hh9L2ACsPCOOmrzBUmY/j4zXjZ1RgH 7nnllsgx9xhuWPhawWvQHu9EcclkQG8/cNNdG3D8pi5OVsPBWABqFiJRYHALAp7glinGqW cxP/NBhjxhHUxRcXixiD+q+hEDWKmO/hx3Crxhj7ueJJNMNezP+f2v9uH0aDxg== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3B29260937; Wed, 6 Sep 2023 14:38:13 +0000 (UTC) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by mail.notmuchmail.org (Postfix) with ESMTPS id 35AA060921 for ; Wed, 6 Sep 2023 14:38:10 +0000 (UTC) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-99357737980so576063166b.2 for ; Wed, 06 Sep 2023 07:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694011089; x=1694615889; darn=notmuchmail.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AkxBV5n71xM74DBUz+r6iHCU7CiN+xJ7EmBSOBGRDXk=; b=IO5L5j+6Kl3z2OYLJ7441Q3XnsDw8LR4uBQf1PfpaAKzC9kzwfjdB5ImL1t8F8Q1j0 yd5KjYv6OqO2Kfkkc8UYty44/B6UNiogj31/ClMU8rUbmfjEQuz3S0YnK0tsDEfJhr0Z xcLDYaqf1P65yTcw/Fnb8dcsJ6LnjKmcGZBhvbGtUT16dV0CAI+zGfY5Z5wLnB4VQl44 8r3hKxNmjOmuAr5xnuB9mUjJYVYU3k7CMXEU1K8GasbSN8DAm3wCqB1VBTMoU0SZTY6z sqxjLXUMV3ONkfRhnnsWvpEoHY1G4hZfehcY1cCWzjAk+XHE1mPbwYuNOA+alksLs/J2 z3lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694011089; x=1694615889; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AkxBV5n71xM74DBUz+r6iHCU7CiN+xJ7EmBSOBGRDXk=; b=Wk3dqMmdgQ84qL1x1X4NDvhjuyHMt+ZMtLH7tQlZH4s1C03Q+09RUw7KBu0kY8UN3m X6X1wIEkJ/YyIoa+w2LL9/JvYI1ukW5LoxQ2ifW6kcSpSVdjPX+UDm5G0kDW7q8hArxa fAP+D8TJL0ykkqKp1zxhO1cRvfhapiZZ24wV+X2zJX67JsMCbTkdJFQ9EeuL2byI6hv0 KUZaroptC59fikmuahTemdySxjn/BXUZooqzoUZ5kvDejo/7k45HWYtznhY+wxIH9MR4 pkFRHauvwz0TLmjcARP5h3/srECY1bRgYrSsap0PmKyIgL1nXfpykqwEqN/mVQSBRqoe 8PsQ== X-Gm-Message-State: AOJu0YzGnHKeB/2VrnXBtp5TVyCqAy8CHVnfNwEdCVS8SnImHlmFbr3q NnT0rxAi3uDsIdY44kHuzcTZpFP3L7JuYJnt7pA= X-Google-Smtp-Source: AGHT+IGFfluvcE2zDDKUuktrivWD8eowUob4qxMfpHPXkPnhbscRHEan1I90iOoH/FtrSkw4Xz0ex5kJqPNYaK4v0U8= X-Received: by 2002:a17:906:1da9:b0:9a1:b950:abab with SMTP id u9-20020a1709061da900b009a1b950ababmr2503900ejh.32.1694011089070; Wed, 06 Sep 2023 07:38:09 -0700 (PDT) MIME-Version: 1.0 References: <5a7paaqa2dvdo5lmnxvaeacfwhdytfnkr4gfh6mtlotdviki2s@ro4gz4m2aqsw> In-Reply-To: <5a7paaqa2dvdo5lmnxvaeacfwhdytfnkr4gfh6mtlotdviki2s@ro4gz4m2aqsw> From: Michael J Gruber Date: Wed, 6 Sep 2023 16:37:57 +0200 Message-ID: Subject: Re: notmuch breaks on \. in config file with upgrade from glib2 2.76.1 to 2.76.5 To: Eric Blake Message-ID-Hash: CN5Q3MFBVMTZA4ZW66WI6TD5OBQMDNPV X-Message-ID-Hash: CN5Q3MFBVMTZA4ZW66WI6TD5OBQMDNPV X-MailFrom: michaeljgruber@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE X-Migadu-Queue-Id: A742D3924C X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 7.25 X-Spam-Score: 7.25 X-TUID: igY5WiLBmfaJ Hi there [snip] > Last night, I filed > https://bugzilla.redhat.com/show_bug.cgi?id=2237562. Later, I found > this about glib 2.77 introducing regressions: > https://bugzilla.redhat.com/show_bug.cgi?id=2225257; looks like Fedora > backported enough of that into 2.76.5 to cause similar issues in > relation to 2.76.1, even though a patchlevel release of glib shouldn't > be changing behaviors. Fedora has no related patches in 2.76.5-1 at all (only hmac/eperm). So, if that's the same regression as in 2.77 it was introduced earlier, and purely in upstream. > I presume that 'notmuch config set' should be the preferred way to > modify the config file - but since it IS a human-readable file, > notmuch should do a much better job of reporting errors whenever > glib's gkeyfile API cannot parse the file (even if that failure to > parse is caused by an unintended regression in glib behavior for > rejecting something it used to accept). Yes. This round of glib2 gave us quite some headaches to get config back working at all. The typical response from glib2 upstream was that what we called regressions were fixes to wrong behaviour in glib2 and that we should not rely on established behaviour (my words) but only on the documentation, the latter exposing a sense of humour which I do appreciate at times. In particular, glib2's read and write results are the authoritative answer. And probably the older glib2 was "wrong" in what it accepted leniently ... Does notmuch even get the chance to read partially? Michael