From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: question about pty,agetty for an intermediate virtual server image Date: Fri, 31 Mar 2017 12:59:56 +0000 Message-ID: <20170331125956.rhlwjg45vwo3pgwh@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctw9t-0001qn-Ou for guix-devel@gnu.org; Fri, 31 Mar 2017 09:00:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctw9p-0000Ti-Cp for guix-devel@gnu.org; Fri, 31 Mar 2017 09:00:05 -0400 Received: from perdizione.investici.org ([2001:41d0:2:33d0::19]:55615) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ctw9p-0000TP-3P for guix-devel@gnu.org; Fri, 31 Mar 2017 09:00:01 -0400 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 8A8D31201B0 for ; Fri, 31 Mar 2017 12:59:58 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hi, before I go ahead and create an intermediate image - I'd like to explor= e the option of getting IN-Berlin closer into the creation of the 'deploy' process of Guix which is being worked on - I need to find out how the redirection to "/sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt102" can be honored. As far as I understand, we use mingetty which according to the mingetty manpages is not suited for tasks agetty can do. IN-Berlin runs a Consoleserver which redirects ssh logins to it via "virsh console $vserver" to the /sbin/agetty (on debian vservers) on your server. The KVM configuration can be seen below. How can I achieve this (the agetty part) with GuixSD? ----- Forwarded message from Andreas Herrmann ----- Date: Fri, 31 Mar 2017 14:26:25 +0200 From: Andreas Herrmann=20 To: ng0, Kontakt fuer neue Teilnehmer Subject: Re: [info] server image format? Hallo, On 31.03.2017 13:39, ng0 wrote: > Ich glaube als vorr=C3=BCbergehende, individuelle L=C3=B6sung w=C3=BCrd= e das > funktionieren. Das "aber" folgt weiter unten. > Da stellt sich mir jetzt nur die Frage zu dem Konsolenserver. Muss ich > da irgendwas besonderes beachten damit ich nicht versehentlich ein Imag= e > generiere was gar nicht mehr ansprechbar ist? K=C3=B6nnt ihr mir da die= Daten > geben welche ich beachten muss, oder h=C3=A4ngt das nur von normalen, > unspezifizierten virtuellen konsolen ab? Da haben wir standardm=C3=A4=C3= =9Fig die > services 'term-tty1' bis 'term-tty6' welches soweit ich weiss =C3=BCber= mingetty > kommt (https://www.gnu.org/software/guix/manual/guix.html#index-mingett= y_002dconfiguration). >=20 > man mingetty sagt allerdings: > mingetty is a minimal getty for use on virtual consoles. Unlike > agetty(8), mingetty is not suitable for serial lines. I recommend using > mgetty(8) for this purpose. >=20 Der "Konsolenserver" ist ein direkte Umleitung auf ein "/sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt102" auf deinem VServer via virsh console $vserver Die VServer haben in dazu KVM folgendes konfiguriert: Gru=C3=9F, Andreas ----- End forwarded message -----