Unmount is broken
Bug #1789922 reported by
Phillip Susi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks |
Fix Released
|
Unknown
|
|||
gnome-disk-utility (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
udisks2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Try to unmount or resize an ext4 partition with the gnome disks utility. It throws an error saying it can't unmount the filesystem because it isn't mounted. This is on 18.04.
Changed in udisks: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Actually it looks like it's gnome-disk-utility that does the unmount and throws the error. I can't for the life of me figure out this rat nest of code though. In gduresizedialog.c, resize() calls gdu_utils_ ensure_ unused( ) and passes it unmount_cb(), which appears to be what is throwing that error message after the unmount fails. What I can't see is where the actual unmount is done. gdu_utils_ ensure_ unused( ) appears to call g_task_new to set up a task to invoke that callback after the task itself as run, but I see no call to g_task_ run_in_ thread( ) which would actually specify the task function to run, and make it run.