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>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#296; Package policykit. (full text, mbox, link).


Acknowledgement sent to JieFK <devuanfblo4tyf@nikel.me>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

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


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#296; Package policykit. (Mon, 20 Feb 2023 19:20:07 GMT) (full text, mbox, link).


Message #8 received at 296@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: JieFK <devuanfblo4tyf@nikel.me>, 296@bugs.devuan.org
Subject: Re: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule
Date: Mon, 20 Feb 2023 19:19:23 +0000
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

bug reassigned from package 'policykit' to 'policykit-1'. Request was from Mark Hindley <mark@hindley.org.uk> to 296-submit@bugs.devuan.org. (Mon, 20 Feb 2023 19:20:08 GMT) (full text, mbox, link).


Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Mon, 27 Feb 2023 11:22:12 GMT) (full text, mbox, link).


Notification sent to JieFK <devuanfblo4tyf@nikel.me>:
bug acknowledged by developer. (Mon, 27 Feb 2023 11:22:15 GMT) (full text, mbox, link).


Message #15 received at 296-close@bugs.devuan.org (full text, mbox, reply):

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: Wed May 1 21:54:51 2024;