You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importlxcc=lxc.Container("taskc")
ifnotc.defined:
# Create the container rootfsifnotc.create("download", lxc.LXC_CREATE_QUIET, {"dist": "fedora",
"release": "32",
"arch": "i386"}):
print("Could not create container")
within a container with nesting.conf enabled results in Segmentation fault (core dumped) with LXC version 3.2.1. Restricting the possible sources shows that the create call is the reason for the segmentation fault.
Has anyone else experienced this?
The text was updated successfully, but these errors were encountered:
pevogam
changed the title
Segmentation fault from container creation call
Segmentation fault from container creation call within a nested container
Aug 26, 2020
I am not sure if this is even possible despite the lines
# Template script checksum (SHA-1): a4e52f9f5b11c05d7c29b3fcb4644995b68f219e
# For additional config options, please look at lxc.container.conf(5)
# Uncomment the following line to support nesting containers:
lxc.include = /usr/share/lxc/config/nesting.conf
so perhaps it is not supported. In any case, it would be probably be good if the exit is more graceful than segfaulting.
Hi,
Running this minimal script
within a container with
nesting.conf
enabled results inSegmentation fault (core dumped)
with LXC version 3.2.1. Restricting the possible sources shows that the create call is the reason for the segmentation fault.Has anyone else experienced this?
The text was updated successfully, but these errors were encountered: