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

X-Loop: owner@bugs.devuan.org
Subject: bug#296: policykit: Unable to mount USB stick from Desktop session due to default policykit rule
Reply-To: JieFK <devuanfblo4tyf@nikel.me>, 296@bugs.devuan.org
Resent-From: JieFK <devuanfblo4tyf@nikel.me>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: owner@bugs.devuan.org
Resent-Date: Tue, 26 Feb 2019 19:18:01 UTC
Resent-Message-ID: <handler.296.B.155120820213246@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 296
X-Devuan-PR-Package: policykit
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org 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: 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>
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


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: Sun Nov 24 16:47:04 2024;