From: ng0 <contact.ng0@cryptolab.net>
To: guix-devel@gnu.org
Subject: question about pty,agetty for an intermediate virtual server image
Date: Fri, 31 Mar 2017 12:59:56 +0000 [thread overview]
Message-ID: <20170331125956.rhlwjg45vwo3pgwh@abyayala> (raw)
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 -----
next reply other threads:[~2017-03-31 13:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 12:59 ng0 [this message]
2017-03-31 23:43 ` question about pty,agetty for an intermediate virtual server image 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170331125956.rhlwjg45vwo3pgwh@abyayala \
--to=contact.ng0@cryptolab.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.