Skip to content
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

PID watch does not work with containers #13

Open
muzammil786 opened this issue Dec 5, 2022 · 0 comments
Open

PID watch does not work with containers #13

muzammil786 opened this issue Dec 5, 2022 · 0 comments

Comments

@muzammil786
Copy link

OpenSLP's PID (process ID) watching capability that removes the stale endpoints if the process which published the endpoint dies does not work if the process is inside the containers. If the process is running inside a container, the PID inside the container is different from the PID on the host due to the container running in its own PID namespace. SLPD requires the actual PID (the corresponding host PID) of the local PID inside the container for its PID watching capability to function properly.

This problem can be fixed if OpenSLP reports on PID namespace along with the PID. Then SLPD can look for the corresponding host PID given the two parameters and use the host PID for its watching capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant