Ubuntu on Centos mother - classic problem

Hi,
Mother is CEntos 7 with kernel 3.10.0.
Container with Centos is working.
Container with Ubuntu not. It doesn’t get IP , poweroff doesn’t work.

I’ve done:

Configure the kernel

grubby --args=“user_namespace.enable=1” --update-kernel="$(grubby --default-kernel)"
grubby --args=“namespace.unpriv_enable=1” --update-kernel="$(grubby --default-kernel)"
echo “user.max_user_namespaces=3883” > /etc/sysctl.d/99-userns.conf
reboot

Storage is LVM.

Log from console is following:
root@fh1/boot/grub2# lxc console ubuntu22 --show-log

Console log:

systemd 251.4-1ubuntu7.1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Detected virtualization lxc.
Detected architecture x86-64.
Warning! Reported kernel version 3.10.0-1160.81.1.el7.x86_64 is older than systemd’s required baseline kernel version 4.15. Your mileage may vary.
Failed to create symlink /sys/fs/cgroup/net_cls: File exists
Failed to create symlink /sys/fs/cgroup/cpu: File exists

Welcome to Ubuntu 22.10!

Initializing machine ID from random generator.
Couldn’t move remaining userspace processes, ignoring: Invalid argument
Queued start job for default target Graphical Interface.
-.slice: Failed to migrate controller cgroups from /lxc.payload.ubuntu22, ignoring: Invalid argument
system.slice: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice, ignoring: Invalid argument
system-modprobe.slice: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/system-modprobe.slice, ignoring: Invalid argument
[ OK ] Created slice Slice /system/modprobe.
user.slice: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/user.slice, ignoring: Invalid argument
[ OK ] Created slice User and Session Slice.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[UNSUPP] Starting of Arbitrary Executable Fi…ystem Automount Point unsupported.
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Reached target Local Integrity Protected Volumes.
[ OK ] Reached target Path Units.
[ OK ] Reached target Remote File Systems.
[ OK ] Reached target Slice Units.
[ OK ] Reached target Swaps.
[ OK ] Reached target Local Verity Protected Volumes.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Socket Units.
systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
(This warning is only shown for the first unit using IP firewalling.)
systemd-journald.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/systemd-journald.service, ignoring: Invalid argument
Starting Journal Service…
keyboard-setup.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/keyboard-setup.service, ignoring: Invalid argument
Starting Set the console keyboard layout…
modprobe@configfs.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/system-modprobe.slice/modprobe@configfs.service, ignoring: Invalid argument
Starting Load Kernel Module configfs…
modprobe@drm.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/system-modprobe.slice/modprobe@drm.service, ignoring: Invalid argument
Starting Load Kernel Module drm…
modprobe@fuse.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/system-modprobe.slice/modprobe@fuse.service, ignoring: Invalid argument
Starting Load Kernel Module fuse…
systemd-network-generator.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/systemd-network-generator.service, ignoring: Invalid argument
Starting Generate network units from Kernel command line…
systemd-remount-fs.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/systemd-remount-fs.service, ignoring: Invalid argument
Starting Remount Root and Kernel File Systems…
systemd-sysctl.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/systemd-sysctl.service, ignoring: Invalid argument
Starting Apply Kernel Variables…
systemd-udev-trigger.service: Failed to migrate controller cgroups from /lxc.payload.ubuntu22/system.slice/systemd-udev-trigger.service, ignoring: Invalid argument
Starting Coldplug All udev Devices…
[ OK ] Started Journal Service.
[ OK ] Finished Set the console keyboard layout.
[ OK ] Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module fuse.
[ OK ] Finished Generate network units from Kernel command line.
[ OK ] Finished Remount Root and Kernel File Systems.

Could you help ?
Thanks.

Additional info:

My kernel from grub.cfg has options:
namespace.unpriv_enable=1 systemd.unified_cgroup_hierarchy=1 user_namespace.enable=1

root@fh1/boot/grub2# lxc config show ubuntu22
architecture: x86_64
config:
image.architecture: amd64
image.description: Ubuntu kinetic amd64 (20230310_07:42)
image.os: Ubuntu
image.release: kinetic
image.serial: “20230310_07:42”
image.type: squashfs
image.variant: default
volatile.base_image: e2cd2c3a816f1ccae4926309dd341b46d57291e295ef7071ef778b5bf8c9b6ef
volatile.cloud-init.instance-id: e3098e9b-5d9c-4862-a39a-6cf71b4a6038
volatile.eth0.host_name: vethc685038d
volatile.eth0.hwaddr: 00:16:3e:07:b7:22
volatile.idmap.base: “0”
volatile.idmap.current: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000},{“Isuid”:false,“Isgid”:true,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000}]’
volatile.idmap.next: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000},{“Isuid”:false,“Isgid”:true,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000}]’
volatile.last_state.idmap: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000},{“Isuid”:false,“Isgid”:true,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000}]’
volatile.last_state.power: RUNNING
volatile.uuid: 27a78832-9260-44a4-8a49-142b5e85a011
devices: {}
ephemeral: false
profiles:

  • default
    stateful: false
    description: “”

root@fh1/boot/grub2# lxc profile show default
config: {}
description: “”
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: lxd_pool
type: disk
name: default
used_by:

  • /1.0/instances/test1
  • /1.0/instances/ubuntu22
    root@fh1/boot/grub2#