From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UFE7I4xdlGDdWgEAgWs5BA (envelope-from ) for ; Thu, 06 May 2021 23:20:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IOfoHoxdlGDEOQAA1q6Kng (envelope-from ) for ; Thu, 06 May 2021 21:20:12 +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 F2A7327D5D for ; Thu, 6 May 2021 23:20:11 +0200 (CEST) Received: from localhost ([::1]:56612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lelPl-0002au-FW for larch@yhetil.org; Thu, 06 May 2021 17:20:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lelPd-0002ab-VM for bug-guix@gnu.org; Thu, 06 May 2021 17:20:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lelPd-0001Yd-O0 for bug-guix@gnu.org; Thu, 06 May 2021 17:20:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lelPd-0008PB-Jd for bug-guix@gnu.org; Thu, 06 May 2021 17:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48265: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 May 2021 21:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 48265-submit@debbugs.gnu.org id=B48265.162033595032283 (code B ref 48265); Thu, 06 May 2021 21:20:01 +0000 Received: (at 48265) by debbugs.gnu.org; 6 May 2021 21:19:10 +0000 Received: from localhost ([127.0.0.1]:39774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lelOo-0008Od-7o for submit@debbugs.gnu.org; Thu, 06 May 2021 17:19:10 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:59100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lelOl-0008OW-49 for 48265@debbugs.gnu.org; Thu, 06 May 2021 17:19:08 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id 1ZK5250070mfAB406ZK5fd; Thu, 06 May 2021 23:19:05 +0200 Message-ID: <124d265a6cb040aabe8ee5240d2d2f6e8c6ed34f.camel@telenet.be> From: Maxime Devos Date: Thu, 06 May 2021 23:18:59 +0200 In-Reply-To: <87a6p7d19a.fsf@gnu.org> References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@telenet.be> <87a6p7d19a.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-vljmpcA2xQayjICafNf2" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1620335945; bh=FKvg5uyrscriiBVog2XoBqDIH9jGevd9DWNxIGc8NbA=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=LeKaL40yfHX04qr0E0OPhcjbxJ2ASP0l0o3IyxPVgUEUz2vI5WfAcvAZowi+KnY3r Dl756H55zgeuXsrKEBjtfoYgGHY+4TaagqxXpGUgze9L5BbGFXdS4K78S2HxzUdn55 zqpo8f/MY40Ip4AasLo2m4C0wYe7ejkoONWQKvt+QfPzmhTnktipNHxsZTntO8xFbj 1mcUg9RHrIybuHTLiFgHbTNuz9AUtJ++eXE+HPNv3xQtSnTcSW03Y/+MZVN1nGA0Rt MYRQvobuUO7j4OEbS0o0WrinpYWqTYyEuTE5z5HzGNi6t4fOp5cgw3bKd+0DjKfroO rHHDqjQj0q5/w== 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: , Cc: 48265@debbugs.gnu.org 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=1620336012; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=FKvg5uyrscriiBVog2XoBqDIH9jGevd9DWNxIGc8NbA=; b=oe78+W/hw4MVwGPYjQuuwSWU0+YutKzeBF9lvof5miUhOW3NXEyJeUqOINuhh1W8jVsZIT kdLRqaZ99SRkp+zYqnjMKTpbyFL5PCuvE3O+uEqFuM3fNaEzbIqdQdz4lsu2wWHF5xYip+ TWdiS2SBEXnQRvkWFgdUW0weh1dCX2oxJ8D6Vo0c4y4Q1SSBR9GVjl6PfelOUDJFCTfagQ PZ6fcpG679ngojLk5uzGJKpTgSV/i9edsCCzi/sB5O4ckOoIKUsawha1vy+JYt3nLtUYKn 7p3FoOJp2l2AWHcY/o46hvyQPvLaYEbSVT0TwH4J5jjmaJ9DucxD/cTyX9vHoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620336012; a=rsa-sha256; cv=none; b=ZQ93zlR2nKzlLRrU5Uz+BYrlKf9gHmo+p6geJf5Ip3Fp7BQX5easNCe2bPAUTkOq7tdxQa GiyiTZhxtorY//QK84q3Ys6ebY4bc+pRt7yykeK/wIRpC4kS/B/TP7K2imhAVvr6nc80oz zUGhEU6375TRDIS1oyd1XdOPe2Si1g5bubapoJ9fhRUYx8n2yrLb+MeZwl479cGZoVDjYV qNO/oAk0AuDDfHVf2VXLhFKIrfnjP1MgqIKR/YDEeb+lZ3rMM7nhrQ6gNQ6sVE7AB8l+ri PTgRgPQ1a6ekTasJb4DObIPb5yfTm+T8nuMNBTWZ2mcKMMdqicx1pP0Ad8PtpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=LeKaL40y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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-Spam-Score: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=LeKaL40y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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: F2A7327D5D X-Spam-Score: -1.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: /RGs1pz13wMJ --=-vljmpcA2xQayjICafNf2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op do 06-05-2021 om 23:02 [+0200]: > Hi! >=20 > Maxime Devos skribis: >=20 > > FWIW, the following works as expected (no error message), using the sto= re path in .policy: > > $ pkexec /gnu/store/zk4kb4437032swahywmgyzn55b5w5wj8-mate-power-manager= -1.24.2/sbin/mate-power-backlight-helper --set-brightness=3D300 > > Maybe MATE is trying the equivalent of "pkexec /wrong/store/path/mate-p= ower-backlight-helper --etcetera" instead > > of referring to the action by name org.mate.power.backlight-helper. > >=20 > > Note the store path is different. Now try something different > >=20 > > $ which mate-power-backlight-helper > > > /run/current-system/profile/sbin/mate-power-backlight-helper > > $ ls -l /run/current-system/profile/sbin/mate-power-backlight-helper > > > /gnu/store/ffqhy4xdpzkg06rlq76zrbwn8v3rqgw9-mate-1.24.1/sbin/mate-pow= er-backlight-helper >=20 > These are different versions (1.24.2 vs. 1.24.1). I didn't notice that. Also, this makes the problem even weirder. Were does the version mismatch come from? I would try to run "guix gc --referrers /gnu/store/PATH-WITH-POWER-BACKLIGH= T-HELPER" as that might shed some light on the matter, but I don't have a lot of free= time currently, so I'm hoping someone else fixes the bug first :p. > But that=E2=80=99s just two store file names; where=E2=80=99s the third o= ne? 1.: Authentication is needed to run /gnu/store/mp33h4vqdw0scdkjj0v6c3gima9wz8lm-mate-power-manager-1.24.2/s= bin/mate-power-backlight-helper [...] 2.: (in org.mate.power.policy) /gnu/store/zk4kb4437032swahywmgyzn55b5w5wj8-mate-power-manager-1.24.2/s= bin/mate-power-backlight-helper 3.: $ ls -l /run/current-system/profile/sbin/mate-power-backlight-helper > /gnu/store/ffqhy4xdpzkg06rlq76zrbwn8v3rqgw9-mate-1.24.1/sbin/mate-pow= er-backlight-helper > Isn=E2=80=99t the problem that you reconfigured and so there=E2=80=99s no= w a mismatch > between the polkit rule in effect, which expects 1.24.1 (say), and the > version you=E2=80=99re running? I've had this problem for a month, I think? I'll try to confirm / falsify tomorrow. FWIW, I don't see any mate stuff in my use profile. Greetings, Maxime. --=-vljmpcA2xQayjICafNf2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYJRdQxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kR4AQD9VCKJPeeNXDJKogCybqZeS7JT jqnp2Hep+XoJt6Wn9AEA/Hn0TPaueNIjq4uznug3Mjzjei91JWt/M8LRDV3cBwY= =DJEQ -----END PGP SIGNATURE----- --=-vljmpcA2xQayjICafNf2--