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

lxc-local fails to extract tarballs containing device nodes when running as non-root #4360

Open
desultory opened this issue Oct 20, 2023 · 0 comments

Comments

@desultory
Copy link
Contributor

I'm working on rewriting this script:
main...desultory:lxc:main

It fails when importing a gentoo stage3 tarball: https://distfiles.gentoo.org/releases/amd64/autobuilds/20231015T161657Z/stage3-amd64-openrc-20231015T161657Z.tar.xz

I've already refactored most of that script; would it be a bad idea to add some flag to allow tarball extract failures?

I've also changed the script to allow no metadata archive to be supplied, since an empty one works.

Finally, I see some code for handling uids and gids - but I do not see how it's being used except for one small check. Is this interacting with lxc-create in some way? I also found that lxc-create considers ~/.config/lxc/default.conf, which is confusing because the template script imports the rest. Is there some documentation about what is supposed to handle what in the config parsing process?

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

No branches or pull requests

1 participant