Hello Martin, or anyone else affected,

Accepted udisks2 into hirsute-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/udisks2/2.9.2-1ubuntu1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
hirsute to verification-done-hirsute. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-hirsute. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Description changed:

  * Impact
  
  Formatting devices to vfat fails in some cases due to an incompatibility
  with the new dosfstools version
  
  * Test case
  
  see comment #5
  
  or
  
  - $ sudo modprobe scsi_debug
  - check what device is assigned
  - $ sudo busctl call org.freedesktop.UDisks2 
/org/freedesktop/UDisks2/block_devices/DEVNAME org.freedesktop.UDisks2.Block 
Format 'sa{sv}' vfat 0
  (replace DEVNAME by the actual device name, 'sdc' for example)
  
  the formatting should work which you can verify by
  - $ blkid -p /dev/DEVNAME
  
  * Regression potential
  
  The changes is specific to vfat handling so that's the feature to focus
  on while testing, make sure than creating, deleting, renaming vfat
  partitions from gnome-disks is working.
  
+ [racb] An upstream "precautionary" partprobe is being added following
+ the mkfs for vfat, when it didn't do this before. This is a change in
+ behaviour that might expose a problem elsewhere.
+ 
  ----------------------------
- 
  
  There is a regression somewhere between udisks, udev, and dosfstools.
  Formatting a device with vfat hangs and fails:
  
  # blkid -p /dev/sda
  (nothing)
  
  # busctl call org.freedesktop.UDisks2 
/org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 
'sa{sv}' vfat 0
  (long pause)
  Call failed: Error synchronizing after formatting with type `vfat': Timed out 
waiting for object
  
  # blkid -p /dev/sda
  /dev/sda: PTUUID="3690494f" PTTYPE="dos"
  
  OTOH, formatting as ext4 works fine:
  
  # wipefs -a /dev/sda; wipefs -a /dev/sda
  # busctl call org.freedesktop.UDisks2 
/org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 
'sa{sv}' ext4 0
  (immediately succeeds)
  
  # blkid -p /dev/sda
  /dev/sda: UUID="8bea7475-6af5-4835-86d0-0e5b2cb5500e" VERSION="1.0" 
BLOCK_SIZE="4096" TYPE="ext4" USAGE="filesystem"
  
  I tested this to a QEMU emulated disk, but it reproduces equally well
  against a `modprobe scsi_debug` device.
  
  Package: udisks2 2.9.2-1
  DistroRelease: Ubuntu 21.04

** Changed in: udisks2 (Ubuntu Hirsute)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-hirsute

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1925822

Title:
  [21.04 regression] formatting vfat times out

Status in udisks2 package in Ubuntu:
  Fix Committed
Status in udisks2 source package in Hirsute:
  Fix Committed

Bug description:
  * Impact

  Formatting devices to vfat fails in some cases due to an
  incompatibility with the new dosfstools version

  * Test case

  see comment #5

  or

  - $ sudo modprobe scsi_debug
  - check what device is assigned
  - $ sudo busctl call org.freedesktop.UDisks2 
/org/freedesktop/UDisks2/block_devices/DEVNAME org.freedesktop.UDisks2.Block 
Format 'sa{sv}' vfat 0
  (replace DEVNAME by the actual device name, 'sdc' for example)

  the formatting should work which you can verify by
  - $ blkid -p /dev/DEVNAME

  * Regression potential

  The changes is specific to vfat handling so that's the feature to
  focus on while testing, make sure than creating, deleting, renaming
  vfat partitions from gnome-disks is working.

  [racb] An upstream "precautionary" partprobe is being added following
  the mkfs for vfat, when it didn't do this before. This is a change in
  behaviour that might expose a problem elsewhere.

  ----------------------------

  There is a regression somewhere between udisks, udev, and dosfstools.
  Formatting a device with vfat hangs and fails:

  # blkid -p /dev/sda
  (nothing)

  # busctl call org.freedesktop.UDisks2 
/org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 
'sa{sv}' vfat 0
  (long pause)
  Call failed: Error synchronizing after formatting with type `vfat': Timed out 
waiting for object

  # blkid -p /dev/sda
  /dev/sda: PTUUID="3690494f" PTTYPE="dos"

  OTOH, formatting as ext4 works fine:

  # wipefs -a /dev/sda; wipefs -a /dev/sda
  # busctl call org.freedesktop.UDisks2 
/org/freedesktop/UDisks2/block_devices/sda org.freedesktop.UDisks2.Block Format 
'sa{sv}' ext4 0
  (immediately succeeds)

  # blkid -p /dev/sda
  /dev/sda: UUID="8bea7475-6af5-4835-86d0-0e5b2cb5500e" VERSION="1.0" 
BLOCK_SIZE="4096" TYPE="ext4" USAGE="filesystem"

  I tested this to a QEMU emulated disk, but it reproduces equally well
  against a `modprobe scsi_debug` device.

  Package: udisks2 2.9.2-1
  DistroRelease: Ubuntu 21.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1925822/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to