-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catatonit keeps a mount directory open, preventing unmounting #28
Comments
Does this happen with catatonit v0.1.6 and later? We added can de to close all fds >=3 a while ago (see #14 and #12) and so it seems unlikely that we would have any fds open as a result. Pre-0.1.6 it was possible for us to keep files open that were passed to the container process, which looks similar to what you're describing. (FWIW, catatonit is a very simple program, it only opens Also, if no containers are running there should be no catatonit process -- catatonit is a pid1 for containers. |
It appears that
Catatonit has several objects reported by
|
I said:
I'm no longer sure about that claim regarding the order of things. What I have definitely just seen is that if the podman |
Ah, the issue is that catatonit is being run inside the mount (by podman presumably). I guess we could change directory to What does |
I'll have to check if podman is being used from the mount directory. That will require a reboot and there's a big build ongoing, so it will have to wait until tomorrow...
|
I believe your suspicions are correct. It appears that the first time (in the user-specific systemd slice) that a user runs podman it creates a "hidden" container running I will file an issue with the podman project. It seems to me that the hidden container should have its cwd in the user's home directory, or some suitable |
I just ran into the same thing on Fedora 40, I couldn't unmount a target and
Is there an issue on podman side that we can track? |
Does #33 fix the issue? |
catatonit 0.2.1 includes the fix for this. |
Debian bookworm (lite, headless) on a Raspberry Pi, using podman, although no containers are running.
We have a directory that is a cifs mount of an SMB file system (from a Mac). We could not unmount the directory because it was busy. lsof showed that a catatonit process/thread (related to podman, I believe) was holding the directory open.
I can imagine that catatonit is interested in mounted file systems, but, I would not expect catatonit to be so intrusive as to hold a file/directory open, thus prevent unmounting.
Regards
The text was updated successfully, but these errors were encountered: