Summary: | loop device removal fails in certain setups | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marc Ballarin <Ballarin.Marc> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | major | CC: | bonbons |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Revised fix |
Description
Marc Ballarin
2004-06-03 16:33:04 UTC
Created attachment 32655 [details]
Revised fix
This version avoids potentially dangerous sed replacements.
It still lacks a proper check to find out if actually mounted, but uses a hack
to prevent error.
For simple loop mounts (eg squashfs) mounted correctly by bootscripts, but with binds on them, the stopscript "forgets" to first unmount the binds before wanting to unmount the loop filesystem. Because of this it always says, it can't unmount the loop filesystems. Here the relevant part of /etc/fstab ... /home/squashfs.sqfs /mnt/myloopfs squashfs loop 0 0 /mnt/otherfs /mnt/myloopfs/somefolder bind bind 0 0 ... My baselayout version: sys-apps/baselayout-1.9.4-r6 marc is this still a problem? please reopen if so. |