← Back to team overview

kernel-packages team mailing list archive

[Bug 1437414] Re: kernel unable to unmount loopbacks & leaks them

 

just run the code:
$ ./minimal.sh

note: using the utopic kernel 3.16.0-33

** Attachment added: "minimal.sh"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1437414/+attachment/4358002/+files/minimal.sh

** Description changed:

  run the attached script which:
-  - creates a disk image
-  - creates an ext2 fs in the middle of it
-  - mounts that ext2 fs via loopback
-  - deploys & runs some code in that mount
-  - tries to unmount it
+  - creates a disk image
+  - creates an ext2 fs in the middle of it
+  - mounts that ext2 fs via loopback
+  - deploys & runs some code in that mount
+  - tries to unmount it
  
  the kernel ends up saying the mount is busy (it's not) and it's not
  possible to detach the loopback (probably because even with a lazy
  unmount, the kernel holds references to it)
+ 
+ this is the utopic kernel 3.16.0-33

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

Title:
  kernel unable to unmount loopbacks & leaks them

Status in linux package in Ubuntu:
  New

Bug description:
  run the attached script which:
   - creates a disk image
   - creates an ext2 fs in the middle of it
   - mounts that ext2 fs via loopback
   - deploys & runs some code in that mount
   - tries to unmount it

  the kernel ends up saying the mount is busy (it's not) and it's not
  possible to detach the loopback (probably because even with a lazy
  unmount, the kernel holds references to it)

  this is the utopic kernel 3.16.0-33

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


References