Devuan bug report logs - #296
policykit: Unable to mount USB stick from Desktop session due to default policykit rule

Package: policykit-1; Maintainer for policykit-1 is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for policykit-1 is src:policykit-1.

Reported by: JieFK <devuanfblo4tyf@nikel.me>

Date: Tue, 26 Feb 2019 19:18:01 UTC

Severity: normal

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Mark Hindley <mark@hindley.org.uk>
Subject: bug#296: marked as done (policykit: Unable to mount USB stick
 from Desktop session due to default policykit rule)
Message-ID: <handler.296.D296.167749688127705.ackdone@bugs.devuan.org>
References: <Y/ySITWlUEFZrSp1@hindley.org.uk>
 <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: 296@bugs.devuan.org
Date: Mon, 27 Feb 2023 11:22:12 +0000
Content-Type: multipart/mixed; boundary="----------=_1677496932-27715-0"
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 Feb 2023 11:21:05 +0000
with message-id <Y/ySITWlUEFZrSp1@hindley.org.uk>
and subject line Re: bug#296: policykit: Unable to mount USB stick from Desktop 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 owner@bugs.devuan.org
immediately.)


-- 
296: https://bugs.devuan.org/cgi/bugreport.cgi?bug=296
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: JieFK <devuanfblo4tyf@nikel.me>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: policykit: Unable to mount USB stick from Desktop session due to default policykit rule
Date: Tue, 26 Feb 2019 20:04:56 +0100
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 part 3 (message/rfc822, inline)]
From: Mark Hindley <mark@hindley.org.uk>
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
Date: Mon, 27 Feb 2023 11:21:05 +0000
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

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Apr 17 00:41:29 2025;