Re: [PATCH] lxc: Bind mount container TTYs

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

 



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

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]