<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div><div>This is my 1st unprivileged container.<br><br></div>Host is Ubuntu 14.04 64 bit.<br></div>Container is Ubuntu 16.04 64 bit. It was created by lxc-create.<br></div><div>LXC version is: 2.0.3.<br></div><div><br></div><div>"nincs csatolva" means in English: not mounted.<br><br></div><div>rattila@fcubi:~$ lxc-start -F -n lub8<br>umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/blkio/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>                           umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/cpuset/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>                                                       umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/cpu/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/cpuacct/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>                             umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/devices/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>                                                          umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/freezer/user/rattila/1/lxc/lub8 nincs csatolva<br>                                                                            umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/hugetlb/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>                         umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/memory/user/rattila/1/lxc/lub8 nincs csatolva<br>                                          umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/perf_event/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>                                                                          umount: /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup/systemd/user/1000.user/c4.session/lxc/lub8 nincs csatolva<br>                       systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)<br>Detected virtualization lxc.<br>Detected architecture x86-64.<br><br>Welcome to Ubuntu 16.04.1 LTS!<br><br>Set hostname to <lub8>.<br>Failed to read AF_UNIX datagram queue length, ignoring: No such file or directory<br>Failed to install release agent, ignoring: No such file or directory<br>Couldn't move remaining userspace processes, ignoring: Invalid argument<br>[  OK  ] Reached target Encrypted Volumes.<br>...<br>[  OK  ] Started Journal Service.<br>[FAILED] Failed to mount Huge Pages File System.<br>See 'systemctl status dev-hugepages.mount' for details.<br>[  OK  ] Started Remount Root and Kernel File Systems.<br>         Starting Load/Save Random Seed...<br>...<br>[FAILED] Failed to start Set console scheme.<br>See 'systemctl status setvtrgb.service' for details.<br>[  OK  ] Started getty on tty2-tty6 if dbus and logind are not available.<br>[FAILED] Failed to start Raise network interfaces.<br>See 'systemctl status networking.service' for details.<br>[  OK  ] Reached target Network.<br>...<br></div><div>(I got the login prompt after 5 mins. because of failed network.)<br><br></div><div>root@lub8:~# init 0<br>[  OK  ] Stopped target Timers.<br>[  OK  ] Reached target Unmount All Filesystems.<br>...<br>[  OK  ] Stopped Load/Save Random Seed.<br>[FAILED] Failed unmounting /dev/null.<br>[  OK  ] Unmounted /dev/zero.<br>[  OK  ] Reached target Shutdown.<br><br>Broadcast message from systemd-journald@lub8 (Thu 2016-07-28 05:23:35 UTC):<br><br>systemd[1]: Caught <ABRT>, dumped core as pid 699.<br><br><br>Broadcast message from systemd-journald@lub8 (Thu 2016-07-28 05:23:35 UTC):<br><br>systemd[1]: Freezing execution.<br><br></div>... and it was freezed. Waiting for something.<br></div>From the above "[FAILED] Failed to start Raise network interfaces." is true because I haven't configured OVS for this container.<br><br>Switching off lub8 (finishing the freezing):<br>rattila@fcubi:~/.local/share/lxc/lub8$ lxc-stop -n lub8<br>lxc-stop: monitor.c: lxc_monitor_read_fdset: 244 No such file or directory - client failed to recv (monitord died?) No such file or directory<br>rattila@fcubi:~/.local/share/lxc/lub8$<br><br></div>Other problem:<br>From the config file for lub8:<br><br># Network configuration<br>lxc.network.type = veth<br>lxc.network.link = vbr0<br>lxc.network.veth.pair = veth-lub8<br>lxc.network.flags = up<br><br></div>There isn't veth-lub8 interface on host. Instead of this there is the generated Ethernet interface which will be renamed every time when I (re)start lub8:<br>vethSIIWU5 Link encap:Ethernet  HWaddr fe:db:7d:ba:17:5a<br></div>For OVS config I need permanent interface name!<br><br></div>Can I solve these problems?<br><br></div>TIA,<br></div>Ruzsi<br></div>