Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #243859 > unrolled thread
| Started by | basti <mailinglist@unix-solution.de> |
|---|---|
| First post | 2022-01-11 16:00 +0100 |
| Last post | 2022-01-12 09:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
rsync copyed systemd-nspawn container won't start basti <mailinglist@unix-solution.de> - 2022-01-11 16:00 +0100
Re: rsync copyed systemd-nspawn container won't start Alexandre Rossi <niol@zincube.net> - 2022-01-12 09:20 +0100
| From | basti <mailinglist@unix-solution.de> |
|---|---|
| Date | 2022-01-11 16:00 +0100 |
| Subject | rsync copyed systemd-nspawn container won't start |
| Message-ID | <DEqMW-3Xo-3@gated-at.bofh.it> |
Hello, i have copy a running systemd-nspawn container via rsync. The container won't start in the destination: Jan 11 15:22:55 dhanna systemd[1]: Started Container foo. Jan 11 15:22:55 dhanna systemd-nspawn[21268]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GC Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Detected virtualization systemd-nspawn. Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Detected architecture x86-64. Jan 11 15:22:55 dhanna systemd-nspawn[21268]: [1B blob data] Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Welcome to Debian GNU/Linux 9 (stretch)! Jan 11 15:22:55 dhanna systemd-nspawn[21268]: [1B blob data] Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Set hostname to <foo>. Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to install release agent, ignoring: No such file or directory Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to create /init.scope control group: Operation not permitted Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to allocate manager object: Operation not permitted Jan 11 15:22:55 dhanna systemd-nspawn[21268]: [!!!!!!] Failed to allocate manager object, freezing. Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Freezing execution. Then I try it with debootstrap --variant=minbase --include systemd,vim,libterm-readline-gnu-perl,iproute2,dialog,dbus stretch /var/lib/machines/foo it work as expected. Any ideas? Best regards
[toc] | [next] | [standalone]
| From | Alexandre Rossi <niol@zincube.net> |
|---|---|
| Date | 2022-01-12 09:20 +0100 |
| Message-ID | <DEGRH-622-1@gated-at.bofh.it> |
| In reply to | #243859 |
Hi, [...] > Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to create > /init.scope control group: Operation not permitted [...] > Then I try it with > > debootstrap --variant=minbase --include > systemd,vim,libterm-readline-gnu-perl,iproute2,dialog,dbus stretch > /var/lib/machines/foo > > it work as expected. > > Any ideas? This may be related to systemd<236 in the container. I would try one of the workarounds mentionned in https://github.com/systemd/systemd/issues/9563 : - passing systemd.legacy_systemd_cgroup_controller=yes to systemd via Parameters= - try with systemd-nspawn ... --private-users=0 --private-users-chown Alex
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web