Skip to content

Segmentation fault from container creation call within a nested container #20

@pevogam

Description

@pevogam

Hi,

Running this minimal script

import lxc
c = lxc.Container("taskc")
if not c.defined:
    # Create the container rootfs
    if not c.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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions