From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Calibre Date: Mon, 16 Feb 2015 23:23:50 -0500 Message-ID: <87pp9988tl.fsf@netris.org> References: <20150215102044.GA15074@debian> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNZhT-0003py-Te for guix-devel@gnu.org; Mon, 16 Feb 2015 23:23:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNZhQ-0001YC-Ol for guix-devel@gnu.org; Mon, 16 Feb 2015 23:23:55 -0500 Received: from world.peace.net ([50.252.239.5]:52842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNZhQ-0001Y8-K2 for guix-devel@gnu.org; Mon, 16 Feb 2015 23:23:52 -0500 In-Reply-To: <20150215102044.GA15074@debian> (Andreas Enge's message of "Sun, 15 Feb 2015 11:20:44 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge writes: > the attached file adds the e-book management program calibre. Eventually, > I will put it into ebook.scm. Comments are welcome, in particular concerning > the xdg issue. > > The program works for downloading and reading ebooks, but it has problems > with mounting my attached e-reader. The problem seems to be that the guix > calibre is not allowed to connect to my debian dbus: > Udisks mount call failed: > Traceback (most recent call last): [...] > DBusException: org.freedesktop.UDisks2.Error.NotAuthorized: Not authorized to perform operation (polkit authority not available and caller is not uid 0) It's not that you're not allowed to connect to Debian D-Bus, but rather that D-Bus (or UDisks2) thinks you are not authorized to mount a disk. My knowledge of this is weak, but I guess the way this works on modern systems is that (Policy Kit) enables an authorization scheme where whoever is logged in at the physical console is also granted access to mount disks, use audio/video devices, etc. I'm not sure why it's not working here, but I guess it might be because we lack polkit in Guix. Mark