2012-10-20 22:42:43 |
Jamin W. Collins |
bug |
|
|
added bug |
2012-10-20 22:43:44 |
Jamin W. Collins |
description |
With 12.10 it looks like gnome-disk-utility has moved to using udisks2 behind the scenes. However, it appears that polkit entries were not created for most of the potential actions that can be taken within gnome-disks. Many of the actions result in an error like the following:
An error occured
Not authorized to perform operation (udisks-error-quark, 4)
I've received the above error when trying to use gnome-disks to do things such as:
- starting a benchmark of a volume
All of these actions worked fine under 12.04 (via the gnome-disks precursor palimpsest and udisks).
Digging into this, it appears that there are a total of 38 possible polkit actions and local admins are only authorized by default for a total of three of them (via 10-vendor.d/com.ubuntu.desktop.pkla):
org.freedesktop.udisks2.filesystem-mount-system
org.freedesktop.udisks2.encrypted-unlock-system
org.freedesktop.udisks2.filesystem-fstab
Contrast this with the authorization for the previous udisk activities:
org.freedesktop.udisks.filesystem-*
org.freedesktop.udisks.drive-ata-smart*
Which covers 10 actions from what I can see.
For parity with previous releases I believe the following actions also need to be authorized for local admins:
org.freedesktop.udisks2.filesystem-mount [1]
org.freedesktop.udisks2.filesystem-unmount-others [1]
org.freedesktop.udisks2.ata-smart-* [2]
I'm sure there are others as there doesn't appear to be a direct 1:1 translation for some of the permissions.
This is a regression with regard to the previous 12.04 release and what local admin users were authorized to do.
[1] - covered previously by org.freedesktop.udisks.filesystem-*
[2]- covered previously by org.freedesktop.udisks.drive-ata-smart*
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gnome-disk-utility 3.6.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 20 14:45:17 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-disk-utility
UpgradeStatus: Upgraded to quantal on 2012-10-12 (8 days ago) |
With 12.10 it looks like gnome-disk-utility has moved to using udisks2 behind the scenes. However, it appears that polkit entries were not created for most of the potential actions that can be taken within gnome-disks. Many of the actions result in an error like the following:
An error occured
Not authorized to perform operation (udisks-error-quark, 4)
I've received the above error when trying to use gnome-disks start a benchmark of a volume. This worked fine under 12.04 (via the gnome-disks precursor palimpsest and udisks).
Digging into this, it appears that there are a total of 38 possible polkit actions and local admins are only authorized by default for a total of three of them (via 10-vendor.d/com.ubuntu.desktop.pkla):
org.freedesktop.udisks2.filesystem-mount-system
org.freedesktop.udisks2.encrypted-unlock-system
org.freedesktop.udisks2.filesystem-fstab
Contrast this with the authorization for the previous udisk activities:
org.freedesktop.udisks.filesystem-*
org.freedesktop.udisks.drive-ata-smart*
Which covers 10 actions from what I can see.
For parity with previous releases I believe the following actions also need to be authorized for local admins:
org.freedesktop.udisks2.filesystem-mount [1]
org.freedesktop.udisks2.filesystem-unmount-others [1]
org.freedesktop.udisks2.ata-smart-* [2]
I'm sure there are others as there doesn't appear to be a direct 1:1 translation for some of the permissions.
This is a regression with regard to the previous 12.04 release and what local admin users were authorized to do.
[1] - covered previously by org.freedesktop.udisks.filesystem-*
[2]- covered previously by org.freedesktop.udisks.drive-ata-smart*
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gnome-disk-utility 3.6.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 20 14:45:17 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-disk-utility
UpgradeStatus: Upgraded to quantal on 2012-10-12 (8 days ago) |
|
2012-10-21 12:12:49 |
Launchpad Janitor |
gnome-disk-utility (Ubuntu): status |
New |
Confirmed |
|
2012-10-21 17:00:45 |
Jamin W. Collins |
attachment added |
|
udisk2.pkla https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1069234/+attachment/3407659/+files/udisk2.pkla |
|
2013-03-31 16:08:58 |
Florent Mertens |
bug |
|
|
added subscriber Florent Mertens |
2013-04-29 09:10:44 |
Timo Aaltonen |
gnome-disk-utility (Ubuntu): importance |
Undecided |
High |
|
2013-04-29 09:10:55 |
Timo Aaltonen |
gnome-disk-utility (Ubuntu): status |
Confirmed |
Triaged |
|
2013-04-29 13:47:21 |
Jeremy Bícha |
bug task added |
|
policykit-desktop-privileges (Ubuntu) |
|
2013-04-29 13:48:17 |
Jeremy Bícha |
bug task added |
|
udisks2 (Ubuntu) |
|
2013-05-21 09:20:07 |
Martin Pitt |
marked as duplicate |
|
1005643 |
|
2013-05-26 21:19:40 |
Launchpad Janitor |
policykit-desktop-privileges (Ubuntu): status |
New |
Confirmed |
|
2013-05-26 21:19:40 |
Launchpad Janitor |
udisks2 (Ubuntu): status |
New |
Confirmed |
|
2013-05-26 21:19:52 |
Alok Singhal |
bug |
|
|
added subscriber Alok Singhal |