← Back to team overview

touch-packages team mailing list archive

[Bug 1425477] Re: After some time of LXC usage SSH fails with `openpty: Permission denied`

 

It seems that the problem was caused by autodev parameter that I added
as per https://wiki.archlinux.org/index.php/Lxc-systemd. After removing
extra options and using bare CentOS template the problem went away.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1425477

Title:
  After some time of LXC usage SSH fails with `openpty: Permission
  denied`

Status in lxc package in Ubuntu:
  Incomplete

Bug description:
  I'm running Ubuntu 14.04.2 LTS on GNU/Linux 3.13.0-45-generic x86_64
  as a host machine for tests run on LXC guests.

  After a few test runs on LXC machines, startup of next LXC machine hangs indefinitely.
  At the same time SSH connections to the host machine display "PTY allocation request failed on channel 0" and SSH logs in auth.log

  Feb 25 05:19:28 remotedev sshd[18578]: error: openpty: Permission denied
  Feb 25 05:19:28 remotedev sshd[18628]: error: session_pty_req: session 0 alloc failed

  Only reboot brings the machine back to usable state.
  I've tried destroying the non-starting LXC guest, stopping removing all guests, purging lxc and lxc-templates.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1425477/+subscriptions


References