From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71969: [PATCH] Support interactive D-Bus authentication Date: Mon, 08 Jul 2024 14:50:49 +0200 Message-ID: <87h6d0oxna.fsf@gmx.de> References: <877cdzklbd.fsf@stebalien.com> <87o77a20s6.fsf@gmx.de> <87frsm1sht.fsf@gmx.de> <86v81i36vh.fsf@gnu.org> <877cdy1r2a.fsf@gmx.de> <874j91ifkj.fsf@stebalien.com> <87msmtz264.fsf@gmx.de> <87sewk2q4t.fsf@stebalien.com> <87le2coym4.fsf@gmx.de> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="874"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 71969@debbugs.gnu.org To: Steven Allen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 08 14:52:13 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sQnqn-000Aec-5N for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jul 2024 14:52:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQnqc-0000Gd-L9; Mon, 08 Jul 2024 08:52:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQnqX-0000GA-Vn for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 08:51:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQnqX-0007UI-Mk for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 08:51:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQnqc-0002xu-GE for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 08:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2024 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71969 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71969-submit@debbugs.gnu.org id=B71969.172044306611303 (code B ref 71969); Mon, 08 Jul 2024 12:52:02 +0000 Original-Received: (at 71969) by debbugs.gnu.org; 8 Jul 2024 12:51:06 +0000 Original-Received: from localhost ([127.0.0.1]:49885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQnph-0002wE-IE for submit@debbugs.gnu.org; Mon, 08 Jul 2024 08:51:05 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:40859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQnpf-0002vd-Ct for 71969@debbugs.gnu.org; Mon, 08 Jul 2024 08:51:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1720443050; x=1721047850; i=michael.albinus@gmx.de; bh=k4vXJqCvO3+dNBjRuGfSzhKiNYdCEkwDC/lNF24yN7w=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=S50yFIfZ8vVe8thExbQj3XzFwP3QOHXB2FkWlD8MQe0MyfeiGNYvstKqiWNSmUcY Fqb1LAd59AAWWanE6uWC3Z+pUXb5tB+QefsZixeJjyTaZ5Unt4MFLOfqycJztw+Fx bLRxIEH4AR0x8bjY19uCOsgfCCjqrdBsRUH1qLBdgcC2P2hYj5pyKzK2LlLNHRhg+ 3zCGhjJVes2oXAh4mbmyax3caqGk+cUMISwvQCWIRsL4nC8HXSHFAKbTy3NJSCftQ 4qwt4F+qB2gHydK07sWTfFv/2AqjXF1cvOU23z+7tjq9W+shZWdLCsqSdkgTAbOlc Y5D6PYqOX4BUk9Euyg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Msq24-1s6o2D3xrU-00rl1G; Mon, 08 Jul 2024 14:50:50 +0200 In-Reply-To: <87le2coym4.fsf@gmx.de> (Michael Albinus's message of "Mon, 08 Jul 2024 14:29:55 +0200") X-Provags-ID: V03:K1:eZy4BBXd01vuX8214Y6HivBSUqCKC/n41bDdeQPCCilyrbCKqXP OjM4neKABUV94lefPF+RQUwyLci6B/4yiT89IoN9vrnjAI3fvp+13rkauuGeU7JMHcotsTa HlLfuILzyiTPbviS6iIuZ08EIQwak1zf1g9VNHLlAXWGedk3ZP2eaKKsyYXBck1DYbXo/vS rTw5FIsr9Dj0lgmrdiQ6Q== UI-OutboundReport: notjunk:1;M01:P0:dSWV6W6ApuI=;KxZ4p58bQ5sCa6YWi7hp5xH1QvE JnpfOrbRc46vzORKta0XVWcT/7nThcN2U+DNyb+1Am0nT3kkVNWZJa0zs/8bs1DmWKDBp4DlM nDUb52jwk+XSiIjEGiFDclesXA2hZ2q8dYXnApGzJT7mzJdmPNXyiHCD07PtZZPEiQpgPJafD yijyGqbZWhQecTj/7ZptLtHOo5QBmhFWN2vMhLdFZYusXcFoVUYnAnuIiPtCoaF8soM3L+/Ju /xb+2OW3vuoV+mCp2ogIzGyCDrSNSmXNUmnlJWzZ2moR8YMXntPGj/BaYKsoKLFLwE8LQ64Sz G6ukWNbXxjRifph4ciCoRxMulKHP+bbmxTV+XZwJpIhzXfObjUYo8L9/x2GLlCex3uAGEzk6F 8n2XTxPXH18swweNrfqEw/ElQLAssUKj0meLnybQA/0NezWdw170wd/xs184qAvw5u8Ge33NT zmrz8+nBJVVHNRukx1idLMVN2xRvmkRWNyQWjg+OBjoFq2KcAHI79odZ/LI6GgYBzCYAoJ9H9 Y1oFRSWFjrHvpIm42Dt1ccjzr7L7RuAtxR5ITctAFgbS4Pme2L7Fp3cLSIlgSpNY7BhLQdQ6k sgfz59o+jsqzRCbdhfXnj8K/TsTDYBGX66OmH2y+WNpVrCt0wUI8QeEIZYQMLOQlNIAmXSR6u jwk0Zni9IXQaYFepeyimNoUUSfSsLf0IA/qmYiAkDSUoc1Qtgs31cQUnLhj6rD0lGTVRPaijC sOiE6/jVI1Kk+7o4F+3lHZx3y5ZOKmp6n9kfzu89ChvvqMnFhV2SdIP7JFHhiPE87TAk4jWp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288591 Archived-At: Michael Albinus writes: Hi Steven, >> (dbus-call-method >> :system >> "org.freedesktop.systemd1" "/org/freedesktop/systemd1" >> "org.freedesktop.systemd1.Manager" "RestartUnit" >> :authorize t >> "bluetooth.service" "replace") >> >> Assuming you have a polkit agent running (most DEs will run one by >> default, but agents like mate-polkit work pretty well standalone), >> you'll be prompted to authorize the operation and the bluetooth service >> will be restarted. > > Nice. I get an authentication prompt. > > However, on my Fedora 40 / Gnome 46 / systemd 255 system, it doesn't > matter, whether I use ':authorize t', ':authorize nil', or none of > them. Is interactive authorization enabled by default, and we don't need > to care about? Perhaps this is due to the example. I'm asked for "Authentication Required". This is not interactive authorization. Do you have another example? Best regards, Michael.