[lxc-users] lxc-attach

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Sep 16 08:34:52 UTC 2015


> On September 16, 2015 at 9:21 AM Andrey Repin <anrdaemon at yandex.ru> wrote:
> > I have a question about the lxc-attach command?
> 
> > Is this normal behavior, if I use
> > "lxc-attach -n container"
> > and then shutdown the container.
> 
> > Then the bash show no input anymore until I reset it with rest.
> > the output is ok.
> 
> This is the one reason I always exit the shell before shutdown takes place.
> I.e.
> shutdown -h now; exit

Seems to depend on something inside the guest system. (Maybe the shell?)
Eg. I don't get this behavior with an ArchLinux guest.
(btw. `stty sane` also fixes it without clearing the screen in case anyone's
interested)



More information about the lxc-users mailing list