Comment 4 for bug 1948415

Revision history for this message
brian mullan (bmullan) wrote : [Bug 1948415] Re: cgroup-tools not compatible with cgroup2

I found this BUG Post and it is related to a problem I was having with
Ubuntu 22.04 LTS

On systems I did a cold install of Ubuntu 22.04 LTS  on everything
including LXD worked  !

On 2 other systems which were running Ubuntu 20.04 LTS and on which LXD
worked great.

I upgraded using:

/$ sudo do-release-upgrade -d/

The upgrade was successful ... but ... LXD now had problems.

/I could create Ubuntu LXD containers but they would not "start"./

Finally, found that it was a CGROUP2 bug/problem so I disabled “cgroup2”
use on the HOST

The Work-around Solution was:

    add the following string to the |GRUB_CMDLINE_LINUX| line in
    |/etc/default/grub| and then run |sudo update-grub|.

    |*systemd.unified_cgroup_hierarchy**=**0* |

After a reboot of the Host the LXD Ubuntu Containers started up Okay again.

I don't know if this is the same bug or different but "cgroup2" was the
cause of the LXD failure to start up containers it had created.

Brian