[Bug 1789922] Re: Resize is broken

2018-09-10 Thread Phillip Susi
Nevermind, it still doesn't work on the right disk. While the disk is not mounted initially, by the time unuse_data_iterate() is called, it has been mounted for some reason. I'm thinking there is a race condition where something mounts the fs temporarily and unmounts it, and during the time it

[Bug 1789922] Re: Resize is broken

2018-09-10 Thread Phillip Susi
Man this cold must really be messing with my head. I had the wrong drive selected and actually was trying to resize the root partition. ** Changed in: gnome-disk-utility (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Desktop

[Bug 1789922] Re: Resize is broken

2018-09-10 Thread Phillip Susi
So I ran it under gdb and set a breakpoint to find how unmount_cb() is being called and traced the problem back up to unuse_data_iterate(). It calls gdu_utils_is_in_use_full(), which incorrectly identifies the mount point of the filesystem as "/". So it looks like either it is finding the wrong

[Bug 1789922] Re: Resize is broken

2018-08-30 Thread Phillip Susi
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