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

Package: policykit; Reported by: JieFK <devuanfblo4tyf@nikel.me>; dated Tue, 26 Feb 2019 19:18:01 UTC; Maintainer for policykit is (unknown).

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 26 Feb 2019 19:10:02 +0000
Return-Path: <devuanfblo4tyf@nikel.me>
Delivered-To: devuanbugs@dyne.org
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 <submit@bugs.devuan.org>; Tue, 26 Feb 2019 20:04:59 +0100 (CET)
Received: from tukuyomi by devuan with local (Exim 4.92-RC6)
	(envelope-from <devuanfblo4tyf@nikel.me>)
	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 <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
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


Acknowledgement sent to JieFK <devuanfblo4tyf@nikel.me>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#296; Package policykit. Full text available.

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 <owner@bugs.devuan.org>.
Last modified: Sun, 5 Jul 2020 16:39:01 UTC