all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Calibre
Date: Mon, 16 Feb 2015 23:23:50 -0500	[thread overview]
Message-ID: <87pp9988tl.fsf@netris.org> (raw)
In-Reply-To: <20150215102044.GA15074@debian> (Andreas Enge's message of "Sun, 15 Feb 2015 11:20:44 +0100")

Andreas Enge <andreas@enge.fr> 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 <http://www.freedesktop.org/wiki/Software/polkit/>
(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

  reply	other threads:[~2015-02-17  4:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-15 10:20 Calibre Andreas Enge
2015-02-17  4:23 ` Mark H Weaver [this message]
2015-02-17 20:21   ` Calibre Andreas Enge
2015-02-17  5:02 ` Calibre Mark H Weaver
2015-02-17 20:30   ` Calibre Andreas Enge
2015-02-17 21:35     ` Calibre Mark H Weaver
2015-02-17 21:50       ` Calibre Andreas Enge
2015-02-17 22:09         ` Calibre Mark H Weaver
2015-02-17 22:17     ` Calibre Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pp9988tl.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.