Bug#939649: /usr/bin/systemd-nspawn: systemd-nspawn fails with "Failed to register machine: Unit -.mount is masked."

Nikolaus Rath nikolaus at rath.org
Sat Sep 7 11:46:22 BST 2019


On Sat, 7 Sep 2019, at 11:44, Michael Biebl wrote:
> Control: tags -1 moreinfo
> 
> Am 07.09.19 um 11:36 schrieb Nikolaus Rath:
> > Package: systemd-container
> > Version: 241-5
> > Severity: normal
> > File: /usr/bin/systemd-nspawn
> > 
> > Not sure what to make of this:
> > 
> > # systemd-nspawn -M resuce --boot --private-users -D /mnt/usbdrive
> > Spawning container resuce on /mnt/usbdrive.
> > Press ^] three times within 1s to kill container.
> > Selected user namespace base 0 and range 65536.
> > Failed to register machine: Unit -.mount is masked.
> > Parent died too early
> > 
> > # systemctl status -- -.mount
> > ● -.mount - Root Mount
> >    Loaded: masked (Reason: Unit -.mount is masked.)
> 
> Well, did you mask -.mount for some reason?

Certainly not intentionally. I don't know what this means, how to do it, or why I would do that.

Best,
Nikolaus



More information about the Pkg-systemd-maintainers mailing list