-
Notifications
You must be signed in to change notification settings - Fork 46
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
multiple sessions on same host remove namespaces that are still in use #175
Comments
Could you please add more details about what that namespace is running? In theory it uses the PID to check but this might be problematic if the process forks such that the original PID isn't running anymore. |
Actually the issue seems to be two sessions run by different users on the same box. |
Before removing a namespace we could check if there are still any processes running in it. |
Was this caused by the names previously being truncated at the start, which you fixed in #177 ? |
@ak-1 yeah I think that should work, in the end I'd like to avoid shelling out but it'll do for now. |
Somewhat fixed in 0.10.1 - now the cleaning of dead namespaces will leave those which have PIDs running - but this doesn't apply for the cleaning of the created network namespace when vopono is closed. So this could still be an issue if you run two separate vopono instances on different users, to the same network namespace. |
Running a second session in parallel on the same host currently removes the namespace of the other running vopono session:
The text was updated successfully, but these errors were encountered: