Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Alexander Vladimirov
2013/3/13 John : > On 13/03/13 11:58, Kay Sievers wrote: >> >> On the host, "newinstance" is not strictly needed, it is useful inside the >> container though. > > How do I make it use newinstance inside the container? is that a lxc config > or systemd? lxc does this explicitly during container star

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 1:32 PM, John wrote: > On 13/03/13 11:58, Kay Sievers wrote: >> >> On the host, "newinstance" is not strictly needed, it is useful inside the >> container though. > > How do I make it use newinstance inside the container? is that a lxc config > or systemd? It's lxc's prepa

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread John
On 13/03/13 11:58, Kay Sievers wrote: On the host, "newinstance" is not strictly needed, it is useful inside the container though. How do I make it use newinstance inside the container? is that a lxc config or systemd? ___ systemd-devel mailing list

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 11:38 AM, John Lane wrote: > Good morning, I am trying to get LXC guests working with systemd. I am at > the point where I can start a container but it is affecting the host. I've > been discussing over on lxc-users and it's been suggested that systemd may > be incorrectly

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Alexander Vladimirov
Try adding lxc.mount option into container config using following mount point file: sysfs sys sysfs ro,defaults 0 0 proc proc proc nodev,noexec,nosuid 0 0 /proc/sys ${rootfs_path}/proc/sys none ro,bind 0 0 2013/3/13 John Lane : > Good morning, I am trying to get LXC guests working with systemd.

[systemd-devel] devpts inside Linux Container

2013-03-13 Thread John Lane
Good morning, I am trying to get LXC guests working with systemd. I am at the point where I can start a container but it is affecting the host. I've been discussing over on lxc-users and it's been suggested that systemd may be incorrectly mounting devpts without the "newinstance" option. I unde