Found the problem - for some reason the systemctl service getty@tty[1-4] has a 
prerequisite of /dev/tty0 existing.  If it is not, all the tty[1-4] do not 
start. (tty1 fails, the others are not tried)
SEE below - "ConditionPathExists=/dev/tty0 was not met"

systemctl status getty@tty1
○ getty@tty1.service - Getty on tty1
     Loaded: loaded (/lib/systemd/system/getty@.service; enabled; vendor preset>
     Active: inactive (dead)
  Condition: start condition failed at Wed 2021-10-20 21:50:42 AEDT; 4 days ago
             └─ ConditionPathExists=/dev/tty0 was not met
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html

If you create the file (eg sudo touch /etc/tty0 in the container) and then 
restart the tty daemons, all is good and it works.
eg
sudo systemctl restart getty@tty1
sudo systemctl restart getty@tty2
sudo systemctl restart getty@tty3
sudo systemctl restart getty@tty4

then all is good.  However, this workaround needs to be done everytime
the container is started - or you could remove the dependency on
/dev/tty0 for the daemons.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947811

Title:
  cgroups broken in impish

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1947811/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to