From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +L5ADSbjlGB5uAAAgWs5BA (envelope-from ) for ; Fri, 07 May 2021 08:50: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 mp2 with LMTPS id 6ALfCCbjlGBlGQAAB5/wlQ (envelope-from ) for ; Fri, 07 May 2021 06:50: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 8BA2D155F0 for ; Fri, 7 May 2021 08:50:13 +0200 (CEST) Received: from localhost ([::1]:49222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leuJO-0006Tf-Ra for larch@yhetil.org; Fri, 07 May 2021 02:50:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leuJH-0006TY-3b for bug-guix@gnu.org; Fri, 07 May 2021 02:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leuJG-0004wm-Sk for bug-guix@gnu.org; Fri, 07 May 2021 02:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leuJG-0006x2-Oo for bug-guix@gnu.org; Fri, 07 May 2021 02:50:02 -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: Fri, 07 May 2021 06:50:02 +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: 48265@debbugs.gnu.org Received: via spool by 48265-submit@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 ) id 1leuIN-0006wY-FF for submit@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 ) id 1leuIL-0006wS-C7 for 48265@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@telenet.be> From: Maxime Devos Date: Fri, 07 May 2021 08:48:57 +0200 In-Reply-To: <09353b1319b47b42cb28a477af12740b9175d940.camel@telenet.be> References: <28db052034ca1e3029bb3dc0aa9f87de2af6bdec.camel@telenet.be> <09353b1319b47b42cb28a477af12740b9175d940.camel@telenet.be> 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-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=1620370213; 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: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=25/LeuYrVZC96KQofkqPO8LbGR8KT/WEeMgCYu5qOAs=; b=dFSdmgWDn9t8Ux28GbQtjp+zyHZKgej38WJ2z30SicNLpCs+96Vt4DhDDTdSMUD1zEyc4J e3IM2kSPNb6HBPqTttVYAkyoOFUPSUadoVIIrWiLXRg+5mGKb54stx78YzyWpnXsGcQW/d YaPCSKqI46J9+guuh/Kbu5rxXv0dY3Q6bNA4GvvAPF7hyVmN3QuFfOx289+gfg/EL1DGIN VXviO0nY/uGdl7TgDGN9jnGa2+HWwj5XHun1tRGcEp8Rg5Kc7Kz3VzOtAThY/C0NqqIG8N LieArrNe+WGw8IvstU/Kh2pN6duE+UNZQzhlfjhm4iijwli3aQAyAE5P7JNusA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620370213; a=rsa-sha256; cv=none; b=KCO66hzoaqq1J5JC7AOg65WMhQV+4lxmwm32iTj+gg5uFdP2wM8c1Cy/DQfAPBrRPvlMrY ppSyNVOixpU8QcU2daebpgr0DVZCwjRy35DCla6asU0012C1d/XX91G2dbi7UpGeCV7+Sb Hre9nj2wBf1H8atMdp+LlBtjYRFxJks0fm4IDWrtxcx26BSJcdC6Km4TSMqt6Na/fRWvuI 6NCecL8gGN4gK2usIQd2P13VAnWokBXISHzlV0vtdFzu8TG1xdSTZ5OUvhBIxOmOd2P8qR mfb2C5h/SeV7o/ae+goUceAzbTckSKhzMoJztdligDd7m3f/9McD9PhLFEc27A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=bFljXZmn; 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=bFljXZmn; 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: 8BA2D155F0 X-Spam-Score: -1.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: Aw5KfUyV0hEA --=-+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--