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

Unable to exec into container after re-adding a scope rule #1597

Closed
seanvaleo opened this issue Jul 20, 2023 · 4 comments
Closed

Unable to exec into container after re-adding a scope rule #1597

seanvaleo opened this issue Jul 20, 2023 · 4 comments
Labels
bug Something isn't working edge
Milestone

Comments

@seanvaleo
Copy link
Collaborator

Reproduction steps:

  • add a scope rule
  • start a new container
  • remove the rule, (save), re-add it, (save)
docker exec -it ubuntu-2 ls
OCI runtime exec failed: exec failed: unable to start container process: open /dev/ptmx: no such file or directory: unknown
docker exec -it ubuntu-2 /bin/bash
OCI runtime exec failed: exec failed: unable to start container process: open /dev/ptmx: no such file or directory: unknown
@seanvaleo seanvaleo added the bug Something isn't working label Jul 20, 2023
@seanvaleo seanvaleo changed the title Unable to exec into existing container after re-adding a scope rule Unable to exec into container after re-adding a scope rule Jul 20, 2023
@seanvaleo
Copy link
Collaborator Author

maybe related: docker/cli#2067

@seanvaleo
Copy link
Collaborator Author

It's highly possible that we are configuring the container as a "new container" , then configuring the container as an "existing container", which would result in duplicate mounts etc.

@seanvaleo
Copy link
Collaborator Author

We intend to resolve this by preventing mounts from being added when they already exist

@seanvaleo seanvaleo added the edge label Jul 25, 2023
@ricksalsa ricksalsa added this to the 1.4.2 milestone Jul 25, 2023
@seanvaleo
Copy link
Collaborator Author

We have been unable to reproduce this ; and have proven that duplicate mounts were not the cause of the issue. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working edge
Projects
None yet
Development

No branches or pull requests

2 participants