[Pkg-utopia-maintainers] Bug#732195: Bug#732195: Bug#732195: udisks2: KDE usb key insertion notification fails to mount usk disks

Eric Valette eric.valette at free.fr
Sun Dec 15 15:11:24 UTC 2013


On 15/12/2013 16:02, Eric Valette wrote:

>>>>> /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;
>>>>> });
>>>>>
>>>>
>>>>> pn  policykit-1  <none>
>>>>
>>>> Using a static group membership like plugdev is not a proper fix, so
>>>> removing the patch tag. We didn't use that in udisks either.
>>>
>>> I don't care how you fix it provided you fix it without forcing me to
>>> tweak all config on all machines.
>>
>> Install policykit-1 and you should be all set.
>>
>>
> Nope.
>
> apt-get -t experimental install policykit-1
> Lecture des listes de paquets... Fait
> Construction de l'arbre des dépendances
> Lecture des informations d'état... Fait
> policykit-1 is already the newest version.
> 0 mis à jour, 0 nouvellement installés, 0 à enlever et 7 non mis à jour.
>
> -- eric
>

udisksctl mount -b /dev/sdc1 --no-user-interaction

fails because of permission without the rule,

pkcheck --action-id org.freedesktop.udisks2.filesystem-mount-system 
--process $$

also fails.

Did you try under kde really?

--eric



More information about the Pkg-utopia-maintainers mailing list