Comments (4)
so it seems like umount ist opening /etc/issue for some reason if a bash wildcard is used and not releasing it.
Well, it's opening /etc/issue because you asked umount to do so. umount never sees the wildcard -- you've essentially run the command:
umount /mnt/issue /mnt/test2
More recent versions of umount have an -R, --recursive flag which makes this a lot simpler. It then becomes a distro problem because Ubuntu 14.04 still ships a rather old util-linux package containing an obsolete umount/mount implementation.
from util-linux.
Thanks for the answer. But is there a way to close the file without rebooting? I still have a running server where it is not possible to remove an logical volume and so an kvm instance because of this issue. :(
Dave Reisner [email protected]:
so it seems like umount ist opening /etc/issue for some reason if a bash wildcard is used and not releasing it.
Well, it's opening /etc/issue because you asked umount to do so. umount never sees the wildcard -- you've essentially run the command:
umount /mnt/issue /mnt/test2
More recent versions of umount have an -R, --recursive flag which makes this a lot simpler. It then becomes a distro problem because Ubuntu 14.04 still ships a rather old util-linux package containing an obsolete umount/mount implementation.
—
Reply to this email directly or view it on GitHub.
from util-linux.
I don't see any evidence here to point to that file being "open" as the cause of the umount failure. Moreover:
- You're not likely to be operating on the symlink itself -- umount and mount generally follow symlinks (as a symlink itself can't be a mountpoint).
- On exit, a process will always close its file descriptors.
An strace of the failing command would be a good starting spot to debug, but again, this isn't something upstream util-linux will be interested in addressing unless you can reproduce the error with a newer version of umount. The code for the program you're running no longer exists in the git repository (see 65acdc8)
from util-linux.
Thanks Dave for alll the comment. Closing..
from util-linux.
Related Issues (20)
- Multiple memory corruption problems in dmesg
- Any interest in better supporting library consumers who use CMake with find_package HOT 8
- libtool: "has not been installed" warnings and related errors for multiple libraries HOT 1
- support env. variables to define output columns in ls-like tools
- "hexdump file" displays incorrect Windows text file line termination
- lsfd/mkfds-inotify test fails in debian build environment HOT 5
- lsfd/mkfds-socketpair + mkfds-unix-stream-requiring-sockdiag tests fail on Debian buildds HOT 11
- `losetup --find` reports a lost loop device even in a container HOT 3
- run "lscpu",The value of "CPU min MHz" is 0
- run "lscpu",The value of "CPU min MHz" is 0
- Using the X-mount.idmap option in fstab HOT 2
- Use of explicit_bzero in sha1.c without checking if it is available
- dmesg --follow --json output fails to close object while waiting for the next message
- subdir mount `X-mount.subdir=` option do not work on bcachefs HOT 8
- mount(8): treat `-o $option=` as `FSCONFIG_SET_STRING` in new mount api
- fdisk: autocomplete for loading script file adds space to suggested filename
- meson: translated man pages HOT 2
- ABI change to mnt_context_is_lazy between 2.38 and 2.39, affecting nfs-utils?
- lscpu coredump
- meson: Builds blkzone despite missing linux/blkzoned.h header HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from util-linux.