Re: [PATCH] lxc: Bind mount container TTYs

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

 



Am 01.07.2015 um 11:40 schrieb Martin Kletzander:
> On Tue, Jun 30, 2015 at 07:54:25PM +0200, Richard Weinberger wrote:
>> Am 30.06.2015 um 19:12 schrieb Martin Kletzander:
>>>> Hmm, very strange. What guest container are you using?
>>>> I tried with a Debian jessi and had user namespace enabled.
>>>>
>>>
>>> Sorry for the late reply.  I used simple one.  Only gentoo's stage 3
>>> unpacked into a directory, no special settings used for it.  Removing
>>> /etc/securetty works for me.  I'll give it another try, but probably
>>> after the freeze.  If anyone else wants to review this, don't get
>>> stopped by the problems I'm having!
>>
>> Hmm, just gave gentoo a try, worked perfectly fine.
> 
> I tried with latest master with and without your patch.  Wtih your
> patch I got to the problem exactly once even though I tried multiple
> times.  And even though it didn't happen to me at all without your
> patch, I'm thinking it's just some weird rare race and it's not
> related to what you've sent.  That just wouldn't make sense to me.
> 
> I also suspected the problem being me starting with --console
> parameter, but trying with and without that didn't help isolate the
> problem either.

--console works fine here.

> Anyway, that patch still doesn't help me get rid of /etc/securetty.
> The output of 'tty' is still /dev/pts/0 and unless I remove
> /etc/securetty it doesn't start.  What is the output of 'tty' and what
> ttys do you have in /etc/securetty in your container?

tty prints as expected /dev/tty1. (instead of /dev/pts/xy)
/etc/securetty is from gentoo, I did not add anything.

Thanks,
//richard

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]