gnome-disks can't create exfat partitions on Hirsute with the Samsung provided tools.

Bug #1924888 reported by darkshadow
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udisks2 (Ubuntu)
Fix Released
High
Sebastien Bacher
Hirsute
Fix Released
Undecided
Unassigned

Bug Description

* Impact
When on Hirsute with the new Samsung provided exfat support, gnome-disks can't create new exfat partitions due to being hardcoded to use the old mkexfatfs program from the exfat-utils package. The solution is to use mkfs.exfat which is provided by the old exfat-utils as well as the new exfatprogs.

* Test Case
- connect a device to format of your choice
- $ apt install exfatprogs
- start gnome-disks
- select the device or partition to format
- select other -> exfat as filesystem type
- confirm the format
-> the device should get formatted without error

* Impact
The change is in the section defining the commands to use for exfat so limited to this filesystem. Check that changing label or formatting is working with exfatprogs but also keeps working with exfat-utils

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, indeed that's an udisks issue, I've reported it on https://github.com/storaged-project/udisks/issues/882 now

Changed in gnome-disk-utility (Ubuntu):
importance: Undecided → High
status: New → Triaged
affects: gnome-disk-utility (Ubuntu) → udisks2 (Ubuntu)
Changed in udisks2 (Ubuntu):
status: Triaged → Fix Committed
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Shouldn't the Suggests of exfat-utils be replaced with exfatprogs if a command is being used from that package?

Changed in udisks2 (Ubuntu):
status: Fix Committed → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

No, the point is that mkfs.exfat is provided by exfat-utils as well as exfatprogs, I guess udisks could add '| exfatprogs' to its suggests but that's not required for the SRU

Changed in udisks2 (Ubuntu):
assignee: nobody → Sebastien Bacher (seb128)
status: Incomplete → Fix Committed
description: updated
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello darkshadow, 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.

Changed in udisks2 (Ubuntu Hirsute):
status: New → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (udisks2/2.9.2-1ubuntu1)

All autopkgtests for the newly accepted udisks2 (2.9.2-1ubuntu1) for hirsute have finished running.
The following regressions have been reported in tests triggered by the package:

gvfs/1.47.91-1ubuntu1 (arm64)
clevis/16-1 (s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/hirsute/update_excuses.html#udisks2

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Sebastien Bacher (seb128) wrote :

The autopkgtest failures are due to flaky tests and not really issue, they worked after a retry

Using the 2.9.2-1ubuntu1 update it's possible to format an exfat partition using either exfat-utils or exfatprogs.

Setting the SRU as verification-done now

tags: added: verification-done verification-done-hirsute
removed: verification-needed verification-needed-hirsute
Revision history for this message
Chris Halse Rogers (raof) wrote :

This looks like a candidate for release into hirsute-updates, but it's not clear whether or not this is fixed in impish yet. If it's fixed in impish could you please update the bug status, and if it's not fixed in impish yet could you please fix it there? :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Hey Chris, as written on bug #1925822 for Lukasz that's on our merge list, we will try to get to it today

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks2 - 2.9.2-2ubuntu1

---------------
udisks2 (2.9.2-2ubuntu1) impish; urgency=medium

  * debian/patches/git_dosfstools_4.2.patch:
  * debian/patches/git_dosfstools_4.2-reread_part.patch:
    - cherrypick commits to improve the compatibility with dosfstools 4.2
      fix the formatting of vfat devices (lp: #1925822)
  * debian/patches/git_exfatprogs_compat.patch:
    - create exfat filesystems in a way that is compatible with exfatprogs
      (lp: #1924888)

 -- Sebastien Bacher <email address hidden> Thu, 20 May 2021 11:35:08 +0200

Changed in udisks2 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks2 - 2.9.2-1ubuntu1

---------------
udisks2 (2.9.2-1ubuntu1) hirsute; urgency=medium

  * debian/patches/git_dosfstools_4.2.patch:
  * debian/patches/git_dosfstools_4.2-reread_part.patch:
    - cherrypick commits to improve the compatibility with dosfstools 4.2
      fix the formatting of vfat devices (lp: #1925822)
  * debian/patches/git_exfatprogs_compat.patch:
    - create exfat filesystems in a way that is compatible with exfatprogs
      (lp: #1924888)

 -- Sebastien Bacher <email address hidden> Tue, 27 Apr 2021 10:16:27 +0200

Changed in udisks2 (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for udisks2 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.