Re: [libvirt-users] Problem with /dev/tty in LXC established with virt-install

2014-12-04 Thread Vegard Vesterheim
On Mon, 01 Dec 2014 13:20:37 +0100 Vegard Vesterheim wrote: > So, my question is: How can I add the device node for /dev/tty with > libvirt? Answering my own question yet again. I didn't mention that I was running Debian Wheezy which has libvirt 0.9.12. Looking in the ChangeLog for libvirt, I s

Re: [libvirt-users] Problem with /dev/tty in LXC established with virt-install

2014-12-01 Thread Vegard Vesterheim
On Mon, 01 Dec 2014 12:07:37 +0100 Vegard Vesterheim wrote: > # mknod -m 666 /dev/tty c 4 0 > mknod: `/dev/tty': Operation not permitted In the manual for the LXC driver this part of my question is answered: "The container init process will be started with CAP_MKNOD capability removed an

[libvirt-users] Problem with /dev/tty in LXC established with virt-install

2014-12-01 Thread Vegard Vesterheim
I have created a LXC container with debootstrap followed by virt-install like this: host=mylxc1 debootstrap wheezy /home/lxc/$host virt-install -c lxc:// -n $host --filesystem /home/lxc/$host,/ --ram 1024 I am confused about the /dev filesystem in this container. Specifically the device '/dev/tty