X-Loop: help-debbugs@HIDDEN Subject: bug#48265: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) Resent-From: Maxime Devos <maximedevos@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 06 May 2021 20:25:02 +0000 Resent-Message-ID: <handler.48265.B.162033270029416 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48265 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.162033270029416 (code B ref -1); Thu, 06 May 2021 20:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 May 2021 20:25:00 +0000 Received: from localhost ([127.0.0.1]:39488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lekYO-0007eO-Gx for submit <at> debbugs.gnu.org; Thu, 06 May 2021 16:25:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:34584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1lekYM-0007eI-VQ for submit <at> debbugs.gnu.org; Thu, 06 May 2021 16:24:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1lekYM-0005PY-I0 for bug-guix@HIDDEN; Thu, 06 May 2021 16:24:58 -0400 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:40840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1lekYK-0003PC-5d for bug-guix@HIDDEN; Thu, 06 May 2021 16:24:58 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id 1YQr250020mfAB401YQr8R; Thu, 06 May 2021 22:24:51 +0200 Message-ID: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> From: Maxime Devos <maximedevos@HIDDEN> Date: Thu, 06 May 2021 22:24:43 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-TdMmiUY/F/MW0AxiIe4N" 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=1620332691; bh=5DKRHfDNBg5qR2CeEWNOsoxbqEphs5lvzTG/SU2S0R8=; h=Subject:From:To:Date; b=LSv/1L3jMeH4oZJ1GP7kQ3gS9kkkymOVXPDd7KvY1E6kBaaXt2M6/0Gy7YXYp8pep Tl4e74G4rBQiC8+/a5BwcpoYqjxQAHf2IfEiLB6PCZXbmBcT9piBQU6J+/Mp9KBsKb +hBvDhpnmrVYWJ4EGZlv84fhCowbu3Dy9r7dn3cgYe+hELqW+DCNtusMNpk6hn9+rY ieSHPaMVSznU8Ax7AVZmQaJT7ozYH+0EFd55ylqQdg0E9kRdiH6Ouv6kt/+/OWpxTY ncW/bT4VDqN7YcC9oAECsIDeK+62oVZ5rQY+L/9YhfeURlEMRIIkJqxJny1uJx2YJ+ V2sUjWVAtILEg== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@HIDDEN; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: -2.3 (--) --=-TdMmiUY/F/MW0AxiIe4N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Related to: https://issues.guix.gnu.org/22952 On a mate desktop (mate-desktop-service-type). FN-F9, FN-F10 (binded to =E2=80=98decrease brightness=E2=80=99 and =E2=80= =98increase brightness=E2=80=99): > Authentication is needed to run '/gnu/store/mp33h4vqdw0scdkjj0v6c3gima9wz= 8lm-mate-power-manager-1.24.2/sbin/mate-power-backlight-helper' as the supe= r user. Contents of /etc/polkit-1/actions/org.mate.power.policy: [...] <icon_name>battery</icon_name> <action id=3D"org.mate.power.backlight-helper"> <!-- SECURITY: - A normal active user on the local machine does not need permiss= ion to change the backlight brightness. --> <description>Modify the laptop brightness</description> <message>Authentication is required to modify the laptop brightness</me= ssage> <defaults> <allow_any>no</allow_any> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> </defaults> <annotate key=3D"org.freedesktop.policykit.exec.path">/gnu/store/zk4kb4= 437032swahywmgyzn55b5w5wj8-mate-power-manager-1.24.2/sbin/mate-power-backli= ght-help> </action> [...] FWIW, the following works as expected (no error message), using the store p= ath in .policy: $ pkexec /gnu/store/zk4kb4437032swahywmgyzn55b5w5wj8-mate-power-manager-1.2= 4.2/sbin/mate-power-backlight-helper --set-brightness=3D300 Maybe MATE is trying the equivalent of "pkexec /wrong/store/path/mate-power= -backlight-helper --etcetera" instead of referring to the action by name org.mate.power.backlight-helper. Note the store path is different. Now try something different $ 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-power-b= acklight-helper Now we have three different store paths so far! Not sure what the proper way to resolve this, and what causes the three dif= ferent store paths, but one way to resolve this would be referring to /run/current-system/profi= le/sbin/mate-power-backlight-helper in org.mate.power.policy (untested!). It looks like there could very well be be similar issues in (unverified): * /etc/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy * /etc/polkit-1/actions/org.gnome.gnome-system-monitor.policy * /etc/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy * /etc/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy * grep for /gnu/store/ in /etc/polkit-1/actions/*.policy Greetings, Maxime. --=-TdMmiUY/F/MW0AxiIe4N 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+4iGRcl7gUCYJRQixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tQ5AP9f0eQ7QbmZyyYbxsWTg3nG+aWP FyDRRJgD1g0lHotoWQEAk9VioOFO+RCktwrY+qSWh5sva9etg4CMVSGlNGArewk= =z1Gt -----END PGP SIGNATURE----- --=-TdMmiUY/F/MW0AxiIe4N--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Maxime Devos <maximedevos@HIDDEN> Subject: bug#48265: Acknowledgement (mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC)) Message-ID: <handler.48265.B.162033270029416.ack <at> debbugs.gnu.org> References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> X-Gnu-PR-Message: ack 48265 X-Gnu-PR-Package: guix Reply-To: 48265 <at> debbugs.gnu.org Date: Thu, 06 May 2021 20:25:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 48265 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 48265: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48265 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#48265: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 06 May 2021 21:03:01 +0000 Resent-Message-ID: <handler.48265.B48265.162033495631336 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos <maximedevos@HIDDEN> Cc: 48265 <at> debbugs.gnu.org Received: via spool by 48265-submit <at> debbugs.gnu.org id=B48265.162033495631336 (code B ref 48265); Thu, 06 May 2021 21:03:01 +0000 Received: (at 48265) by debbugs.gnu.org; 6 May 2021 21:02:36 +0000 Received: from localhost ([127.0.0.1]:39646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lel8l-00089M-MI for submit <at> debbugs.gnu.org; Thu, 06 May 2021 17:02:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lel8k-00089D-In for 48265 <at> debbugs.gnu.org; Thu, 06 May 2021 17:02:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56002) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lel8e-0000Ow-G4; Thu, 06 May 2021 17:02:28 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37138 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from <ludo@HIDDEN>) id 1lel8e-0002O2-8s; Thu, 06 May 2021 17:02:28 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?UTF-8?Q?Flor=C3=A9al?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 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-pc-linux-gnu Date: Thu, 06 May 2021 23:02:25 +0200 In-Reply-To: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> (Maxime Devos's message of "Thu, 06 May 2021 22:24:43 +0200") Message-ID: <87a6p7d19a.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi! Maxime Devos <maximedevos@HIDDEN> skribis: > FWIW, the following works as expected (no error message), using the store= 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-pow= er-backlight-helper --etcetera" instead > of referring to the action by name org.mate.power.backlight-helper. > > Note the store path is different. Now try something different > > $ 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-power-= backlight-helper These are different versions (1.24.2 vs. 1.24.1). But that=E2=80=99s just = two store file names; where=E2=80=99s the third one? Isn=E2=80=99t the problem that you reconfigured and so there=E2=80=99s now = a mismatch between the polkit rule in effect, which expects 1.24.1 (say), and the version you=E2=80=99re running? (FWIW brightness change works in GNOME.) Thanks, Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: bug#48265: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) Resent-From: Maxime Devos <maximedevos@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 06 May 2021 21:20:01 +0000 Resent-Message-ID: <handler.48265.B48265.162033595032283 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 48265 <at> debbugs.gnu.org Received: via spool by 48265-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lelOo-0008Od-7o for submit <at> 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 <maximedevos@HIDDEN>) id 1lelOl-0008OW-49 for 48265 <at> 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@HIDDEN> From: Maxime Devos <maximedevos@HIDDEN> Date: Thu, 06 May 2021 23:18:59 +0200 In-Reply-To: <87a6p7d19a.fsf@HIDDEN> References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> <87a6p7d19a.fsf@HIDDEN> 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-Spam-Score: -0.7 (/) 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: -1.7 (-) --=-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 <maximedevos@HIDDEN> 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--
X-Loop: help-debbugs@HIDDEN Subject: bug#48265: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> In-Reply-To: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> Resent-From: Maxime Devos <maximedevos@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 07 May 2021 06:39:01 +0000 Resent-Message-ID: <handler.48265.B48265.162036951226272 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48265 <at> debbugs.gnu.org Received: via spool by 48265-submit <at> debbugs.gnu.org id=B48265.162036951226272 (code B ref 48265); Fri, 07 May 2021 06:39:01 +0000 Received: (at 48265) by debbugs.gnu.org; 7 May 2021 06:38:32 +0000 Received: from localhost ([127.0.0.1]:42081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1leu88-0006pg-9F for submit <at> debbugs.gnu.org; Fri, 07 May 2021 02:38:32 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:44414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1leu86-0006pa-1r for 48265 <at> debbugs.gnu.org; Fri, 07 May 2021 02:38:31 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id 1ieT2500p0mfAB401ieTST; Fri, 07 May 2021 08:38:28 +0200 Message-ID: <09353b1319b47b42cb28a477af12740b9175d940.camel@HIDDEN> From: Maxime Devos <maximedevos@HIDDEN> Date: Fri, 07 May 2021 08:38:27 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1620369508; bh=xw9D+9ER/bDHEuYhPGsp+2D8ortX63+k5Az60XKkiHM=; h=Subject:From:To:Date; b=QyLCRnEY1Y00o8/ff5SFuSkUK0H9ugIAl/y60SNqPqixL7Zo2qkAxdaJD2oNArbYM R232EHsn9KBH1Nfh5A6VIZSZO4yFPm6d4avuVkWtRf8xzKAXbTcyJXNk0vAeU4cIhc fTrTpPzrf34hGbviTQ4Elx0ARJMcOYGdePE7tRa9H6kvBMBohWUAX53WjiWckp1OuD UknlWvOQBmk/xbIvWx9ljgq4uRiz9CAGBJMVQkSfbcFr2brBL4lZuJMEiUGxuBYcSq /RTGbywnrdtnHIcLbmDMEbT5Yza0l/jKXpyuzJp5u9UJr4c4B1VBDuClh3FzCpCQ9n 2knDceRpBLTYg== X-Spam-Score: -0.7 (/) 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: -1.7 (-) >> Isn’t the problem that you reconfigured and so there’s now a mismatch >> between the polkit rule in effect, which expects 1.24.1 (say), and the >> version you’re 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. I booted my system, and the issue is still present. Greetings, Maxime.
X-Loop: help-debbugs@HIDDEN Subject: bug#48265: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) Resent-From: Maxime Devos <maximedevos@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 07 May 2021 06:50:02 +0000 Resent-Message-ID: <handler.48265.B48265.162037014726698 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48265 <at> debbugs.gnu.org Received: via spool by 48265-submit <at> debbugs.gnu.org id=B48265.162037014726698 (code B ref 48265); Fri, 07 May 2021 06:50:02 +0000 Received: (at 48265) by debbugs.gnu.org; 7 May 2021 06:49:07 +0000 Received: from localhost ([127.0.0.1]:42130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1leuIN-0006wY-FF for submit <at> debbugs.gnu.org; Fri, 07 May 2021 02:49:07 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:32866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1leuIL-0006wS-C7 for 48265 <at> debbugs.gnu.org; Fri, 07 May 2021 02:49:06 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id 1ip32500K0mfAB401ip3KT; Fri, 07 May 2021 08:49:04 +0200 Message-ID: <29bc3152e6929b7bde9b6b9a3d44e250fd4c5019.camel@HIDDEN> From: Maxime Devos <maximedevos@HIDDEN> Date: Fri, 07 May 2021 08:48:57 +0200 In-Reply-To: <09353b1319b47b42cb28a477af12740b9175d940.camel@HIDDEN> References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> <09353b1319b47b42cb28a477af12740b9175d940.camel@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-+tXu3HrfEPzq4DiIDC0N" 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=1620370144; bh=25/LeuYrVZC96KQofkqPO8LbGR8KT/WEeMgCYu5qOAs=; h=Subject:From:To:Date:In-Reply-To:References; b=bFljXZmnHAypDJu3USFPBup+DcKfFmc2PB1xE9WZJ9lkV2rKSJ5NDw/CN/baaoJH4 /JSe0Fhc25qOxDixr4uehozLCwC/v1AaCjN1JzywjpWILzxdKPJpbhvlwszlR0i1EA 0oDuSkrTHRomT3+77Ufo1LRWWxpxSvKilomLVEnMD/aXkuxW1F+aNnfcmQ5IrgJc7o +1s0tz0HlWY+59aMPPd8fbNOCoeQExWgXl8XS/n6crGEhxBT200d9nkeROX0VlVuxQ MedA5auPM57uB+MIY7nV66cxJOHmBViDcUdOxEVCPfj6dwFaLAhG0zcwMe6QbMOnJj eSP+S6jqa39QA== X-Spam-Score: -0.7 (/) 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: -1.7 (-) --=-+tXu3HrfEPzq4DiIDC0N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It looks like my suspicion that "mate-power-backlight-helper" is referred t= o by absolute file name instead of by its polkit action is correct: Excerpt from src/gpm-brightness.c (https://git.mate-desktop.org/mate-power-manager/tree/src/gpm-brightness.c) > static gboolean > gpm_brightness_helper_set_value (const gchar *argument, gint value) > { > [...] > /* get the data */ > command =3D g_strdup_printf ("pkexec " SBINDIR "/mate-power-backl= ight-helper --%s %i", argument, value); > ret =3D g_spawn_command_line_sync (command, NULL, NULL, &exit_sta= tus, &error); > [...] > } Next step: look at the GNOME source code, maybe it does things differently. --=-+tXu3HrfEPzq4DiIDC0N 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+4iGRcl7gUCYJTi2RccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hK9AQDiIuAJ8mqyIDGp28uS52w3h3s/ 9SBSCvhiTyzQ/kYyNQEA3LnL06GKP40IGH9hi9LhkziMgLNjZVQgdrdcqRLNXQM= =RkEG -----END PGP SIGNATURE----- --=-+tXu3HrfEPzq4DiIDC0N--
X-Loop: help-debbugs@HIDDEN Subject: bug#48265: Authentication is needed to run mate-power-backlight-helper References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> In-Reply-To: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> Resent-From: Christopher League <league@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 06 Jun 2025 18:24:02 +0000 Resent-Message-ID: <handler.48265.B48265.1749234183927 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48265 <at> debbugs.gnu.org Received: via spool by 48265-submit <at> debbugs.gnu.org id=B48265.1749234183927 (code B ref 48265); Fri, 06 Jun 2025 18:24:02 +0000 Received: (at 48265) by debbugs.gnu.org; 6 Jun 2025 18:23:03 +0000 Received: from localhost ([127.0.0.1]:44984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uNbiZ-0000Er-4Q for submit <at> debbugs.gnu.org; Fri, 06 Jun 2025 14:23:03 -0400 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]:27259) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <league@HIDDEN>) id 1uNbiV-0000E0-GZ for 48265 <at> debbugs.gnu.org; Fri, 06 Jun 2025 14:23:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1749234175; cv=none; d=zohomail.com; s=zohoarc; b=KBmp+ZD+/zjqwml/DKpOcIsGvdCUMmu12HC2z6fc4y2DU3wXQfZkPsJHeXt+1ZjRDanFLQ9ZwD7Od/Jw6bghxtrpKici79EL7LhcJstAcJrxhOSXsrCpX7DrmoLlf0EUcMnKVMG0l+afL3zp5MB8zUuAJ1+6zkb4attbLWD56ug= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1749234175; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=HZ3+aojwFUkJJ/FjwHbq4DXrqrbDe4YYSs+zRQYpME8=; b=KW0C53aViNNXCzfPldajobSHtwmzt7fxwxIBK19oRPX0hlJ8fOGUwq7MjdkprPbgBvKcWKnpLD3owMgfCMs9okgq9TDE2f+Ag6IrBR0THJHm/cBxAQUabNDBocDkj0kF7OpFQcD5r+lSXlHrjFaCv0sQX4SgtvbbHLrXGQ9LMIU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=contrapunctus.net; spf=pass smtp.mailfrom=league@HIDDEN; dmarc=pass header.from=<league@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1749234175; s=zoho; d=contrapunctus.net; i=league@HIDDEN; h=Message-ID:Date:Date:MIME-Version:From:From:To:To:Subject:Subject:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=HZ3+aojwFUkJJ/FjwHbq4DXrqrbDe4YYSs+zRQYpME8=; b=nlMBx2aUM3yF7VVva+ZAWzp4EkO8FJARkqmg7r8YO+jgupflVjyQ8eP/MXoYE+Vq Esqy3xwHjlwsJPlAAfEtFpdT00vIctUzYk//w4d2MZTkukVZpd5Ke4ys9N/6UavuqAi 6/BQlmavavjBwQ6IxAdfs2cM2Kh5zMTX7df5YmThtBFFJZfj8TRA6xZBzBEeRRUFTqH ta5W4Em19H4h01/54MdGMalvX8++lBdpRfEj2lXUU9sm2o6CMEAhVNUY/i+fkNfDnzf voFojH64iLRIXdo8C62xuVT/Ghgb3ZZTOmWaukDc32Ra8Y3ms2NG8egsXZei4MEhzoN +sFNvEAymw== Received: by mx.zohomail.com with SMTPS id 1749234173640214.43368423591767; Fri, 6 Jun 2025 11:22:53 -0700 (PDT) Message-ID: <fe0acbb5-2461-4fb7-be9a-7aa2b704de2d@HIDDEN> Date: Fri, 6 Jun 2025 14:22:52 -0400 MIME-Version: 1.0 User-Agent: Icedove Daily From: Christopher League <league@HIDDEN> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-Spam-Score: 0.0 (/) 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: -1.0 (-) Hi, after a recent update, I am having the same authentication issue with the brightness helper on the Mate desktop: > Authentication is needed to run > /gnu/store/ra8zy...-mate-power-manager-1.28.1/sbin/ > mate-power-backlight-helper as the super user. As noted previously on this bug report, the polkit org.mate.power.policy file refers to an absolute store path. But I think ultimately the problem may have to do with the fact that mate-power-manager APPEARS TWICE in the system closure: $ guix gc -R /gnu/store/2zf16...-system | grep mate-power /gnu/store/ra8zy...-mate-power-manager-1.28.1 /gnu/store/a14gf...-mate-power-manager-1.28.1 The brightness function keys and the power-manager itself attempt to invoke the 'ra8zy' path (and it's also in the profile's sbin), but the polkit policy file permits only the 'a14gf' path: $ readlink -f (which mate-power-backlight-helper) /gnu/store/ra8zy...-mate-power-manager-1.28.1/sbin/mate-power-backlight-helper $ pkexec /gnu/store/a14gf...-mate-power-manager-1.28.1/sbin/\ mate-power-backlight-helper --set-brightness 340 # Works perfectly $ pkexec /gnu/store/ra8zy...-mate-power-manager-1.28.1/sbin/\ mate-power-backlight-helper --set-brightness 340 # Authentication error, same as pressing brightness buttons Looking at gnu/services/desktop.scm and gnu/packages/mate.scm, it's unclear to me why mate-polkit-extension would end up with a different hash for mate-power-manager than the profile does. The effect may be reproducible just from packages, without needing to troubleshoot the services or system. What happens if we build mate-power-manager vs the mate union package: $ guix build mate-power-manager /gnu/store/a14gf...-mate-power-manager-1.28.1 That's the one in polkit. $ guix gc -R (guix build mate) | grep mate-power /gnu/store/ra8zy...-mate-power-manager-1.28.1 And that's the one in the profile. Why are they different? Does it have to do with using union-build? Apparently a similar duplication happens with xfce, though I don't know if it leads to the same authentication errors: $ guix gc -R /gnu/store/2zf16...-system | grep xfce4-power /gnu/store/8mqna...-xfce4-power-manager-4.20.0 /gnu/store/jrflf...-xfce4-power-manager-4.20.0 The exact store paths used in these examples should be reproducible from the following minimal configuration and relatively recent commit: ;;; BEGIN configuration.scm (use-modules (gnu bootloader) (gnu bootloader grub) (gnu system file-systems) (gnu services desktop)) (operating-system (host-name "mate-power-bug") (bootloader (bootloader-configuration (bootloader grub-bootloader))) (file-systems (cons (file-system (mount-point "/") (device "/dev/sda1") (type "ext4")) %base-file-systems)) (services (cons (service mate-desktop-service-type) %desktop-services))) ;; END configuration.scm $ guix time-machine -q --commit=ed5988f0d2cf14e3cc35a32e6ad91d7cbf535e2f\ -- system build configuration.scm /gnu/store/2zf16...-system
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN> Subject: bug#48265: closed (mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC)) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.48265.D48265.17511587692097.ackdone <at> debbugs.gnu.org> References: <87sejj5pdg.fsf@HIDDEN> <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> X-Gnu-PR-Message: closed 48265 X-Gnu-PR-Package: guix Date: Sun, 29 Jun 2025 01:00:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1751158806-2432-0" This is a multi-part message in MIME format... ------------=_1751158806-2432-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 29 Jun 2025 09:05:15 +0800 with message-id <87sejj5pdg.fsf@HIDDEN> and subject line Re: bug#48265: Authentication is needed to run mate-power-= backlight-helper has caused the debbugs.gnu.org bug report #48265, regarding mate-power-backlight-helper is referred to by store name instead = of polkit action (IIUC) to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 48265: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48265 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1751158806-2432-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 May 2021 20:25:00 +0000 Received: from localhost ([127.0.0.1]:39488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lekYO-0007eO-Gx for submit <at> debbugs.gnu.org; Thu, 06 May 2021 16:25:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:34584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1lekYM-0007eI-VQ for submit <at> debbugs.gnu.org; Thu, 06 May 2021 16:24:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1lekYM-0005PY-I0 for bug-guix@HIDDEN; Thu, 06 May 2021 16:24:58 -0400 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:40840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1lekYK-0003PC-5d for bug-guix@HIDDEN; Thu, 06 May 2021 16:24:58 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id 1YQr250020mfAB401YQr8R; Thu, 06 May 2021 22:24:51 +0200 Message-ID: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> Subject: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) From: Maxime Devos <maximedevos@HIDDEN> To: bug-guix@HIDDEN Date: Thu, 06 May 2021 22:24:43 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-TdMmiUY/F/MW0AxiIe4N" 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=1620332691; bh=5DKRHfDNBg5qR2CeEWNOsoxbqEphs5lvzTG/SU2S0R8=; h=Subject:From:To:Date; b=LSv/1L3jMeH4oZJ1GP7kQ3gS9kkkymOVXPDd7KvY1E6kBaaXt2M6/0Gy7YXYp8pep Tl4e74G4rBQiC8+/a5BwcpoYqjxQAHf2IfEiLB6PCZXbmBcT9piBQU6J+/Mp9KBsKb +hBvDhpnmrVYWJ4EGZlv84fhCowbu3Dy9r7dn3cgYe+hELqW+DCNtusMNpk6hn9+rY ieSHPaMVSznU8Ax7AVZmQaJT7ozYH+0EFd55ylqQdg0E9kRdiH6Ouv6kt/+/OWpxTY ncW/bT4VDqN7YcC9oAECsIDeK+62oVZ5rQY+L/9YhfeURlEMRIIkJqxJny1uJx2YJ+ V2sUjWVAtILEg== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@HIDDEN; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: -2.3 (--) --=-TdMmiUY/F/MW0AxiIe4N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Related to: https://issues.guix.gnu.org/22952 On a mate desktop (mate-desktop-service-type). FN-F9, FN-F10 (binded to =E2=80=98decrease brightness=E2=80=99 and =E2=80= =98increase brightness=E2=80=99): > Authentication is needed to run '/gnu/store/mp33h4vqdw0scdkjj0v6c3gima9wz= 8lm-mate-power-manager-1.24.2/sbin/mate-power-backlight-helper' as the supe= r user. Contents of /etc/polkit-1/actions/org.mate.power.policy: [...] <icon_name>battery</icon_name> <action id=3D"org.mate.power.backlight-helper"> <!-- SECURITY: - A normal active user on the local machine does not need permiss= ion to change the backlight brightness. --> <description>Modify the laptop brightness</description> <message>Authentication is required to modify the laptop brightness</me= ssage> <defaults> <allow_any>no</allow_any> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> </defaults> <annotate key=3D"org.freedesktop.policykit.exec.path">/gnu/store/zk4kb4= 437032swahywmgyzn55b5w5wj8-mate-power-manager-1.24.2/sbin/mate-power-backli= ght-help> </action> [...] FWIW, the following works as expected (no error message), using the store p= ath in .policy: $ pkexec /gnu/store/zk4kb4437032swahywmgyzn55b5w5wj8-mate-power-manager-1.2= 4.2/sbin/mate-power-backlight-helper --set-brightness=3D300 Maybe MATE is trying the equivalent of "pkexec /wrong/store/path/mate-power= -backlight-helper --etcetera" instead of referring to the action by name org.mate.power.backlight-helper. Note the store path is different. Now try something different $ 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-power-b= acklight-helper Now we have three different store paths so far! Not sure what the proper way to resolve this, and what causes the three dif= ferent store paths, but one way to resolve this would be referring to /run/current-system/profi= le/sbin/mate-power-backlight-helper in org.mate.power.policy (untested!). It looks like there could very well be be similar issues in (unverified): * /etc/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy * /etc/polkit-1/actions/org.gnome.gnome-system-monitor.policy * /etc/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy * /etc/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy * grep for /gnu/store/ in /etc/polkit-1/actions/*.policy Greetings, Maxime. --=-TdMmiUY/F/MW0AxiIe4N 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+4iGRcl7gUCYJRQixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tQ5AP9f0eQ7QbmZyyYbxsWTg3nG+aWP FyDRRJgD1g0lHotoWQEAk9VioOFO+RCktwrY+qSWh5sva9etg4CMVSGlNGArewk= =z1Gt -----END PGP SIGNATURE----- --=-TdMmiUY/F/MW0AxiIe4N-- ------------=_1751158806-2432-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48265-done) by debbugs.gnu.org; 29 Jun 2025 00:59:29 +0000 Received: from localhost ([127.0.0.1]:53020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uVgOE-0000XK-0l for submit <at> debbugs.gnu.org; Sat, 28 Jun 2025 20:59:28 -0400 Received: from mail.envs.net ([5.199.136.28]:59884) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <iyzsong@HIDDEN>) id 1uVgOA-0000WT-F9 for 48265-done <at> debbugs.gnu.org; Sat, 28 Jun 2025 20:59:23 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 9B1D138A4218; Sun, 29 Jun 2025 00:59:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id u4tIAdMYGjew; Sun, 29 Jun 2025 00:59:17 +0000 (UTC) Received: from localhost (unknown [112.44.106.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Sun, 29 Jun 2025 00:59:17 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 53ab29bc; Sun, 29 Jun 2025 01:05:15 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN> To: Christopher League <league@HIDDEN> Subject: Re: bug#48265: Authentication is needed to run mate-power-backlight-helper In-Reply-To: <fe0acbb5-2461-4fb7-be9a-7aa2b704de2d@HIDDEN> (Christopher League's message of "Fri, 6 Jun 2025 14:22:52 -0400") References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> <fe0acbb5-2461-4fb7-be9a-7aa2b704de2d@HIDDEN> Date: Sun, 29 Jun 2025 09:05:15 +0800 Message-ID: <87sejj5pdg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48265-done Cc: 48265-done <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: -1.0 (-) Christopher League <league@HIDDEN> writes: > Hi, after a recent update, I am having the same authentication > issue with the brightness helper on the Mate desktop: > >> Authentication is needed to run >> /gnu/store/ra8zy...-mate-power-manager-1.28.1/sbin/ >> mate-power-backlight-helper as the super user. > > As noted previously on this bug report, the polkit > org.mate.power.policy file refers to an absolute store path. > > But I think ultimately the problem may have to do with the fact that > mate-power-manager APPEARS TWICE in the system closure: > > $ guix gc -R /gnu/store/2zf16...-system | grep mate-power > /gnu/store/ra8zy...-mate-power-manager-1.28.1 > /gnu/store/a14gf...-mate-power-manager-1.28.1 Hello, this should be fixed with commit b7a8f886f50. Close, thanks. ------------=_1751158806-2432-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Maxime Devos <maximedevos@HIDDEN> Subject: bug#48265: closed (Re: bug#48265: Authentication is needed to run mate-power-backlight-helper) Message-ID: <handler.48265.D48265.17511587692097.notifdone <at> debbugs.gnu.org> References: <87sejj5pdg.fsf@HIDDEN> <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> X-Gnu-PR-Message: they-closed 48265 X-Gnu-PR-Package: guix Reply-To: 48265 <at> debbugs.gnu.org Date: Sun, 29 Jun 2025 01:00:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1751158807-2432-1" This is a multi-part message in MIME format... ------------=_1751158807-2432-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48265: mate-power-backlight-helper is referred to by store name instead of= polkit action (IIUC) which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48265 <at> debbugs.gnu.org. --=20 48265: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48265 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1751158807-2432-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48265-done) by debbugs.gnu.org; 29 Jun 2025 00:59:29 +0000 Received: from localhost ([127.0.0.1]:53020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uVgOE-0000XK-0l for submit <at> debbugs.gnu.org; Sat, 28 Jun 2025 20:59:28 -0400 Received: from mail.envs.net ([5.199.136.28]:59884) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <iyzsong@HIDDEN>) id 1uVgOA-0000WT-F9 for 48265-done <at> debbugs.gnu.org; Sat, 28 Jun 2025 20:59:23 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 9B1D138A4218; Sun, 29 Jun 2025 00:59:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id u4tIAdMYGjew; Sun, 29 Jun 2025 00:59:17 +0000 (UTC) Received: from localhost (unknown [112.44.106.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Sun, 29 Jun 2025 00:59:17 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 53ab29bc; Sun, 29 Jun 2025 01:05:15 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN> To: Christopher League <league@HIDDEN> Subject: Re: bug#48265: Authentication is needed to run mate-power-backlight-helper In-Reply-To: <fe0acbb5-2461-4fb7-be9a-7aa2b704de2d@HIDDEN> (Christopher League's message of "Fri, 6 Jun 2025 14:22:52 -0400") References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> <fe0acbb5-2461-4fb7-be9a-7aa2b704de2d@HIDDEN> Date: Sun, 29 Jun 2025 09:05:15 +0800 Message-ID: <87sejj5pdg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48265-done Cc: 48265-done <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: -1.0 (-) Christopher League <league@HIDDEN> writes: > Hi, after a recent update, I am having the same authentication > issue with the brightness helper on the Mate desktop: > >> Authentication is needed to run >> /gnu/store/ra8zy...-mate-power-manager-1.28.1/sbin/ >> mate-power-backlight-helper as the super user. > > As noted previously on this bug report, the polkit > org.mate.power.policy file refers to an absolute store path. > > But I think ultimately the problem may have to do with the fact that > mate-power-manager APPEARS TWICE in the system closure: > > $ guix gc -R /gnu/store/2zf16...-system | grep mate-power > /gnu/store/ra8zy...-mate-power-manager-1.28.1 > /gnu/store/a14gf...-mate-power-manager-1.28.1 Hello, this should be fixed with commit b7a8f886f50. Close, thanks. ------------=_1751158807-2432-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 May 2021 20:25:00 +0000 Received: from localhost ([127.0.0.1]:39488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lekYO-0007eO-Gx for submit <at> debbugs.gnu.org; Thu, 06 May 2021 16:25:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:34584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1lekYM-0007eI-VQ for submit <at> debbugs.gnu.org; Thu, 06 May 2021 16:24:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1lekYM-0005PY-I0 for bug-guix@HIDDEN; Thu, 06 May 2021 16:24:58 -0400 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:40840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>) id 1lekYK-0003PC-5d for bug-guix@HIDDEN; Thu, 06 May 2021 16:24:58 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id 1YQr250020mfAB401YQr8R; Thu, 06 May 2021 22:24:51 +0200 Message-ID: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> Subject: mate-power-backlight-helper is referred to by store name instead of polkit action (IIUC) From: Maxime Devos <maximedevos@HIDDEN> To: bug-guix@HIDDEN Date: Thu, 06 May 2021 22:24:43 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-TdMmiUY/F/MW0AxiIe4N" 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=1620332691; bh=5DKRHfDNBg5qR2CeEWNOsoxbqEphs5lvzTG/SU2S0R8=; h=Subject:From:To:Date; b=LSv/1L3jMeH4oZJ1GP7kQ3gS9kkkymOVXPDd7KvY1E6kBaaXt2M6/0Gy7YXYp8pep Tl4e74G4rBQiC8+/a5BwcpoYqjxQAHf2IfEiLB6PCZXbmBcT9piBQU6J+/Mp9KBsKb +hBvDhpnmrVYWJ4EGZlv84fhCowbu3Dy9r7dn3cgYe+hELqW+DCNtusMNpk6hn9+rY ieSHPaMVSznU8Ax7AVZmQaJT7ozYH+0EFd55ylqQdg0E9kRdiH6Ouv6kt/+/OWpxTY ncW/bT4VDqN7YcC9oAECsIDeK+62oVZ5rQY+L/9YhfeURlEMRIIkJqxJny1uJx2YJ+ V2sUjWVAtILEg== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@HIDDEN; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: -2.3 (--) --=-TdMmiUY/F/MW0AxiIe4N Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Related to: https://issues.guix.gnu.org/22952 On a mate desktop (mate-desktop-service-type). FN-F9, FN-F10 (binded to =E2=80=98decrease brightness=E2=80=99 and =E2=80= =98increase brightness=E2=80=99): > Authentication is needed to run '/gnu/store/mp33h4vqdw0scdkjj0v6c3gima9wz= 8lm-mate-power-manager-1.24.2/sbin/mate-power-backlight-helper' as the supe= r user. Contents of /etc/polkit-1/actions/org.mate.power.policy: [...] <icon_name>battery</icon_name> <action id=3D"org.mate.power.backlight-helper"> <!-- SECURITY: - A normal active user on the local machine does not need permiss= ion to change the backlight brightness. --> <description>Modify the laptop brightness</description> <message>Authentication is required to modify the laptop brightness</me= ssage> <defaults> <allow_any>no</allow_any> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> </defaults> <annotate key=3D"org.freedesktop.policykit.exec.path">/gnu/store/zk4kb4= 437032swahywmgyzn55b5w5wj8-mate-power-manager-1.24.2/sbin/mate-power-backli= ght-help> </action> [...] FWIW, the following works as expected (no error message), using the store p= ath in .policy: $ pkexec /gnu/store/zk4kb4437032swahywmgyzn55b5w5wj8-mate-power-manager-1.2= 4.2/sbin/mate-power-backlight-helper --set-brightness=3D300 Maybe MATE is trying the equivalent of "pkexec /wrong/store/path/mate-power= -backlight-helper --etcetera" instead of referring to the action by name org.mate.power.backlight-helper. Note the store path is different. Now try something different $ 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-power-b= acklight-helper Now we have three different store paths so far! Not sure what the proper way to resolve this, and what causes the three dif= ferent store paths, but one way to resolve this would be referring to /run/current-system/profi= le/sbin/mate-power-backlight-helper in org.mate.power.policy (untested!). It looks like there could very well be be similar issues in (unverified): * /etc/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy * /etc/polkit-1/actions/org.gnome.gnome-system-monitor.policy * /etc/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy * /etc/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy * grep for /gnu/store/ in /etc/polkit-1/actions/*.policy Greetings, Maxime. --=-TdMmiUY/F/MW0AxiIe4N 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+4iGRcl7gUCYJRQixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tQ5AP9f0eQ7QbmZyyYbxsWTg3nG+aWP FyDRRJgD1g0lHotoWQEAk9VioOFO+RCktwrY+qSWh5sva9etg4CMVSGlNGArewk= =z1Gt -----END PGP SIGNATURE----- --=-TdMmiUY/F/MW0AxiIe4N-- ------------=_1751158807-2432-1--
X-Loop: help-debbugs@HIDDEN Subject: bug#48265: Test breakage References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> In-Reply-To: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> Resent-From: Mathieu Othacehe <othacehe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 07 Jul 2025 08:24:02 +0000 Resent-Message-ID: <handler.48265.B48265.175187661529302 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48265 <at> debbugs.gnu.org Received: via spool by 48265-submit <at> debbugs.gnu.org id=B48265.175187661529302 (code B ref 48265); Mon, 07 Jul 2025 08:24:02 +0000 Received: (at 48265) by debbugs.gnu.org; 7 Jul 2025 08:23:35 +0000 Received: from localhost ([127.0.0.1]:60976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uYh8Q-0007cS-MS for submit <at> debbugs.gnu.org; Mon, 07 Jul 2025 04:23:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60094) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <othacehe@HIDDEN>) id 1uYh8N-0007b7-Ht for 48265 <at> debbugs.gnu.org; Mon, 07 Jul 2025 04:23:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1uYh8I-0000ZW-7b for 48265 <at> debbugs.gnu.org; Mon, 07 Jul 2025 04:23:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=nmsmXi0CKwoJWL0vVqCjSNNd0eCmBo4otO6QUwdDGO0=; b=KUkqFMVKtLMHsw 9zWspTK1fQhUClO9h3Erb9hyBaSrinaz8rKc9qEHgbi6sAkjZt05Pb1gWDziS3CgbYyBpYzXKZ8Hm xbV6haJBcFrtiSkuGRtZSoSmfvQhB/BC90SHHHivDGdXHSMLSEKpnU+lSgScHBdOF+egUY2p1quLA GPUByV3EN1+y9A8Zi8pbCJQlf2wVdTYGeFBsgSS74JQ/HmPW8PoQ/1RzUHgBTeVkrTrvKxnxzIwF1 pgpo5mDN0G3QBWV1xQ5TNz4ThU5GB+Xh+jMMQ77cbUgG+Ccyil8+CB+SLX4wfOgXz6k3vHeEPKfAI 6Y1DtExG3x0MI3h7XgZg==; From: Mathieu Othacehe <othacehe@HIDDEN> Date: Mon, 07 Jul 2025 10:23:22 +0200 Message-ID: <87bjpwo1dx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hello, Commit b7a8f886f5 breaks the gui-installed-desktop-os-encrypted test evaluation because of the following error: guix repl: error: profile contains conflicting entries for mate-polkit guix repl: error: first entry: mate-polkit@HIDDEN /gnu/store/5zr0fpmkqj39gv4scfqwlam5yiskfgr8-mate-polkit-1.28.1 guix repl: error: ... propagated from mate@HIDDEN guix repl: error: second entry: mate-polkit@HIDDEN /gnu/store/1aiy9ic6448gj88l8xllpbgk1sz628h1-mate-polkit-1.28.1 guix repl: error: ... propagated from xfce@HIDDEN Both xfce and mate are now exporting polkit, but xfce is exporting mate-polkit-for-xfce and mate is now exporting mate-polkit. As the installer test is building a profile with both polkit and xfce (see installation-target-desktop-os-for-gui-tests), we now have this new issue. Any idea how to fix that one? Thanks, Mathieu
X-Loop: help-debbugs@HIDDEN Subject: bug#48265: Test breakage Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 11 Jul 2025 09:59:02 +0000 Resent-Message-ID: <handler.48265.B48265.175222792027564 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 48265 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe <othacehe@HIDDEN> Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>, 48265 <at> debbugs.gnu.org Received: via spool by 48265-submit <at> debbugs.gnu.org id=B48265.175222792027564 (code B ref 48265); Fri, 11 Jul 2025 09:59:02 +0000 Received: (at 48265) by debbugs.gnu.org; 11 Jul 2025 09:58:40 +0000 Received: from localhost ([127.0.0.1]:34868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uaAWe-0007AU-4n for submit <at> debbugs.gnu.org; Fri, 11 Jul 2025 05:58:40 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:43897) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludovic.courtes@HIDDEN>) id 1uaAWW-00079J-Kl for 48265 <at> debbugs.gnu.org; Fri, 11 Jul 2025 05:58:33 -0400 X-CSE-ConnectionGUID: SiRaHkqWShaULFTcMCIs8A== X-CSE-MsgGUID: s9EMOnNFQ6+8BfvU28Vn9w== Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="6.16,303,1744063200"; d="scan'208";a="231333807" Received: from unknown (HELO ribbon) ([193.50.110.182]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2025 11:58:25 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> In-Reply-To: <87bjpwo1dx.fsf@HIDDEN> (Mathieu Othacehe's message of "Mon, 07 Jul 2025 10:23:22 +0200") References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@HIDDEN> <87bjpwo1dx.fsf@HIDDEN> User-Agent: mu4e 1.12.11; emacs 30.1 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Tridi 23 Messidor an 233 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Haricot Date: Fri, 11 Jul 2025 11:46:49 +0200 Message-ID: <877c0fawl2.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.2 (--) 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: -3.2 (---) Cc: =E5=AE=8B=E6=96=87=E6=AD=A6 would may otherwise miss your message. Mathieu Othacehe <othacehe@HIDDEN> writes: > Hello, > > Commit b7a8f886f5 breaks the gui-installed-desktop-os-encrypted test > evaluation because of the following error: > > guix repl: error: profile contains conflicting entries for mate-polkit > guix repl: error: first entry: mate-polkit@HIDDEN /gnu/store/5zr0fpmkqj= 39gv4scfqwlam5yiskfgr8-mate-polkit-1.28.1 > guix repl: error: ... propagated from mate@HIDDEN > guix repl: error: second entry: mate-polkit@HIDDEN /gnu/store/1aiy9ic64= 48gj88l8xllpbgk1sz628h1-mate-polkit-1.28.1 > guix repl: error: ... propagated from xfce@HIDDEN > > Both xfce and mate are now exporting polkit, but xfce is exporting > mate-polkit-for-xfce and mate is now exporting mate-polkit. > > As the installer test is building a profile with both polkit and xfce > (see installation-target-desktop-os-for-gui-tests), we now have this new > issue. > > Any idea how to fix that one? > > Thanks, > > Mathieu
Received: (at fakecontrol) by fakecontrolmessage; To: internal_control <at> debbugs.gnu.org From: Debbugs Internal Request <help-debbugs@HIDDEN> Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Sun, 13 Jul 2025 13:11:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.