:: [devuan-dev] bug#296: marked as don…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Devuan bug Tracking System
Päiväys:  
Vastaanottaja: Mark Hindley
Aihe: [devuan-dev] bug#296: marked as done (policykit: Unable to mount USB stick from Desktop session due to default policykit rule)
Your message dated Mon, 27 Feb 2023 11:21:05 +0000
with message-id <Y/ySITWlUEFZrSp1@???>
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@???
immediately.)


--
296: https://bugs.devuan.org/cgi/bugreport.cgi?bug=296
Devuan Bug Tracking System
Contact owner@??? with problems
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
On Sun, Feb 26, 2023 at 03:21:37PM +0100, devuanfblo4tyf@??? 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