From unknown Fri Mar 29 14:58:42 2024 X-Loop: owner@bugs.devuan.org Subject: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule Reply-To: JieFK , 296@bugs.devuan.org Resent-From: JieFK Resent-To: devuan-bugs@lists.dyne.org Resent-CC: owner@bugs.devuan.org Resent-Date: Tue, 26 Feb 2019 19:18:01 UTC Resent-Message-ID: Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: report 296 X-Devuan-PR-Package: policykit X-Devuan-PR-Keywords: Received: via spool by submit@bugs.devuan.org id=B.155120820213246 (code B ref -1); Tue, 26 Feb 2019 19:18:01 UTC Received: (at submit) by bugs.devuan.org; 26 Feb 2019 19:10:02 +0000 Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Tue, 26 Feb 2019 20:10:02 +0100 (CET) Received: from devuan (20-4-190-109.dsl.ovh.fr [109.190.4.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 36B13F60B65 for ; Tue, 26 Feb 2019 20:04:59 +0100 (CET) Received: from tukuyomi by devuan with local (Exim 4.92-RC6) (envelope-from ) id 1gyi2D-0002Oj-4r; Tue, 26 Feb 2019 20:04:57 +0100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: JieFK To: Devuan Bug Tracking System Message-ID: <155120789680.9015.12620722624421713389.reportbug@devuan> X-Mailer: reportbug 7.5.1+devuan1 Date: Tue, 26 Feb 2019 20:04:56 +0100 X-Spam-Status: No, score=1.3 required=5.0 tests=FSL_HELO_NON_FQDN_1, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=disabled version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: policykit Severity: normal Dear Maintainer, Plugging an USB stick makes polkit ask for root password. Manually modifying rules in /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy works -- ie USB stick is mounted seamlessly (no user/root passwd asked) However, copying this above file to /etc/polkit-1/actions/ --to make modification survive updates-- does not work. Also, instead of modifying org.freedesktop.UDisks2.policy, I found this working solution here : https://dev1galaxy.org/viewtopic.php?pid=7848#p7848 -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux beowulf/ceres Release: 10 Codename: n/a Architecture: x86_64 Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled From unknown Fri Mar 29 14:58:42 2024 X-Loop: owner@bugs.devuan.org Subject: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule Reply-To: Mark Hindley , 296@bugs.devuan.org Resent-From: Mark Hindley Resent-To: devuan-bugs@lists.dyne.org Resent-CC: devuan-dev@lists.dyne.org X-Loop: owner@bugs.devuan.org Resent-Date: Mon, 20 Feb 2023 19:20:07 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: followup 296 X-Devuan-PR-Package: policykit X-Devuan-PR-Keywords: References: <155120789680.9015.12620722624421713389.reportbug@devuan> <155120789680.9015.12620722624421713389.reportbug@devuan> Received: via spool by 296-submit@bugs.devuan.org id=B296.16769207737096 (code B ref 296); Mon, 20 Feb 2023 19:20:07 +0000 Received: (at 296) by bugs.devuan.org; 20 Feb 2023 19:19:33 +0000 Delivered-To: bugs@devuan.org Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for (single-drop); Mon, 20 Feb 2023 19:19:33 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id KhB3ML3H82MYHQAAmSBk0A (envelope-from ) for ; Mon, 20 Feb 2023 19:19:25 +0000 Received: by email.devuan.org (Postfix, from userid 109) id BCF5890; Mon, 20 Feb 2023 19:19:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver= Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 76B4525 for <296@bugs.devuan.org>; Mon, 20 Feb 2023 19:19:25 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from ) id 1pUBh6-0006pP-0K; Mon, 20 Feb 2023 19:19:24 +0000 Received: (nullmailer pid 18357 invoked by uid 1000); Mon, 20 Feb 2023 19:19:23 -0000 Date: Mon, 20 Feb 2023 19:19:23 +0000 From: Mark Hindley To: JieFK , 296@bugs.devuan.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <155120789680.9015.12620722624421713389.reportbug@devuan> Control: reassign -1 policykit-1 Hi, Sorry for the delya with this. On Tue, Feb 26, 2019 at 08:04:56PM +0100, JieFK wrote: > Package: policykit > Severity: normal > > Dear Maintainer, > > Plugging an USB stick makes polkit ask for root password. Did/do have an elogind or consolekit based system? Thanks Mark From unknown Fri Mar 29 14:58:42 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: owner@bugs.devuan.org From: "Devuan bug Tracking System" To: JieFK Subject: bug#296 closed by Mark Hindley (Re: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule) Message-ID: References: <155120789680.9015.12620722624421713389.reportbug@devuan> X-Devuan-PR-Message: they-closed 296 X-Devuan-PR-Package: policykit-1 X-Devuan-PR-Source: policykit-1 Reply-To: 296@bugs.devuan.org Date: Mon, 27 Feb 2023 11:22:15 +0000 Content-Type: multipart/mixed; boundary="----------=_1677496935-27715-1" This is a multi-part message in MIME format... ------------=_1677496935-27715-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the policykit-1 package: #296: policykit: Unable to mount USB stick from Desktop session due to defa= ult policykit rule It has been closed by Mark Hindley . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mark Hindley by replying to this email. --=20 296: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D296 Devuan Bug Tracking System Contact owner@bugs.devuan.org with problems ------------=_1677496935-27715-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 296-close) by bugs.devuan.org; 27 Feb 2023 11:21:21 +0000 Return-Path: Delivered-To: bugs@devuan.org Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for (single-drop); Mon, 27 Feb 2023 11:21:17 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id 4apvAyuS/GMGcgAAmSBk0A (envelope-from ) for ; Mon, 27 Feb 2023 11:21:15 +0000 Received: by email.devuan.org (Postfix, from userid 109) id D49AE92; Mon, 27 Feb 2023 11:21:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver= Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 4F8FC25 for <296-close@bugs.devuan.org>; Mon, 27 Feb 2023 11:21:07 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from ) id 1pWbZ4-00081C-EI; Mon, 27 Feb 2023 11:21:06 +0000 Received: (nullmailer pid 5150 invoked by uid 1000); Mon, 27 Feb 2023 11:21:05 -0000 Date: Mon, 27 Feb 2023 11:21:05 +0000 From: Mark Hindley To: devuanfblo4tyf@nikel.me Cc: 296-close@bugs.devuan.org Subject: Re: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule Message-ID: References: <155120789680.9015.12620722624421713389.reportbug@devuan> <55adc490-c4f2-86d8-cf4d-f756da1091b5@nikel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55adc490-c4f2-86d8-cf4d-f756da1091b5@nikel.me> On Sun, Feb 26, 2023 at 03:21:37PM +0100, devuanfblo4tyf@nikel.me wrote: > Now I can't tell you if the system is elogind or consolekit based > system, sorry. Also by now, I don't have the laptop anymore. > Furthermore my recent problem was that I was "not authorized to mount > the USB stick", rather than "Ask for root passwd" (on recent KDE Plasma > desktop) > Sorry I can't help you more with this I am not sure there is anything more we can do with this report then. There isn't enough information to debug it and if you no longer have access... So I propose to close. If it recurs and you can provide more information, do reopen. For future reference dpkg -l | grep 'elogind\|consolekit' will identify which session management a system is using. Thanks Mark ------------=_1677496935-27715-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 26 Feb 2019 19:10:02 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Tue, 26 Feb 2019 20:10:02 +0100 (CET) Received: from devuan (20-4-190-109.dsl.ovh.fr [109.190.4.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 36B13F60B65 for ; Tue, 26 Feb 2019 20:04:59 +0100 (CET) Received: from tukuyomi by devuan with local (Exim 4.92-RC6) (envelope-from ) id 1gyi2D-0002Oj-4r; Tue, 26 Feb 2019 20:04:57 +0100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: JieFK To: Devuan Bug Tracking System Subject: policykit: Unable to mount USB stick from Desktop session due to default policykit rule Message-ID: <155120789680.9015.12620722624421713389.reportbug@devuan> X-Mailer: reportbug 7.5.1+devuan1 Date: Tue, 26 Feb 2019 20:04:56 +0100 X-Spam-Status: No, score=1.3 required=5.0 tests=FSL_HELO_NON_FQDN_1, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=disabled version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: policykit Severity: normal Dear Maintainer, Plugging an USB stick makes polkit ask for root password. Manually modifying rules in /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy works -- ie USB stick is mounted seamlessly (no user/root passwd asked) However, copying this above file to /etc/polkit-1/actions/ --to make modification survive updates-- does not work. Also, instead of modifying org.freedesktop.UDisks2.policy, I found this working solution here : https://dev1galaxy.org/viewtopic.php?pid=7848#p7848 -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux beowulf/ceres Release: 10 Codename: n/a Architecture: x86_64 Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled ------------=_1677496935-27715-1--