<div dir="ltr"><p>I have been following some of the guides online that will let lxc run
in the host's tty. These guides all have me taking the same steps:<br>
1. Disable getty on a vt on the host by modifying /etc/systemd/logind.conf<br>
2. Modifying the lxc config of the container by adding lxc.cgroup.devices.allow = c 4:7 rwm<br>
3. Inside the container created a device entry /dev by running mknod -m 666 tty7 c 4 7 </p>
<p>Then when I try to run systemctl start getty@tty7, followed by
systemctl status getty@tty7, I get /dev/tty7: cannot open as standard in
put: Operation not permitted.</p><p>Am I missing a step?<br><br></p><p>Thank you,</p><p>Adam Verslype<br></p></div>