Devuan logs - #296, boring messages


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule
Reply-To: JieFK <[email protected]>, [email protected]
Resent-From: JieFK <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
Resent-Date: Tue, 26 Feb 2019 19:18:01 UTC
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 296
X-Devuan-PR-Package: policykit
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] 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: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (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 <[email protected]>; Tue, 26 Feb 2019 20:04:59 +0100 (CET)
Received: from tukuyomi by devuan with local (Exim 4.92-RC6)
	(envelope-from <[email protected]>)
	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 <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
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


Message sent:


X-Loop: [email protected]
From: [email protected] (Devuan bug Tracking System)
To: JieFK <[email protected]>
Subject: bug#296: Acknowledgement (policykit: Unable to mount USB stick from Desktop session due to default policykit rule)
Message-ID: <[email protected]>
In-Reply-To: <155120789680.9015.12620722624421713389.reportbug@devuan>
References: <155120789680.9015.12620722624421713389.reportbug@devuan>
Precedence: bulk
X-Devuan-PR-Message: ack 296
X-Devuan-PR-Package: policykit
X-Devuan-PR-Keywords: 
Reply-To: [email protected]

Thank you for the problem report you have sent regarding Devuan.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers mailing list for
their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on your problem, please send
it to [email protected] (and *not* to
[email protected]).

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Devuan Bugs Owner
(administrator, Devuan bugs database)


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule
Reply-To: Mark Hindley <[email protected]>, [email protected]
Resent-From: Mark Hindley <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Mon, 20 Feb 2023 19:20:07 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
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 [email protected] 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: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (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 <[email protected]>)
	for <[email protected]>; 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; [email protected]; receiver=<UNKNOWN> 
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 <[email protected]>; 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 <[email protected]>)
	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 <[email protected]>
To: JieFK <[email protected]>, [email protected]
Message-ID: <Y/[email protected]>
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

Message received at [email protected]:


Received: (at 296) by bugs.devuan.org; 20 Feb 2023 19:19:33 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (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 <[email protected]>)
	for <[email protected]>; 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; [email protected]; receiver=<UNKNOWN> 
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 <[email protected]>; 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 <[email protected]>)
	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 <[email protected]>
To: JieFK <[email protected]>, [email protected]
Subject: Re: bug#296: policykit: Unable to mount USB stick from Desktop
 session due to default policykit rule
Message-ID: <Y/[email protected]>
References: <155120789680.9015.12620722624421713389.reportbug@devuan>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <155120789680.9015.12620722624421713389.reportbug@devuan>
X-Debbugs-No-Ack: No Thanks

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

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Mark Hindley <[email protected]>
Subject: bug#296: marked as done (policykit: Unable to mount USB stick
 from Desktop session due to default policykit rule)
Message-ID: <[email protected]>
References: <Y/[email protected]>
 <155120789680.9015.12620722624421713389.reportbug@devuan>
X-Devuan-PR-Message: closed 296
X-Devuan-PR-Package: policykit-1
X-Devuan-PR-Source: policykit-1
Reply-To: [email protected]
Date: Mon, 27 Feb 2023 11:22:12 +0000
Content-Type: multipart/mixed; boundary="----------=_1677496932-27715-0"

This is a multi-part message in MIME format...

------------=_1677496932-27715-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Mon, 27 Feb 2023 11:21:05 +0000
with message-id <Y/[email protected]>
and subject line Re: bug#296: policykit: Unable to mount USB stick from Des=
ktop session due to default policykit rule
has caused the Devuan bug report #296,
regarding policykit: Unable to mount USB stick from Desktop session due to =
default policykit rule
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
296: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D296
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1677496932-27715-0
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: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (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 <[email protected]>; Tue, 26 Feb 2019 20:04:59 +0100 (CET)
Received: from tukuyomi by devuan with local (Exim 4.92-RC6)
	(envelope-from <[email protected]>)
	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 <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
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

------------=_1677496932-27715-0
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: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (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 <[email protected]>)
	for <[email protected]>; 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; [email protected]; receiver=<UNKNOWN> 
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 <[email protected]>; 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 <[email protected]>)
	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 <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: bug#296: policykit: Unable to mount USB stick from Desktop
 session due to default policykit rule
Message-ID: <Y/[email protected]>
References: <155120789680.9015.12620722624421713389.reportbug@devuan>
 <Y/[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>

On Sun, Feb 26, 2023 at 03:21:37PM +0100, [email protected] 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
------------=_1677496932-27715-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: JieFK <[email protected]>
Subject: bug#296 closed by Mark Hindley <[email protected]> (Re:
 bug#296: policykit: Unable to mount USB stick from Desktop session due to
 default policykit rule)
Message-ID: <[email protected]>
References: <Y/[email protected]>
 <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: [email protected]
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 <[email protected]>.

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 <mark@hin=
dley.org.uk> by
replying to this email.


--=20
296: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D296
Devuan Bug Tracking System
Contact [email protected] 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: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (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 <[email protected]>)
	for <[email protected]>; 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; [email protected]; receiver=<UNKNOWN> 
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 <[email protected]>; 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 <[email protected]>)
	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 <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: bug#296: policykit: Unable to mount USB stick from Desktop
 session due to default policykit rule
Message-ID: <Y/[email protected]>
References: <155120789680.9015.12620722624421713389.reportbug@devuan>
 <Y/[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>

On Sun, Feb 26, 2023 at 03:21:37PM +0100, [email protected] 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: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (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 <[email protected]>; Tue, 26 Feb 2019 20:04:59 +0100 (CET)
Received: from tukuyomi by devuan with local (Exim 4.92-RC6)
	(envelope-from <[email protected]>)
	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 <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
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--

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 18 Jan 2025 08:39:01 UTC