LXC broken after upgrading TOS 3->5

I upgraded TurrisOS from version 3 to 5.0.3. The upgrade seemed to proceed fine and relatively quickly (~10 mins?), reported successful completion, even though a warning message appeared as well:

Updater failed: Failed operations:
tos3to4/postrm: /usr/lib/opkg/info//tos3to4.postrm: line 20: syntax error: unexpected “}”

However, everything seems to work fine. Except my LXC container; it seems to have been started automatically, it is reported running, but does not reply to network requests/pings, and trying to attach to it, lxc-attach dies:

cgroups/cgfsng.c: cg_hybrid_get_controllers: 746 Found hierarchy not under /sys/fs/cgroup: "/sys/fs/cgroup rw,relatime - cgroup none rw,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,pids,clone_children
"
Segmentation fault

Not sure what can I do to diagnose or fix the problem…

Just to be sure: is this after or before reboot? LXC seems to fail on accessing cgroups. Those changed with new version of Kernel and it might not work before you reboot device.

1 Like

D’oh! I guess I just assumed a reboot was an automatic part of the upgrade…

# uptime
09:57:47 up 18 days, 20:46,  load average: 0.04, 0.01, 0.00

Oops. Bad habits from Windows, I guess. :-x

Rebooted, everythings works fine. Thanks for the clue hammer.

3 Likes