[lxc-devel] [lxc/master] doc: Update Japanese lxc-attach(1) and lxc.container.conf(5)

2018-01-21 Thread tenforward on Github
The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2101

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
* Update for commit ba2be1a (attach: move pty allocation into api)
* Update for commit 5757588 (manpage: correct lxc.log.file conf option)

Signed-off-by: KATOH Yasufumi 
From fb736bbe280c7136a6fbfbd34ef2cd6515dbf24b Mon Sep 17 00:00:00 2001
From: KATOH Yasufumi 
Date: Mon, 22 Jan 2018 14:47:48 +0900
Subject: [PATCH] doc: Update Japanese lxc-attach(1) and lxc.container.conf(5)

* Update for commit ba2be1a (attach: move pty allocation into api)
* Update for commit 5757588 (manpage: correct lxc.log.file conf option)

Signed-off-by: KATOH Yasufumi 
---
 doc/ja/lxc-attach.sgml.in | 23 ---
 doc/ja/lxc.container.conf.sgml.in |  2 +-
 2 files changed, 1 insertion(+), 24 deletions(-)

diff --git a/doc/ja/lxc-attach.sgml.in b/doc/ja/lxc-attach.sgml.in
index f04ee021b..19ccfb8aa 100644
--- a/doc/ja/lxc-attach.sgml.in
+++ b/doc/ja/lxc-attach.sgml.in
@@ -63,7 +63,6 @@ by KATOH Yasufumi 
   -R, --remount-sys-proc
   --keep-env
   --clear-env
-  -L, --pty-log file
   -v, --set-var variable
   --keep-var variable
   -- command
@@ -338,28 +337,6 @@ by KATOH Yasufumi 

   
 
-  
-
-  -L, --pty-log file
-
-
-  
-
-lxc-attach の出力を記録するファイルを指定します。
-  
-  
-
-重要: 標準ファイルディスクリプタが pty 
を参照していない場合、それらに対する出力は記録されないでしょう。
-  
-
-  
-
   

  -v, --set-var variable
diff --git a/doc/ja/lxc.container.conf.sgml.in 
b/doc/ja/lxc.container.conf.sgml.in
index 8f71a73fb..26e64baa7 100644
--- a/doc/ja/lxc.container.conf.sgml.in
+++ b/doc/ja/lxc.container.conf.sgml.in
@@ -2877,7 +2877,7 @@ by KATOH Yasufumi 
 
 
   
-lxc.log
+lxc.log.file
   
   
 
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [lxc/master] doc: Update Japanese lxc-attach(1)

2016-02-26 Thread tenforward on Github
The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/853

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Update the description of pty allocation. Update for commit 478dda7.

Signed-off-by: KATOH Yasufumi 
From f025e64819ea14ea5f87eae652a1666cdcbb640e Mon Sep 17 00:00:00 2001
From: KATOH Yasufumi 
Date: Fri, 26 Feb 2016 20:05:09 +0900
Subject: [PATCH] doc: Update Japanese lxc-attach(1)

Update the description of pty allocation. Update for commit 478dda7.

Signed-off-by: KATOH Yasufumi 
---
 doc/ja/lxc-attach.sgml.in | 24 ++--
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/doc/ja/lxc-attach.sgml.in b/doc/ja/lxc-attach.sgml.in
index 7c668ee..8c0a865 100644
--- a/doc/ja/lxc-attach.sgml.in
+++ b/doc/ja/lxc-attach.sgml.in
@@ -94,25 +94,21 @@ by KATOH Yasufumi 
 
   
-  前のバージョンの lxc-attach は、単に指定したコンテナの名前空間にアタッチし、擬似端末 
(pseudo terminal) なしで、シェルもしくは指定したコマンドを実行しました。
+  前のバージョンの lxc-attach は、単に指定したコンテナの名前空間にアタッチし、最初に擬似端末 
(pseudo terminal) を割り当てないで、シェルもしくは指定したコマンドを実行しました。
   これは、異なる特権レベルを持つユーザ空間の実行コンテキストを切り替えた後に、TIOCSTI ioctl 
の呼び出し経由で擬似入力を行うことに対して脆弱となります。
-  新しいバージョンの lxc-attach 
は、擬似端末のマスター/スレーブのペアを割り当てようとします。そしてシェルやコマンドを実行する前に、擬似端末のスレーブ側に対して、ターミナルを参照する標準ファイルディスクリプタをアタッチします。
-  lxc-attach 
は、最初にコンテナ内の擬似端末を割り当てようとします。これが失敗した場合、最終的に処理を諦める前に、ホスト上の擬似端末を割り当てようとします。
+  新しいバージョンの lxc-attach 
は、ホスト上の擬似端末のマスター/スレーブのペアを割り当てようとします。そしてシェルやコマンドを実行する前に、擬似端末のスレーブ側に対して、ターミナルを参照する標準ファイルディスクリプタをアタッチします。
   ターミナルを参照する標準ファイルディスクリプタがない場合は、lxc-attach 
は擬似端末の割り当てを行わないことに注意してください。代わりに、単にコンテナの名前空間にアタッチし、シェルや指定したコマンドを実行します。
 
 
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel