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

lxcfs: fix readdir for procfs subtree #661

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

mihalicyn
Copy link
Member

@mihalicyn mihalicyn commented Oct 2, 2024

After #640 was merged we've got the entire
procfs subtree unavailable.

procfs can not be converted LXCFS_TYPE_PROC check in readdir because we don't have a designated enum lxcfs_virt_t-typed value for procfs directory. We can not introduce it too as it will break live upgrades of liblxcfs.

Fixes: #640

After lxc#640 was merged we've got the entire
procfs subtree unavailable.

Fixes: lxc#640
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
@mihalicyn
Copy link
Member Author

Added a test from #662

@stgraber stgraber merged commit c303ae2 into lxc:main Oct 2, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants