[libvirt] [PATCH] lxc: Bind mount container TTYs
Richard Weinberger
richard at nod.at
Tue Jun 30 17:54:25 UTC 2015
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.
Can you share your xml?
This is mine:
<domain type='lxc'>
<name>gentoo</name>
<memory>524288</memory>
<os>
<type>exe</type>
<init>/sbin/init</init>
</os>
<idmap>
<uid start='0' target='100000' count='998'/>
<gid start='0' target='100000' count='998'/>
<uid start='65533' target='100998' count='2'/>
<gid start='65533' target='100998' count='2'/>
</idmap>
<devices>
<console type='pty'/>
<filesystem type='mount'>
<source dir='/srv/container/gentoo/'/>
<target dir='/'/>
</filesystem>
<interface type='bridge'>
<source bridge='br0'/>
<mac address='52:54:00:44:55:66'/>
</interface>
</devices>
</domain>
Thanks,
//richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150630/fde8d982/attachment-0001.sig>
More information about the libvir-list
mailing list