[lxc-devel] [lxc/master] Update korean manuals

ysbnim on Github lxc-bot at linuxcontainers.org
Thu Aug 18 08:20:22 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 334 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160818/96637f39/attachment.bin>
-------------- next part --------------
From ef747fd885563e23b7fcad25beb5159debed04d9 Mon Sep 17 00:00:00 2001
From: Sungbae Yoo <sungbae.yoo at samsung.com>
Date: Thu, 18 Aug 2016 16:36:24 +0900
Subject: [PATCH 1/3] doc: Update Korean lxc-attach(1)

 * Update for commit 03b0398
 * Fix mistranslation words

Signed-off-by: Sungbae Yoo <sungbae.yoo at samsung.com>
---
 doc/ko/lxc-attach.sgml.in | 91 ++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 75 insertions(+), 16 deletions(-)

diff --git a/doc/ko/lxc-attach.sgml.in b/doc/ko/lxc-attach.sgml.in
index eb7baf0..7a7dfa5 100644
--- a/doc/ko/lxc-attach.sgml.in
+++ b/doc/ko/lxc-attach.sgml.in
@@ -55,15 +55,18 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>lxc-attach</command>
-      <arg choice="req">-n <replaceable>name</replaceable></arg>
-      <arg choice="opt">-a <replaceable>arch</replaceable></arg>
-      <arg choice="opt">-e</arg>
-      <arg choice="opt">-s <replaceable>namespaces</replaceable></arg>
-      <arg choice="opt">-R</arg>
+      <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
+      <arg choice="opt">-f, --rcfile <replaceable>config_file</replaceable></arg>
+      <arg choice="opt">-a, --arch <replaceable>arch</replaceable></arg>
+      <arg choice="opt">-e, --elevated-privileges <replaceable>privileges</replaceable></arg>
+      <arg choice="opt">-s, --namespaces <replaceable>namespaces</replaceable></arg>
+      <arg choice="opt">-R, --remount-sys-proc</arg>
       <arg choice="opt">--keep-env</arg>
       <arg choice="opt">--clear-env</arg>
+      <arg choice="opt">-L, --pty-log <replaceable>file</replaceable></arg>
+      <arg choice="opt">-v, --set-var <replaceable>variable</replaceable></arg>
+      <arg choice="opt">--keep-var <replaceable>variable</replaceable></arg>
       <arg choice="opt">-- <replaceable>command</replaceable></arg>
-      <arg choice="opt">-L <replaceable>file</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -107,10 +110,10 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
       will not try to allocate a pseudo terminal. Instead it will simply attach
       to the containers namespaces and run a shell or the specified command.
       -->
-      이전 버전의 <command>lxc-attach</command>는 단순히 컨테이너의 특정 네임스페이스에 붙어, 쉘을 실행하거나 첫 번째 pseudo 터미널 할당 없이 특정 명령어를 실행하였다.
+      이전 버전의 <command>lxc-attach</command>는 단순히 컨테이너의 특정 네임스페이스 내에서 쉘이나 명령어를 pseudo 터미널 할당 없이 실행하였다.
       이는 다른 특권 수준을 갖는 사용자 영역 컨텍스트 간의 전환후 TIOCSTI <command>ioctl</command>를 호출하여 입력을 가로챌 수 있는 취약점이 있다.
-      새로운 버전의 <command>lxc-attach</command>는 쉘이나 명령어를 실행하기 전에, pseudo 터미널 마스터/슬레이브 쌍을 호스트에 할당하고 터미널을 가리키고 있던 표준 입출력 파일 디스크립터들은 슬레이브 pseudo 터미널로 붙인다.
-      터미널을 가리키고 있던 표준 입출력 파일 디스크립터가 아예 없었다면, <command>lxc-attach</command>는 pseudo 터미널 할당을 시도하지 않음에 주의해야 한다. 단순히 컨테이너 네임스페이스에 붙어 쉘이나 지정한 명령어만 실행할 뿐이다.
+      새로운 버전의 <command>lxc-attach</command>는 쉘이나 명령어를 실행하기 전, 호스트에서 pseudo 터미널 마스터/슬레이브 쌍을 할당하고, 터미널을 가리키고 있던 표준 입출력 파일 디스크립터들을 pseudo 터미널의 슬레이브로 연결한다.
+      터미널을 가리키고 있던 표준 입출력 파일 디스크립터가 아예 없었다면, <command>lxc-attach</command>는 pseudo 터미널 할당을 시도하지 않음에 주의해야 한다. 단순히 컨테이너 네임스페이스 내부에서 쉘이나 지정한 명령어를 실행할 뿐이다.
     </para>
 
   </refsect1>
@@ -123,6 +126,29 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
 
       <varlistentry>
 	<term>
+       <option>-f, --rcfile <replaceable>config_file</replaceable></option>
+	</term>
+	<listitem>
+	  <para>
+         <!--
+	    Specify the configuration file to configure the virtualization
+	    and isolation functionalities for the container.
+        -->
+		컨테이너의 가상화 및 고립 기능들을 설정할 파일을 지정한다.
+	  </para>
+	  <para>
+        <!--
+	    This configuration file if present will be used even if there is
+	    already a configuration file present in the previously created
+	    container (via lxc-create).
+        -->
+       이전에 만들어졌던 컨테이너에 설정 파일이 이미 있더라도, 이 옵션이 지정되어 있다면 해당 파일을 사용한다.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term>
 	  <option>-a, --arch <replaceable>arch</replaceable></option>
 	</term>
 	<listitem>
@@ -217,7 +243,7 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
             <replaceable>MOUNT\|PID</replaceable> or quoted, e.g.
             <replaceable>"MOUNT|PID"</replaceable>.)
             -->
-            붙일 네임스페이스를 지정한다. <replaceable>NETWORK|IPC</replaceable>와 같이 파이프(|)로 구분된 리스트를 사용할 수 있다. 허용되는 값은 <replaceable>MOUNT</replaceable>, <replaceable>PID</replaceable>, <replaceable>UTSNAME</replaceable>, <replaceable>IPC</replaceable>, <replaceable>USER </replaceable>, <replaceable>NETWORK</replaceable>이다. 이를 사용하여, 컨테이너의 네트워크 네임스페이스를 사용하면서도 다른 네임스페이스는 호스트의 것을 그대로 사용하는 등의 조작이 가능하다.
+           컨테이너의 어떤 네임스페이스와 연결할지 지정한다. <replaceable>NETWORK|IPC</replaceable>와 같이 파이프(|)로 구분된 리스트를 사용할 수 있다. 허용되는 값은 <replaceable>MOUNT</replaceable>, <replaceable>PID</replaceable>, <replaceable>UTSNAME</replaceable>, <replaceable>IPC</replaceable>, <replaceable>USER </replaceable>, <replaceable>NETWORK</replaceable>이다. 이를 사용하여, 컨테이너의 네트워크 네임스페이스를 사용하면서도 다른 네임스페이스는 호스트의 것을 그대로 사용하는 등의 조작이 가능하다.
             (파이프 기호는 <replaceable>MOUNT\|PID</replaceable>처럼 \로 처리를 해주거나, <replaceable>"MOUNT|PID"</replaceable>처럼 따옴표를 붙여야 한다.)
 	  </para>
 	  <para>
@@ -258,7 +284,7 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
 	    This option will be ignored if one tries to attach to the
 	    mount namespace anyway.
             -->
-            만약 마운트 네임스페이스에 attach하려고 한다면, 이 옵션은 무시된다.
+            만약 마운트 네임스페이스에 연결하려고 한다면, 이 옵션은 무시된다.
 	  </para>
 	</listitem>
       </varlistentry>
@@ -278,7 +304,7 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
 	    please use this option to be future-proof. In addition to
 	    current environment variables, container=lxc will be set.
             -->
-            현재의 환경변수를 attach될 프로그램에도 그대로 적용한다. 이것은 현재 기본 동작이지만 (버전 0.9에서), 향후에 충분히 바뀔 수도 있다. 왜냐하면, 이것은 컨테이너에게 바람직하지 않은 정보를 넘겨줄 수 있는 위험성이 있기 때문이다. 따라서 이 기능에 의존하고 있다면, 향후에도 이를 보장할 수 있도록 이 옵션을 사용하는 것이 좋다. 또한 현재 환경 변수와 더불어, container=lxc도 설정된다.
+            현재의 환경변수를 실행할 프로그램에도 그대로 적용한다. 이것은 현재 기본 동작이지만 (버전 0.9에서), 향후에 충분히 바뀔 수도 있다. 왜냐하면, 이것은 컨테이너에게 바람직하지 않은 정보를 넘겨줄 수 있는 위험성이 있기 때문이다. 따라서 이 기능에 의존하고 있다면, 향후에도 이를 보장할 수 있도록 이 옵션을 사용하는 것이 좋다. 또한 현재 환경 변수와 더불어, container=lxc도 설정된다.
 	  </para>
 	</listitem>
       </varlistentry>
@@ -295,8 +321,8 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
 	    container=lxc will be the only environment with which the
 	    attached program starts.
             -->
-            attach하기 전에 모든 환경변수를 지운다.
-            이를 통해 바람직하지 않은 환경변수 누출을 막을 수 있다. container=lxc 만이 attach된 프로그램이 실행되기 전에 설정되는 유일한 환경변수이다.
+            프로그램을 실행하기 전에 모든 환경변수를 지운다.
+            이를 통해 바람직하지 않은 환경변수 누출을 막을 수 있다. container=lxc 만이 프로그램이 실행되기 전에 설정되는 유일한 환경변수이다.
 	  </para>
 	</listitem>
       </varlistentry>
@@ -322,6 +348,39 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
           </para>
         </listitem>
       </varlistentry>
+     <varlistentry>
+	<term>
+	  <option>-v, --set-var <replaceable>variable</replaceable></option>
+	</term>
+	<listitem>
+	  <para>
+	    <!--
+	    Set an additional environment variable that is seen by the
+	    attached program in the container. It is specified in the
+	    form of "VAR=VALUE", and can be specified multiple times.
+	    -->
+        컨테이너 내에서 실행되는 프로그램이 볼 수 있는 환경변수를 추가한다.
+        이는 "VAR=VALUE" 형태로 지정되며, 여러 번 지정할 수 있다.
+	  </para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term>
+	  <option>--keep-var <replaceable>variable</replaceable></option>
+	</term>
+	<listitem>
+	  <para>
+	    <!--
+	    Keep a specified environment variable. It can only be
+	    specified in conjunction
+	    with <replaceable>\-\-clear-env</replaceable>, and can be
+	    specified multiple times.
+	    -->
+        <replaceable>\-\-clear-env</replaceable>와 함께 사용되며, 지정한 환경변수를 지우지 않고 그대로 유지한다. 여러 번 지정할 수 있다.
+	  </para>
+	</listitem>
+      </varlistentry>
 
     </variablelist>
 
@@ -399,7 +458,7 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
       Attaching to user namespaces is supported by kernel 3.8 or higher
       with enabling user namespace.
       -->
-      사용자 네임스페이스에 attach하기 위해서는 커널 버전이 3.8 이상이어야 하고 사용자 네임스페이스가 활성화되어야 한다.
+      사용자 네임스페이스와 연결되기 위해서는 커널 버전이 3.8 이상이어야 하고 사용자 네임스페이스가 활성화되어야 한다.
     </para>
   </refsect1>
 
@@ -419,7 +478,7 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
       <replaceable>/sys</replaceable>.
       -->
       리눅스의 <replaceable>/proc</replaceable>와 <replaceable>/sys</replaceable> 파일시스템은 네임스페이스의해 영향받는 몇가지 정보들을 포함하고 있다. 예를 들어 <replaceable>/proc</replaceable>의 프로세스 id로 된 폴더들이나 <replaceable>/sys/class/net</replaceable>의 네트워크 인터페이스 정보 등이다.
-의사파일시스템을 마운트하는 프로세스의 네임스페이스가 여기에 어떤 정보를 표시할지 결정하는 것이지, <replaceable>/proc</replaceable> 또는 <replaceable>/sys</replaceable>에 접근하는 프로세스의 네임스페이스가 결정하는 것은 <emphasis>아니다.</emphasis>
+pseudo 파일시스템을 마운트하는 프로세스의 네임스페이스가 여기에 어떤 정보를 표시할지 결정하는 것이지, <replaceable>/proc</replaceable> 또는 <replaceable>/sys</replaceable>에 접근하는 프로세스의 네임스페이스가 결정하는 것은 <emphasis>아니다.</emphasis>
     </para>
     <para>
       <!--

From 14acde79bb275fe007cda2aafb8767526c39dbb9 Mon Sep 17 00:00:00 2001
From: Sungbae Yoo <sungbae.yoo at samsung.com>
Date: Thu, 18 Aug 2016 16:49:26 +0900
Subject: [PATCH 2/3] doc: Add --rcfile to Korean common opts

Update for commit 71d74a8

Signed-off-by: Sungbae Yoo <sungbae.yoo at samsung.com>
---
 doc/ko/common_options.sgml.in | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/doc/ko/common_options.sgml.in b/doc/ko/common_options.sgml.in
index a7c405e..9e8b1b1 100644
--- a/doc/ko/common_options.sgml.in
+++ b/doc/ko/common_options.sgml.in
@@ -141,6 +141,27 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
     </varlistentry>
 
     <varlistentry>
+      <term><option>--rcfile=<replaceable>FILE</replaceable></option></term>
+      <listitem>
+	<para>
+	  <!--
+	  Specify the configuration file to configure the virtualization
+	  and isolation functionalities for the container.
+	  -->
+	  컨테이너의 가상화 및 고립 기능들을 설정할 파일을 지정한다.
+	</para>
+	<para>
+	  <!--
+	  This configuration file if present will be used even if there is
+	  already a configuration file present in the previously created
+	  container (via lxc-create).
+	  -->
+	  이전에 만들어졌던 컨테이너에 설정 파일이 이미 있더라도, 이 옵션이 지정되어 있다면 해당 파일을 사용한다.
+	</para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term><option>--version</option></term>
       <listitem>
 	<para>

From d8221470d253a363459c288a6819f4774e4c34f7 Mon Sep 17 00:00:00 2001
From: Sungbae Yoo <sungbae.yoo at samsung.com>
Date: Thu, 18 Aug 2016 17:09:00 +0900
Subject: [PATCH 3/3] doc: Add --rcfile to Japanese common opts

Update for commit 71d74a8

Signed-off-by: Sungbae Yoo <sungbae.yoo at samsung.com>
---
 doc/ja/common_options.sgml.in | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/doc/ja/common_options.sgml.in b/doc/ja/common_options.sgml.in
index 912298f..39080ea 100644
--- a/doc/ja/common_options.sgml.in
+++ b/doc/ja/common_options.sgml.in
@@ -139,8 +139,28 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
 	</para>
       </listitem>
     </varlistentry>
+     <term><option>--rcfile=<replaceable>FILE</replaceable></option></term>
+      <listitem>
+	<para>
+	  <!--
+	  Specify the configuration file to configure the virtualization
+	  and isolation functionalities for the container.
+	  -->
+	  コンテナの仮想化、隔離機能の設定のための設定ファイルを指定します。
+	</para>
+	<para>
+	  <!--
+	  This configuration file if present will be used even if there is
+	  already a configuration file present in the previously created
+	  container (via lxc-create).
+	  -->
+	  (lxc-create 経由で) 前もってコンテナが作られた際の設定ファイルが既にあった場合でも、このオプションが指定された場合は、指定した設定ファイルが使用されます。
+	</para>
+      </listitem>
+    </varlistentry>
 
     <varlistentry>
+    <varlistentry>
       <term><option>--version</option></term>
       <listitem>
         <para>


More information about the lxc-devel mailing list