nosada / mkosi-files

Configs and files for creating basic Arch Linux container image on systemd-nspawn using mkosi
Do What The F*ck You Want To Public License
6 stars 0 forks source link

Can't get builder shell? #8

Closed tmpm697 closed 3 years ago

tmpm697 commented 4 years ago

I build buildspawn with default as in your repo and try to get builder shell with:

sudo machinectl shell builder@buildspawn
Connected to machine buildspawn. Press ^] three times within 1s to exit session.

Connection to machine buildspawn terminated.

Did you face the same problem? I can't get builder shell.

tmpm697 commented 4 years ago

I can get shell of root user ok.

nosada commented 4 years ago

I haven't faced that... For me it works correctly:

$ sudo machinectl shell builder@buildspawn
Connected to machine buildspawn. Press ^] three times within 1s to exit session.
[builder@buildspawn ~]$

How about journalctl -u systemd-nspawn@buildspawn?

tmpm697 commented 4 years ago

Output of journalctl -u systemd-nspawn@buildspawn: systemd-nspawn log

systemd-networkd seems to fail several times and end up fail.

nosada commented 4 years ago

Thank you. It seems your log is same to that in #6 you provided, so I think they might be same problem. I want to merge this issue to #6. (But I don't have any solutions now as I said there...)