[systemd-devel] Starting a container with machinectl vs nspawn
Yassine Chaouche
a.chaouche at algerian-radio.dz
Wed Feb 19 14:22:25 UTC 2025
Le 2/19/25 à 15:11, Yassine Chaouche a écrit :
> Le 2/18/25 à 11:53, Yassine Chaouche a écrit :
>> Hello all,
>>
>> I have been advised to use systemd-nspawn and machinectl in place of chroot to run services from a cloned, working remote host.
>
> Another interresting behavior is when I start it with the UID shifting feature -U
>
>
> $ systemd-nspawn -bUM clone-messagerie
>
>
> I could wait forever (well, more than 5 minutes)
> and no login prompt would appear.
>
when in that state,
here's what journalctl -M clone-messagerie shows when run from the host,
in case it helps diagnosing the problem:
root at messagerie-recup[10.10.10.20] ~ # journalctl -M clone-messagerie -f
Feb 19 15:19:20 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:22 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:23 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:24 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:25 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:27 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:28 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:29 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:30 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:32 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:33 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:34 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:35 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:37 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
Feb 19 15:19:38 messagerie-prep systemd[1]: Looping too fast. Throttling execution a little.
^C
root at messagerie-recup[10.10.10.20] ~ #
Best,
--
Yassine -- Sysadmin and SMTP Whisperer, delivering mail and bad puns since 2014.
57 70
023 50 01 11
More information about the systemd-devel
mailing list