[libvirt] [PATCH] LXC: add securetty related note in Device nodes

Daniel P. Berrange berrange at redhat.com
Mon Nov 25 10:46:01 UTC 2013


On Mon, Nov 25, 2013 at 02:47:53PM +0800, Gao feng wrote:
> Tell user how to resolve the problem that fail to log in
> the container.
> 
> Signed-off-by: Gao feng <gaofeng at cn.fujitsu.com>
> ---
>  docs/drvlxc.html.in | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/docs/drvlxc.html.in b/docs/drvlxc.html.in
> index ca488f7..d5a4410 100644
> --- a/docs/drvlxc.html.in
> +++ b/docs/drvlxc.html.in
> @@ -164,6 +164,14 @@ numbered incrementally from there.
>  </p>
>  
>  <p>
> +Since /dev/ttyN and /dev/console are linked to the pts devices. The
> +tty device of login program is pts device. the pam module securetty
> +may prevent root user from logging in container. If you want root
> +user to log in container successfully, add the pts device to the file
> +/etc/securetty of container.
> +</p>
> +
> +<p>
>  Further block or character devices will be made available to containers
>  depending on their configuration.
>  </p>

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list