Git Product home page Git Product logo

Comments (4)

falconindy avatar falconindy commented on May 6, 2024

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.

the2nd avatar the2nd commented on May 6, 2024

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.

falconindy avatar falconindy commented on May 6, 2024

I don't see any evidence here to point to that file being "open" as the cause of the umount failure. Moreover:

  1. 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).
  2. 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.

karelzak avatar karelzak commented on May 6, 2024

Thanks Dave for alll the comment. Closing..

from util-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.