Re: [PATCH 1/2] Fix occasional container creation failure due to misuse of grantpt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Eric Blake (eblake@xxxxxxxxxx):
...
> of /dev/pts, then passing that fd back to the parent; the
> alternative solution would be to ditch glibc interfaces and do the
> raw ioctl calls on the master pty ourselves.  Since lxc is already
> Linux-specific, I think that I would favor this approach as being
> simpler (that is, completely ditch virFileOpenTtyAt, and teach lxc
> to just make the raw ioctl calls instead of using grantpt and
> unlockpt, all without forking or passing fds across a socket).
> 
> Serge, is this something you can attempt, or should I look into it more?

Hey Eric,

yup, if it's acceptable to you I think that's the better, simpler
approach.  I'll send out a new patch.

thanks,
-serge

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]