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)
- meson: Fails to compile when zlib.h is missing
- meson: Missing sys/vfs.h header when compiling libmount on macOS HOT 3
- meson: The linker flag --version-script is not supported on macOS
- How to update util-linux to 2.40 on Ubuntu 16.04 HOT 4
- util-linux-script 2.37.4 left after ssh session disconnected HOT 2
- dmesg -H output broken HOT 7
- 2.40 inconsistent smartcols output HOT 1
- swapoffโs man page makes it seem like swapoff has more options than it actually does HOT 2
- meson: Support building on Windows without sh HOT 10
- lsns: failure of lsns/ioctl_ns test case in the stable branch
- hexdump Europe/London tzfile(5) not advancing offset pointer across many line format file
- Heap-buffer-overflow in `findmnt` when showing the `SOURCES` column HOT 1
- Regression: umount exits non null due to restrictive permissions of utab.lock in 2.40 HOT 1
- lsns 2.39.2 segfaults enumerating network namespaces created by `ip` HOT 3
- getopt: '-?' short option is not supported
- 2.40 make error HOT 4
- scriptreplay: add interactive playback controls for position and speed HOT 1
- Column (libsmartcols.so) permahangs with certain inputs HOT 1
- uuid_generate_time_safe generates same safe UUIDs after a fork HOT 7
- Build failure with 2.40.1 HOT 3
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.