all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* question about pty,agetty for an intermediate virtual server image
@ 2017-03-31 12:59 ng0
  2017-03-31 23:43 ` Leo Famulari
  0 siblings, 1 reply; 19+ messages in thread
From: ng0 @ 2017-03-31 12:59 UTC (permalink / raw)
  To: guix-devel

Hi,

before I go ahead and create an intermediate image  -  I'd like to explore
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 
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übergehende, individuelle Lösung würde 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 Image
> generiere was gar nicht mehr ansprechbar ist? Könnt ihr mir da die Daten
> geben welche ich beachten muss, oder hängt das nur von normalen,
> unspezifizierten virtuellen konsolen ab? Da haben wir standardmäßig die
> services 'term-tty1' bis 'term-tty6' welches soweit ich weiss über mingetty
> kommt (https://www.gnu.org/software/guix/manual/guix.html#index-mingetty_002dconfiguration).
> 
> 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.
> 

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:

    <console type='pty'>
      <target type='serial' port='0'/>
    </console>


Gruß, Andreas
----- End forwarded message -----

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-04-17 19:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-31 12:59 question about pty,agetty for an intermediate virtual server image ng0
2017-03-31 23:43 ` Leo Famulari
2017-04-01  7:27   ` ng0
2017-04-01 18:33     ` Leo Famulari
2017-04-01 20:29     ` Leo Famulari
2017-04-02 16:31       ` question about pty, agetty " myglc2
2017-04-02 21:06         ` Non-graphical GRUB configuration Leo Famulari
2017-04-02 22:13           ` Leo Famulari
2017-04-03  0:31             ` myglc2
2017-04-03  8:39               ` Ludovic Courtès
2017-04-03  0:16           ` myglc2
2017-04-05 11:59           ` Leo Famulari
2017-04-05 15:14             ` myglc2
2017-04-05 16:07               ` Leo Famulari
2017-04-05 20:43                 ` myglc2
2017-04-06 15:18                   ` Leo Famulari
2017-04-06 17:34                     ` myglc2
2017-04-17 13:44             ` myglc2
2017-04-17 19:51               ` Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.