Upgrading Debian 8.0 LXC containers to Debian 9

Zyg0te

Active Member
Mar 13, 2016
13
5
43
37
I have a couple of unprivileged containers running the Debian 8.0 (Standard) template. These have systemd disabled, afaik, due to an privilege issue. However, the issue is obviously solved with the Debian 9.0 template as systemd there works just fine.

However, trying to upgrade the 8.0 containers to 9.x isnt going too well since the lack of systemd tends to break everything service related.

Does anyone have a solution?

Thanks!
 
we did that conversion a long time ago. I think before upgrading from jessie to stretch i installed systemd . these are my notes, may not be complete:
Code:
# https://wiki.debian.org/systemd#Installing_and_Testing

# MAKE A BACKUP

apt-get install systemd systemd-sysv
# then reboot

Note -  restart from pve or cli may not work . so stop and start at pve.