[Bug 1060484] Re: When using gparted com.canonical.Unity.Devices blacklist is set back to Default of []

Curtis Gedak gedakc at gmail.com
Tue Jun 18 16:43:00 UTC 2013


The script that invokes GParted uses hal-lock, udisks, devkit-disks, and
most recently systemctl to exclusively lock or otherwise prevent
automounting on disk devices.

The history of these tools being installed by default in Ubuntu appears
to be:

-  Uses HAL (Hardware Abstraction Layer) at least from 10.04 to 10.10
-  Uses udisks from 11.04 to 12.04
-  Uses udsisk2 from 12.10 to 

Note that udisks2 does not appear to provide a facility to exclusively
lock the device or otherwise prevent automounting.

Note also that Fedora starting with version 15 uses systemd to perform
this task.  However systemd is installed by default in Ubuntu.

Is there some other way to acquire an exclusive device lock or otherwise
prevent automounting in Ubuntu 12.10+?

If so then that might be a way to prevent this blacklist problem from
occuring.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1060484

Title:
  When using gparted  com.canonical.Unity.Devices blacklist is set back
  to Default of []

Status in Unity:
  Invalid
Status in “gparted” package in Ubuntu:
  Invalid
Status in “parted” package in Ubuntu:
  In Progress
Status in “unity” package in Ubuntu:
  Confirmed

Bug description:
  Test Case:
  blacklist one or more internal volumes in Unity (r. click on launcher icon > Unlock from Launcher
  confirm the volume(s) are now in the com.canonical.Unity.Devices blacklist
  Start gparted, drive(s) will be added to the launcher, blacklist will be reset back to []

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: gparted 0.12.1-1
  ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
  Uname: Linux 3.5.0-16-generic x86_64
  ApportVersion: 2.6.1-0ubuntu1
  Architecture: amd64
  Date: Tue Oct  2 18:10:31 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gparted
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1060484/+subscriptions




More information about the foundations-bugs mailing list