-
Notifications
You must be signed in to change notification settings - Fork 56
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
Alpine Template not working #43
Comments
@stgraber Is no one working on these? It seems like all issues are just being left open and no one is progressing them. Very little response in this repo. |
It seems as if the issue is here: https://github.com/lxc/lxc-templates/blob/master/templates/lxc-alpine.in#L216 |
As far as upstream is concerned, lxc-templates is no longer part of LXC proper and so no longer covered by our release process, LTS, ... That's because we've now been using distrobuilder for quite a few years with its images being available through the We do still review and merge pull requests on this repo though and usually make a release tarball for it as well as for python3-lxc whenever we tag a major release. |
Got it. Thanks. I'll make a pull request if I have any further work. But I'll probably use the existing upstream methods instead. |
Creating lxc containers will error out when trying to create character devices with "file exists". This does not appear to be necessary for most of them since they get created when you actually start the container.
@cvoges12 I'm not an expert with lxc and don't know why the build template did Then there was a separate issue of new apk keys being introduced in alpine 3.15 that aren't listed in the template (and also you had to go to a different URL to grab them), and that is fixed now too. |
Alpine started using https://git.alpinelinux.org/aports/plain/main/alpine-keys/ to publish their apk keys as of 3.15, so using the old URI will give errors about signature verification since a required key is missing Remove old key Fix lxc#43 - let lxc config create character devices Creating lxc containers will error out when trying to create character devices with "file exists". This does not appear to be necessary for most of them since they get created when you actually start the container. Signed-off-by: 4oo4 <4oo4@users.noreply.github.com>
Firstly, all other attempted templates work just fine.
Required information
LXC Outputs
lxc-start --version
: 4.0.6lxc-checkconfig
:General System Outputs
uname -a
:Linux <hostname> 5.10.0-9-amd64 lxc/lxc#1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
cat /proc/self/cgroup
:0::/user.slice/user-1000.slice/session-1.scope
cat /proc/1/mounts
:Steps to reproduce
Running
sudo lxc-create -t alpine -n test1
will output:Also, possibly related with nearly identical error: lxc/lxc#609 (yes, I know this is necromancy, but the error message makes me question its relationship)
The text was updated successfully, but these errors were encountered: