[SOLVED] lxc Error nach Update

jms1000

Well-Known Member
Oct 25, 2016
150
4
58
58
Germany, Schkeuditz
www.sv-forensik.de
Hallo,

ich habe ein Update von Proxmox 5.2-5 auf 5.3-5 eingespielt. Seit dem Update verweigern zwei LXC Container den Zugriff via ssh. Fehlermeldung beim Login-Versuch:

PTY allocation request failed on channel 0
Linux mail2 4.15.18-9-pve #1 SMP PVE 4.15.18-30 (Thu, 15 Nov 2018 13:32:46 +0100) x86_64
[...]
stdin: is not a tt
y

Im Syslog des Containers findet sich dann:

Dec 27 14:14:31 xxx sshd[11966]: Accepted password for root from xxx port 44132 ssh2
Dec 27 14:14:31 xxx sshd[11966]: pam_unix(sshd:session): session opened for user root by (uid=0)
Dec 27 14:14:31 xxx sshd[11966]: error: openpty: No such file or directory
Dec 27 14:14:31 xxx sshd[11966]: error: session_pty_req: session 0 alloc failed


und auch so noch etwas:

Dec 27 14:11:36 xxx perl: *** err
Dec 27 14:11:36 xxx perl: unable to open gpm console, check your /dev filesystem!
Dec 27 14:11:36 xxx perl: *** err
Dec 27 14:11:36 xx perl: Oh, oh, it's an error! possibly I die!

Hat jemand Vorschläge wie sich das fixen lässt - bzw. Angaben was mit dem Update verändert wurde?

Nachtrag:
- start_udev gibt es nicht
- cd /dev; /sbin/MAKEDEV pty bzw. tty hat nicht geholfen
 
Last edited:
start_udev gibt es nicht
d.h. das hier: https://www.svennd.be/lxc-server-refused-to-allocate-pty-on-proxmox/ funktioniert bei dir nicht?

Dec 27 14:11:36 xxx perl: *** err
Dec 27 14:11:36 xxx perl: unable to open gpm console, check your /dev filesystem!
Dec 27 14:11:36 xxx perl: *** err
Dec 27 14:11:36 xx perl: Oh, oh, it's an error! possibly I die!
Hört sich nicht gut an, aber ich würde erst mal das SSH Problem lösen und schauen ob es dann eventuell weg ist. Manchmal sind Probleme ja einfach nur die Folge von anderen Problemen und verschwinden danach.
 
Ich habe aber gar keine /etc/rc.sysinit
Wie sieht denn generell deine Filestrutkur in den Containern aus?
Wenn das File fehlt, ist es aber vielleicht auch das Problem? Am besten mal mit anderen laufenden Containern abgleichen.

und auch keine udev-fehlermeldungen im logfile - da udev nicht verwendet/gestartet wird.
This may or may not be related to this issue

OT:
Ich persönlich bevorzuge aus diesen Gründen eine richtige VM, dann läuft das ganze auch unabhängig. Vielleicht ist das ja auch zukünftig oder vielleicht jetzt eine Option für dich?
 

About

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!