[Bug 863629] Re: libvirt-lxc: virFileOpenTtyAt can't be called on /some/other/dev/pts
Ubuntu QA's Bug Bot
bug-stats at murraytwins.com
Sat Oct 1 00:08:50 UTC 2011
The attachment "Debdiff with the proposed fix" of this bug report has
been identified as being a patch in the form of a debdiff. The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff. In the event that this is in
fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch. Additionally, if you are member of the ubuntu-
sponsors please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/863629
Title:
libvirt-lxc: virFileOpenTtyAt can't be called on /some/other/dev/pts
Status in “libvirt” package in Ubuntu:
Confirmed
Bug description:
lxcControllerRun() is calling virFileOpenTtyAt() with a slave opened
on /the/container/chroot/dev/pts. While it is not documented in the
manpages, glibc's grantpt does a first check (ensuring that the passed
in fd is a pty slave) with '/dev/pts' as the hardcoded path, appending
the pty#.
lxcControllerRun always calls this on the first slave opened after
creating the new /dev/pts, so grantpt is always checking /dev/pts/0.
Therefore, if your host does not have /dev/pts/0 (easy to reproduce
using screen), then grantpt will fail, and the container creation will
subsequently also fail.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/863629/+subscriptions
More information about the Ubuntu-sponsors
mailing list