search

Friday, November 22, 2019

Lxd on Fedora 31

Fedora 31 has started to use cgroups v2 by default. According to Common F31 bugs it doesn't play nice with Docker, lxd and others. To make fedora switch back to the old cgroups:
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"

How to regenerate grub configuration

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg