Skip to content

systemd-nspawn fails to --bind directories #4789

@hmalzahn

Description

@hmalzahn

Submission type

  • Bug report
  • Request for enhancement (RFE)

NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!

systemd version the issue has been seen with

232

NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!

Used distribution

Arch Linux

In case of bug report: Expected behaviour you didn't see

systemd-nspawn fails to --bind=/tmp/.X11-unix into the container

In case of bug report: Unexpected behaviour you saw

none

In case of bug report: Steps to reproduce the problem

btrfs subvolume snapshot / /.nspawn ; systemd-nspawn -D /.nspawn --bind=/tmp/.X11-unix bash
In 231 this shows /tmp/.X11-unix in the container, in 232 /tmp is empty.
I've attached the 232 output with LOG_LEVEL=debug

nspawn.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Programming errors, that need preferential fixingnspawnregression ⚠️A bug in something that used to work correctly and broke through some recent commit

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions