[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 is mounted is when unuse_data_iterate() is called,
which sees it is mounted, and tries to unmount it, but by the time the
unmount request goes through, it has already been unmounted.


** Changed in: gnome-disk-utility (Ubuntu)
   Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789922

Title:
  Resize is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1789922/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789922

Title:
  Resize is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1789922/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 mount point for the filesystem and trying to unmount the root
( which you obviously can't do ), or unuse_data_iterate() is actually
being called on the root filesystem instead of the one you are trying to
resize.  Unfortunately I can't tell which since almost all of the data
this code is working with gdb tells me has an incomplete type.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789922

Title:
  Resize is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1789922/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 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.

** Package changed: udisks2 (Ubuntu) => gnome-disk-utility (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789922

Title:
  Resize is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1789922/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs