Your message dated Sun, 15 Dec 2013 22:09:28 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#732195: Bug#732195: udisks2: 
KDE usb key insertion notification fails to mount usk disks
has caused the Debian Bug report #732195,
regarding udisks2: KDE usb key insertion notification fails to mount usk disks
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 [email protected]
immediately.)


-- 
732195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732195
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: udisks2
Version: 2.1.1-1
Severity: important
Tags: patch

I recently discovered after installing udisk2 that all my kde setup (various
machines) fails to mount usb keys. After googling a bit, this is due to
useage of policykit permissions that are not compatible with previous
setup where being member of plugdev group enabled to mount usb keys. Attached
is a pach to fix it.

/etc/polkit-1/rules.d/10-mount.rules

polkit.addRule (function (a,s) {
        if (a.id.indexOf ('org.freedesktop.udisks2.') == 0 && 
s.isInGroup("plugdev"))
                return polkit.Result.YES;
});

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10.24 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages udisks2 depends on:
ii  dbus                   1.7.8-1
ii  libacl1                2.2.52-1
ii  libatasmart4           0.19-3
ii  libc6                  2.18-0experimental0
ii  libglib2.0-0           2.38.2-1
ii  libgudev-1.0-0         204-5
ii  libpolkit-agent-1-0    0.112-2
ii  libpolkit-gobject-1-0  0.112-2
ii  libudisks2-0           2.1.1-1
ii  udev                   204-5

Versions of packages udisks2 recommends:
ii  dosfstools   3.0.24-1
ii  eject        2.1.5+deb1+cvs20081104-13
ii  ntfs-3g      1:2013.1.13AR.3-1
pn  policykit-1  <none>

Versions of packages udisks2 suggests:
pn  btrfs-tools     <none>
ii  cryptsetup-bin  2:1.6.1-1
pn  exfat-utils     <none>
pn  mdadm           <none>
pn  reiserfsprogs   <none>
pn  xfsprogs        <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Am 15.12.2013 16:48, schrieb Eric Valette:
> On 15/12/2013 16:31, Michael Biebl wrote:
> 
>>> policykit-1 is already the newest version.
> 
>> I don't speak French.
> 
> I assumed that but this was in english.
> 
>> That said, the information above suggested that you don't have
>> policykit-1 installed. So something doesn't add up here.
>> Please post the version of policykit-1 you have installed
> 
> dpkg -s policykit-1
> 
> ...
> Version: 0.112-2
> ...
>>
> 
>> and the output of ck-lists-sessions and
> 
> Rough translation from French:
> 
> ck-lists-sessions
> bash: ck-lists-sessions : unknown command
> 
> dpkg -S ck-lists-sessions
> dpkg-query: unknown path
> 
> Even searching by file name in debian packages pages returns nothing
> 
>> loginctl lists-sessions
> 
> loginctl list-sessions
>    SESSION        UID USER             SEAT
> 
> 0 sessions listed.
> 
>> loginct show-session <session-number>
>>
>> your session number is printed via loginctl lists-sessions
> 
> The session is started by kdm not manually.
> 

There you have your problem:
You use policykit-1 from experimental which uses systemd-logind as
backend but you don't have a logind session registered.

An educated guess is, that you don't have libpam-systemd installed
(which is installed by default via recommends).

Closing.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to