Skip to content

[Error] selinux and tmpfs mount issue #1730

@SpiderUnderUrBed

Description

@SpiderUnderUrBed

Please, before opening a bug:

  • make sure you've read the documentation.
  • Ensure there isn't already an open issue about this.
  • Ensure there isn't already a closed/resolved issue about this.

Describe the bug
A clear and concise description of what the bug is.

[spiderunderurbed@daspidercave:~]$ distrobox enter debian
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "tmpfs" to rootfs at "/sys/fs/selinux": create mountpoint for /sys/fs/selinux mount: mkdirat /var/lib/docker/overlay2/21421daf7f99a368b01031a78a899d0a459f341e9e942698981d2499a9aa042c/merged/sys/fs/selinux: operation not permitted: unknown
Error: failed to start containers: debian
[ble: exit 1]

I got a error mounting selinux using tmpfs, the container was created normally with no extra flags.

To Reproduce
Steps to reproduce the behavior

I am unaware of how to reproduce this.
Expected behavior
A clear and concise description of what you expected to happen.

It should mount and open properly.

Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod?
    docker
  • Which version or podman, docker or lilipod?
    27.5.1
  • Which version of distrobox?
    1.8.0
  • Which host distribution?
    NixOS
  • How did you install distrobox?
    nixpkgs

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions