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

Michael Biebl biebl at debian.org
Sat Sep 7 11:52:20 BST 2019


Am 07.09.19 um 12:44 schrieb Michael Biebl:
> 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?

Attach the output of
blkid, contents of /etc/fstab, systemd-analyze dump,

ls -ls $(find /run/systemd/ /etc/systemd/ /lib/systemd/ -name '-.mount')

a description what you did etc (what /mnt/usbdrive is) and so on
If the problem is reproducible (after a reboot), steps how this can be
reproduced ...


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190907/70680439/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list