[PATCH] Run anaconda inside tmux

Chris Lumens clumens at redhat.com
Thu Jul 19 14:25:32 UTC 2012


> Having a shell on tty2 or hvc1 is convenient.. if you have tty2 or hvc1.
> But not everyone does - think s390, or POWER, or remote virt guests.
> 
> Instead, let's run anaconda inside a tmux session, with windows
> pre-configured with a shell, anaconda.log, program.log, and storage.log.
> 
> We set this up by using two services: anaconda.service, and
> anaconda-tmux at .service.
> 
> anaconda.service starts anaconda (and starts watching the logs) inside a
> detached tmux session, on screen 1. It also starts a shell on screen 2,
> and 'tail -F' on anaconda.log, storage.log, and program.log on screens
> 3, 4, and 5.
> 
> anaconda-tmux at .service will be instantiated on the default console
> (tty1, hvc0, ttyS0, whatever) and connect to the running tmux session,
> which will show screen 1 - and thus the text UI (if any) appears.
> 
> Exiting tmux just restarts anaconda-tmux at .service, which reconnects to
> the existing session, so you can't accidentally kill the installer by
> leaving tmux.

Do you know if tmux does anything crazy by default like also listening
on the network, or anything like that?  This patch looks fine and it is
a good idea.  I just want to make sure there's no lurking surprises.

- Chris


More information about the anaconda-patches mailing list