[SOLVED] Gentoo systemd containers not start after upgrade to 8.0.4

Jorge Ventura

New Member
Apr 28, 2023
My previous gentoo systemd containers didn't start after upgrade from 7 to 8 and here the solution:
  1. # pct mount <CT#>
  2. # touch /var/lib/lxc/<CT#>/rootfs/etc/inittab
  3. # pct unmount <CT#>
The patch I developed for version 7 to support gentoo LXC containers using systemd is still applicable for version 8 and new containers created there is no problem.

Last edited:
If someone has interest to use the patch.
To apply,
  1. # cd /usr/share/perl5/PVE
  2. # patch -p3 < /path_of_the_patch/0001-pct-gentoo-plugin-fix-for-systemd.patch
  3. # systemctl restart pvedaemon.service


  • 0001-pct-gentoo-plugin-fix-for-systemd.patch.gz
    1.7 KB · Views: 10


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!