[Pkg-utopia-maintainers] Bug#652993: udisks: Device or resource busy when creating logical partition

Marcin Szewczyk, Wodny debian.bugreport at wodny.org
Thu Dec 22 15:54:54 UTC 2011


Package: udisks
Version: 1.0.4-2
Severity: normal
Tags: patch

When creating a logical partition right after creating the extended one, udisks
(udisks-helper-create-partition) returns with a "Device or resource busy"
error.

Forcing the kernel to reread the partition table right after extended partition
creation seems to do the trick.

Here is the thread, which led me to this conclusion:
http://www.fedoraforum.org/forum/showthread.php?t=267085

And a similar bug in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/666038

A proposed (tested to some extent) patch attached.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'stable-updates'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udisks depends on:
ii  dbus                   1.4.16-1
ii  libatasmart4           0.18-1
ii  libc6                  2.13-21
ii  libdbus-1-3            1.4.16-1
ii  libdbus-glib-1-2       0.98-1
ii  libdevmapper1.02.1     2:1.02.67-2
ii  libglib2.0-0           2.30.2-4
ii  libgudev-1.0-0         175-3
ii  liblvm2app2.2          2.02.88-2
ii  libparted0debian1      2.3-8
ii  libpolkit-gobject-1-0  0.103-1
ii  libsgutils2-2          1.32-1
ii  libudev0               175-3
ii  udev                   175-3

Versions of packages udisks recommends:
ii  dosfstools           3.0.12-1
ii  eject                2.1.5+deb1+cvs20081104-9
ii  hdparm               9.32-1
ii  mtools               4.0.12-1
ii  ntfs-3g [ntfsprogs]  1:2011.10.9AR.1-1
ii  policykit-1          0.103-1

Versions of packages udisks suggests:
pn  cryptsetup     2:1.3.0-3
pn  mdadm          3.2.2-1
pn  reiserfsprogs  <none>
pn  xfsprogs       <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-BLKRRPART-instead-of-BLKPG-for-extended-partitions.patch
Type: text/x-diff
Size: 2899 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20111222/93193ce0/attachment.patch>


More information about the Pkg-utopia-maintainers mailing list