[lxc-devel] [PATCH] doc: Adapt manpage for Korean lxc-ls to new C implementation

2016-01-29 Thread Sungbae Yoo
Update for commit 37cf83e

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc-ls.sgml.in b/doc/ko/lxc-ls.sgml.in
index a6b9f0b..eed5e64 100644
--- a/doc/ko/lxc-ls.sgml.in
+++ b/doc/ko/lxc-ls.sgml.in
@@ -28,6 +28,7 @@ by Sungbae Yoo 
 
 
 
 ]>
 
@@ -55,7 +56,6 @@ by Sungbae Yoo 
 
   lxc-ls
   -1
-  -P lxcpath
   --active
   --frozen
   --running
@@ -63,9 +63,8 @@ by Sungbae Yoo 
   -f
   -F format
   -g groups
-  --nesting
-  filter
-  --version
+  --nesting=NUM
+  --filter=regex
 
   
 
@@ -99,20 +98,6 @@ by Sungbae Yoo 
 
   

- -P, --lxcpath
-   
-   
- 
-
-기본 값과 다른 컨테이너 경로를 사용한다. 기본 값은 @LXCPATH@이다.
- 
-   
-  
-
-  
-   
  --active


@@ -215,44 +200,32 @@ by Sungbae Yoo 
 
   
 
-  --nesting
+  --nesting=NUM
 
 
   
 
-중첩된(nested) 컨테이너들의 리스트를 표시한다.
+중첩된(nested) 컨테이너들의 리스트를 표시한다. 몇번 중첩된(nested) 컨테이너를 보여줄지 숫자로 지정할 수 
있다.
   
 
   
 
   
 
-  filter
+  --filter=regex
 
 
   
 
-lxc-ls 명령어 사용시 컨테이너 이름에 적용할 필터.
-형식은 정규표현식이다.
-  
-
-  
-
-  
-
-  --version
-
-
-  
-
-버전 정보를 표시한다.
+lxc-ls 명령어 사용시 컨테이너 이름에 적용할 정규표현식이다. 형식은 POSIX 
확장 정규표현식이다. 명시적으로 --filter을 사용하지 않고도 사용할 수 있다.
   
 
   
@@ -291,6 +264,8 @@ by Sungbae Yoo 
 
   
 
+  &commonoptions;
+
   &seealso;
 
   
-- 
1.9.1
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add valueless lxc.cap.drop behaviour to Korean man page

2016-01-29 Thread Sungbae Yoo
Update for commit 7eff30f

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index 2812bf4..82dfacd 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -1549,7 +1549,9 @@ proc proc proc nodev,noexec,nosuid 0 0
  
capabilities
7
- ,
+  .
+  If used with no value, lxc will clear any drop capabilities
+  specified up to this point.
   -->
   컨테이너에서 제거할 capability를 지정한다.
   한 줄에 여러개의 capability를 공백(space)으로 구분하여 정의할 수 있다.
@@ -1559,6 +1561,7 @@ proc proc proc nodev,noexec,nosuid 0 0
capabilities
7
  
+   값을 공백으로 지정하면, 해당 설정 이전에 지정했던 capability를 모두 취소한다. 
(lxc.cap.drop에 아무 것도 지정하지 않은 상태가 된다.)

  

-- 
1.9.1
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add lxc-copy to Korean/Japanese see_also.sgml.in

2016-01-29 Thread Sungbae Yoo

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ja/see_also.sgml.in b/doc/ja/see_also.sgml.in
index 44d5cb8..d66a967 100644
--- a/doc/ja/see_also.sgml.in
+++ b/doc/ja/see_also.sgml.in
@@ -41,6 +41,11 @@ by KATOH Yasufumi 
   ,
 
   
+   lxc-copy
+   1
+  ,
+
+  
lxc-destroy
1
   ,
diff --git a/doc/ko/see_also.sgml.in b/doc/ko/see_also.sgml.in
index 2de130f..b2fa48a 100644
--- a/doc/ko/see_also.sgml.in
+++ b/doc/ko/see_also.sgml.in
@@ -41,6 +41,11 @@ by Sungbae yoo 
   ,
 
   
+   lxc-copy
+   1
+  ,
+
+  
lxc-destroy
1
   ,
-- 
1.9.1
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add LXC_SRC_NAME to Korean lxc.container.conf(5)

2016-01-04 Thread Sungbae Yoo
Update for commit 0794541

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index 347ba65..2812bf4 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -2141,6 +2141,21 @@ mknod errno 0
   
 
   
+LXC_SRC_NAME
+  
+  
+
+  
+  clone 훅에서만 사용된다. 원본 컨테이너의 이름을 지정한다.
+
+  
+
+  
+  
+
+  
 LXC_TARGET
   
   
--
1.9.1
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add 'rbd' to the parameter of backingstore in Korean lxc-create(1)

2015-12-15 Thread Sungbae Yoo
Update for commit 60656b3

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc-create.sgml.in b/doc/ko/lxc-create.sgml.in
index e41346b..d794306 100644
--- a/doc/ko/lxc-create.sgml.in
+++ b/doc/ko/lxc-create.sgml.in
@@ -155,7 +155,7 @@ by Sungbae Yoo 

   
 
-'backingstore'는 'dir', 'lvm', 'loop', 'btrfs', 'zfs', 'best'를 지정할 
수 있다.
+'backingstore'는 'dir', 'lvm', 'loop', 'btrfs', 'zfs', 'rbd', 
'best'를 지정할 수 있다.
 기본 값은 'dir'로 컨테이너 루트 파일시스템을 의미하며 
@LXCPATH@/container/rootfs이하 디렉토리를 가리킨다.
 'dir'은 옵션으로 컨테이너 루트 파일시스템이 어느 경로에 위치할지 지정할 수 있으며, 
--dir ROOTFS로 가능하다.
 ('none'은 'dir'과 동일하다)
@@ -201,6 +201,18 @@ by Sungbae Yoo 
 'loop'로 지정되어 있다면, 'lvm'과 비슷하게 --fstype 
FSTYPE과 --fssize SIZE를 사용할 수 있다(기본값은 
'lvm'과 동일).
  
  
+   
+   'rbd'로 지정되어 있다면, ceph.conf내 적절하게 설정사항이 있어야 하고 
ceph.client.admin.keyring가 정의되어 있어야 한다.
+   아래 옵션을 지정할 수 있다 :
+   --rbdname RBDNAME는 생성하는 블록 장치의 
이름을 RBDNAME로 지정한다(기본값은 컨테이너의 이름).
+   --rbdpool POOL는 블록 장치를 넣을 풀을 
POOL로 지정한다(기본값은 'lxc').
+ 
+ 
 

[lxc-devel] [PATCH] doc: Add lxc.monitor.unshare to Korean lxc.container.conf(5)

2015-12-13 Thread Sungbae Yoo
Update for commit a8dfe4e and 6039eaa

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index 73b16a2..3d6fc09 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -2283,6 +2283,22 @@ mknod errno 0
 
 
   
+lxc.monitor.unshare
+  
+  
+
+  
+  값이 0이 아니라면, 컨테이너가 초기화되기 전 (pre-start 훅이 실행 되기 전) 호스트로부터 마운트 
네임스페이스를 unshare 한다. 시작시에 CAP_SYS_ADMIN 캐퍼빌리티가 요구된다. 기본값은 0이다.
+
+  
+
+
+  
 lxc.group
   
   
--
1.9.1
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] Add LXC_TARGET env to Korean lxc.container.conf(5)

2015-12-04 Thread Sungbae Yoo

Update for commit c154af9

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index 741003b..73b16a2 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -2138,7 +2138,22 @@ mknod errno 0
  

   
-
+  
+
+  
+LXC_TARGET
+  
+  
+
+  
+  stop 훅에서만 사용된다. 값이 "stop"이면 컨테이너가 종료되는 것을, "reboot"이면 컨테이너가 
재부팅되는 것을 의미한다.
+
+  
+
+  
 
 
 
-- 
1.9.1
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add Korean manpage for lxc-copy

2015-11-18 Thread Sungbae Yoo
Update for commit 2b47bac

Signed-off-by: Sungbae Yoo 

diff --git a/configure.ac b/configure.ac
index 447e404..9e8e191 100644
--- a/configure.ac
+++ b/configure.ac
@@ -770,6 +770,7 @@ AC_CONFIG_FILES([
doc/ko/lxc-clone.sgml
doc/ko/lxc-config.sgml
doc/ko/lxc-console.sgml
+   doc/ko/lxc-copy.sgml
doc/ko/lxc-create.sgml
doc/ko/lxc-destroy.sgml
doc/ko/lxc-device.sgml
diff --git a/doc/ko/Makefile.am b/doc/ko/Makefile.am
index 0f30168..9915c6c 100644
--- a/doc/ko/Makefile.am
+++ b/doc/ko/Makefile.am
@@ -16,6 +16,7 @@ man_MANS = \
lxc-clone.1 \
lxc-config.1 \
lxc-console.1 \
+   lxc-copy.1 \
lxc-create.1 \
lxc-destroy.1 \
lxc-execute.1 \
diff --git a/doc/ko/lxc-copy.sgml.in b/doc/ko/lxc-copy.sgml.in
new file mode 100644
index 000..d0ed1fe
--- /dev/null
+++ b/doc/ko/lxc-copy.sgml.in
@@ -0,0 +1,364 @@
+
+
+
+
+]>
+
+
+
+  @LXC_GENERATE_DATE@
+
+  
+lxc-copy
+1
+  
+
+  
+lxc-copy
+
+
+  
+  존재하는 컨테이너 복사
+
+  
+
+  
+
+  lxc-copy
+  -n, --name name
+  -P, --lxcpath path
+  -N, --newname newname
+  -p, --newpath newpath
+  -B, --backingstorage 
backingstorage
+  -s, --snapshot
+  -K, --keepdata
+  -M, --keepmac
+  -L, --fssize size 
[unit]
+
+
+  lxc-copy
+  -n, --name name
+  -P, --lxcpath path
+  -N, --newname newname
+  -p, --newpath newpath
+  -e, --ephemeral
+  -B, --backingstorage 
backingstorage
+  -s, --snapshot
+  -K, --keepdata
+  -M, --keepmac
+  -L, --fssize size 
[unit]
+
+
+  lxc-copy
+  -n, --name name
+  -P, --lxcpath path
+  -N, --newname newname
+  -p, --newpath newpath
+  -R, --rename
+
+  
+
+  
+설명
+
+
+  
+  lxc-copy는 존재하는 컨테이너의 (임시적 또는 영구적) 복사본을 생성하고, 옵션에 따라 
시작하기도 한다. lxc-clone와 lxc-start-ephemeral를 
대체한다.
+
+
+  
+  lxc-copy는 존재하는 컨테이너의 복사본을 생성한다. 복사본은 원본 컨테이너를 말그대로 
복사한 것일 수 있다. 이 경우 컨테이너의 전체 루트 파일시스템은 단순히 새로운 컨테이너로 복사된다.
+  또는, 원본 컨테이너를 copy-on-write한 것과 같이 스냅샷이 될 수 있다. 이 경우 복사본을 위해 지정한 저장소는 
스냅샷을 지원하여야 한다. 이러한 저장소에는 현재 aufs, btrfs, lvm (lvm 장치는 스냅샷의 스냅샷은 지원하지 않음), 
overlay, zfs가 있다.
+
+  
+
+
+복사본의 저장소는 원본 컨테이너와 같은 종류가 된다. 단, aufs나 디렉토리로 구성된 컨테이너의 overayfs 스냅샷은 예외이다.
+
+
+
+
+-e가 지정되면, 원본 컨테이너의 임시 스냅샷이 생성되고 시작된다. 임시 컨테이너는 
자신의 설정파일 안에 lxc.ephemeral = 1를 가지게 되며, 종료시에 제거된다. 
-e와 함께 -D를 같이 지정하면 원본 
컨테이너의 영구적인 스냅샷이 생성되고 실행된다.
+
+
+
+
+-e는 지정하고 -N으로 새이름을 
지정하지 않으면, 무작위로 이름을 정한다.
+
+
+
+
+-e로 생성되고 실행되는 컨테이너들은 자신만의 마운트를 가질 수 있다. 이는 
-m으로 지정된다. 현재 지원하는 마운트의 형식은 
aufs, bind, 
overlay의 세 종류이다. 마운트 형식은 
-m의 추가 인수로 지정된다. 그리고 쉼표(,)로 구분하여 여러번 지정할 수 있다. 
aufs와 overlay 마운트는 현재 
-m overlay=/src:/dest와 같이 지정한다. 
dest의 대상이 지정되지 않았다면 dest는 
src와 동일한 값을 가진다.
+읽기 전용 bind 마운트는 -m 
bind=/src:/dest:ro로 읽기쓰기 가능 bind마운트는 
-m bind=/src:/dest:rw로 지정한다. 읽기쓰기 가능 
bind 마운트가 기본값이므로, 읽기쓰기 가능을 원한다면 
rw은 빼도 무관하다. dest를 생략했다면 
마찬가지로 dest는 src와 같다. 여러번 
마운트는 -m 
bind=/src1:/dest1:ro,bind=/src2:ro,overlay=/src3:/dest3와 같이 가능하다.
+
+
+
+
+-m를 통해 지원되는 마운트, 옵션, 형식은 변경될 수 있다.
+
+  
+
+  
+
+옵션
+
+
+
+ 
+-N,--newname 
newname 
+  
+   복사본의 이름
+  
+ 
+
+ 
+-p,--newpath 
newpath 
+  
+   복사본의 경로
+  
+ 
+
+ 
+-R,--rename  
+  
+   원본 컨테이너의 이름 변경
+  
+ 
+
+ 
+-s,--snapshot  
+  
+
+
+원본 컨테이너의 스냅샷을 생성한다. 복사본의 저장소는 반드시 스냅샷을 지원해야 한다. 현재 aufs, btrfs, 
lvm, overlay, zfs가 가능하다.
+
+  
+ 
+
+ 
+-F,--foreground 
+  
+
+
+스냅샷을 포그라운드로 실행한다. 스냅샷 콘솔은 현재 tty에 붙게 된다. (이 옵션은 
-e 옵션이랑만 사용 가능하다.)
+
+  
+ 
+
+ 
+-d, --daemon 
+  
+
+
+데몬으로 스냅샷을 실행한다. (이는 임시 컨테이너의 기본 모드이다.) 오류가 발생하더라도 컨테이너가 tty를 가지지 
않기 때문에 오류는 표시되지 않는다.
+대신 로그 파일을 사용해 로그를 확인할 수 있다. 이 옵션은 -e 
옵션이랑만 사용 가능하다.)
+
+  
+ 
+
+ 
+-m, --mount 
mounttype 
+  
+
+
+스냅샷의 마운트를 지정한다. 마운트 형식을 위한 opts 인자는 
aufs, bind, overlay를 사용 가능하다. 예를 들면 -m 
bind=/src:/dest:ro,overlay=/src:/dest이다. 이 옵션은 
-e 옵션이랑만 사용 가능하다.)
+
+  
+ 
+
+ 
+-B, --backingstorage 
backingstorage
+  
+
+
+복사본이 사용할 저장소의 형식을 지정한다. 'backingstorage'에는 'aufs', 'btrfs', 'dir', 
'lvm', 'loop', 'overlay','zfs'이 사용 가능하다.
+
+  
+ 
+
+ 
+-L, --fssize size 
[unit]
+  
+
+'lvm' 파

[lxc-devel] [PATCH] Unify the polite word style in Korean manpages

2015-11-02 Thread Sungbae Yoo
Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc-attach.sgml.in b/doc/ko/lxc-attach.sgml.in
index c40dba9..f8e23f8 100644
--- a/doc/ko/lxc-attach.sgml.in
+++ b/doc/ko/lxc-attach.sgml.in
@@ -88,7 +88,7 @@ by Sungbae Yoo 
   inside the container or the container does not have a working
   nsswitch mechanism.
   -->
-  만약 command가 지정되어 있지 않다면, 
lxc-attach가 실행되어 있는 현재 쉘이 컨테이너 안에 있는지를 검사하고 실행한다.
+  만약 command가 지정되지 않았다면, 
lxc-attach가 현재 실행 중인 쉘이 컨테이너 안에도 있는지 검사하고 이를 실행한다.
   만약 컨테이너 안에 사용자가 존재하지 않거나, nsswitch가 제대로 동작하지 않는 경우에는 이 명령이 실패하게 된다.
 
 
@@ -383,8 +383,8 @@ by Sungbae Yoo 
   /sys/class/net and attaching to just
   the network namespace.
   -->
-  -s 를 사용하여 컨테이너의 pid 네임스페이스에만 attach 시키고 마운트 
네임스페이스(컨테이너의 /proc는 포함하고, 호스트의 것은 포함하지 않는)는 attach 
시키지 않는 경우, /proc의 내용은 컨테이너의 것이 아닌 호스트의 것이 됩니다.
-비슷한 사례로 네트워크 네임스페이스만을 연결 하고  /sys/class/net의 내용을 읽을 
때도 같은 현상이 있습니다.
+  -s 를 사용하여 컨테이너의 pid 네임스페이스에만 attach 시키고 마운트 
네임스페이스(컨테이너의 /proc는 포함하고, 호스트의 것은 포함하지 않는)는 attach 
시키지 않는 경우, /proc의 내용은 컨테이너의 것이 아닌 호스트의 것이 된다.
+네트워크 네임스페이스만을 연결하고  /sys/class/net의 내용을 읽을 때도 같은 
현상이 있다.
 
 
   
-  이러한 문제를 해결하기 위해, -R 옵션이 제공됩니다. 해당 옵션은 attach되는 프로세스의 
네트워크/pid 네임스페이스를 반영하기 위해 /proc와 
/sys를 다시 마운트 합니다.
-호스트의 실제 파일시스템에 방해가 되지 않기 위해 마운트 네임스페이스는 공유되지 
않습니다(lxc-unshare의 동작과 비슷). /proc와 
/sys 파일시스템을 제외하고 호스트 마운트 네임스페이스와 동일한 새로운 마운트 네임스페이스가 
주어지게 됩니다.
+  이러한 문제를 해결하기 위해, -R 옵션이 제공된다. 해당 옵션은 attach되는 프로세스의 
네트워크/pid 네임스페이스를 반영하기 위해 /proc와 
/sys를 다시 마운트한다.
+호스트의 실제 파일시스템에 방해가 되지 않기 위해 마운트 네임스페이스는 공유되지 
않는다(lxc-unshare의 동작과 비슷). /proc와 
/sys 파일시스템을 제외하고 호스트 마운트 네임스페이스와 동일한 새로운 마운트 네임스페이스가 
주어지게 된다.
 
   
 
@@ -412,7 +412,7 @@ by Sungbae Yoo 
   be used with care, as it may break the isolation of the containers
   if used improperly.
   -->
-  -e와 -s 옵션을 사용할때는 주의하여야 합니다. 잘못사용하게 하면 
컨테이너들 간의 고립(isolation)을 깨트릴 수 있습니다.
+  -e와 -s 옵션을 사용할때는 주의해야 한다. 잘못 사용하게 하면 
컨테이너들 간의 고립(isolation)을 깨트릴 수 있다.
 
   
 
diff --git a/doc/ko/lxc-autostart.sgml.in b/doc/ko/lxc-autostart.sgml.in
index 7385048..c8d38c0 100644
--- a/doc/ko/lxc-autostart.sgml.in
+++ b/doc/ko/lxc-autostart.sgml.in
@@ -202,7 +202,7 @@ by Sungbae Yoo 
   쉼표(,)로 구분된 선택할 그룹의 리스트.
   (기본값은 lxc.group이 없는 것이다 - NULL 그룹)
 
-  이 옵션은 여러번 지정될 수 있으며, 각 옵션들은 연결될 수 있다. NULL 또는 빈 그룹은 첫번째 
쉼표, 맨 뒤의 쉼표, 두개의 쉼표 등으로 지정할 수 있다. 그룹들은 지정한 순서대로 처리됩니다. 여러번 호출된 -g 옵션과 콤마로 구분된 
목록들은 자유롭게 혼용하여 사용 할 수 있다.
+  이 옵션은 여러번 지정될 수 있으며, 각 옵션들은 연결될 수 있다. NULL 또는 빈 그룹은 첫번째 
쉼표, 맨 뒤의 쉼표, 두개의 쉼표 등으로 지정할 수 있다. 그룹들은 지정한 순서대로 처리된다. 여러번 호출된 -g 옵션과 콤마로 구분된 
목록들은 자유롭게 혼용하여 사용 할 수 있다.
 
 
 
@@ -248,7 +248,7 @@ by Sungbae Yoo 
 shutdown.  It's used to select which containers to start in what 
order
 and how much to delay between each startup when the host system 
boots.
 -->
-  부팅과 종료시 호스트의 시스>템에서 실행되도록 활성화 되어있을 때, 
lxc-autostart 명령어는 LXC 시스템 서비스의 일부로 사용됩니다. 어떤 컨테이너를 어떤 순서로 
얼마만큼 시작간격을 두어 시작할지를 선택하는데 사용됩니다.
+  부팅과 종료시 호스트의 시스>템에서 실행되도록 활성화 되어있을 때, 
lxc-autostart 명령어는 LXC 시스템 서비스의 일부로 사용된다. 어떤 컨테이너를 어떤 순서로 
얼마만큼 간격을 두어 시작할지 선택하는데 사용된다.
 
 
 
diff --git a/doc/ko/lxc-create.sgml.in b/doc/ko/lxc-create.sgml.in
index 9e0a752..e41346b 100644
--- a/doc/ko/lxc-create.sgml.in
+++ b/doc/ko/lxc-create.sgml.in
@@ -120,7 +120,7 @@ by Sungbae Yoo 
Specify the configuration file to configure the virtualization
and isolation functionalities for the container.
 -->
-컨테이너 가상화 및 고립 기능을 설정하는 설정파일을 지정합니다.
+컨테이너 가상화 및 고립 기능을 설정하는 설정파일을 지정한다.
  

   
diff --git a/doc/ko/lxc-ls.sgml.in b/doc/ko/lxc-ls.sgml.in
index 7dd6efc..d3323b0 100644
--- a/doc/ko/lxc-ls.sgml.in
+++ b/doc/ko/lxc-ls.sgml.in
@@ -222,7 +222,7 @@ by Sungbae Yoo 
 
-중첩된(nested) 컨테이너들의 리스트를 표시합니다.
+중첩된(nested) 컨테이너들의 리스트를 표시한다.
   
 
   
diff --git a/doc/ko/lxc-snapshot.sgml.in b/doc/ko/lxc-snapshot.sgml.in
index ec7a628..5f05e31 100644
--- a/doc/ko/lxc-snapshot.sgml.in
+++ b/doc/ko/lxc-snapshot.sgml.in
@@ -123,7 +123,7 @@ by Sungbae Yoo 
 Destroy the named snapshot.  If the named snapshot is ALL, 
then all snapshots
will be destroyed.
 -->
-지정한 스냅샷을 제거합니다. 스냅샷의 이름이 ALL인 경우, 모든 스냅샷을 제거한다.
+지정한 스냅샷을 제거한다. 스냅샷의 이름이 ALL인 경우, 모든 스냅샷을 제거한다.
   
  
 
diff --git a/doc/ko/lxc-start.sgml.in b/doc/ko/lxc-start.sgml.in
index f50f0bf..a507747 100644
--- a/doc/ko/lxc-start.sgml.in
+++ b/doc/ko/lxc-start.sgml.in
@@ -153,7 +153,7 @@ by Sungbae Yoo 
 
-프로세스 ID를 넣은 파일을 생성합니다.
+프로세스 ID를 넣은 파일을 생성한다.
 (역주 : systemd의 PIDFile= 옵션 등에 유용하게 사용가능하다)
  
    
@@ -245,7 +245,7 @@ by Sungbae Yoo 
  failure instead. Note: --daem

[lxc-devel] [PATCH] doc: Add the description of lxc.hook.stop to Korean lxc.container.conf(5)

2015-11-02 Thread Sungbae Yoo
Update for commit 0a2b5ab

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index f06e559..741003b 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -1800,9 +1800,12 @@ mknod errno 0
   Container name. 
   Section (always 'lxc'). 
   The hook type (i.e. 'clone' or 'pre-mount'). 

-  Additional arguments In the
+  Additional arguments. In the
  case of the clone hook, any extra arguments passed to
- lxc-clone will appear as further arguments to the hook. 

+ lxc-clone will appear as further arguments to the hook.
+ In the case of the stop hook, paths to filedescriptors
+ for each of the container's namespaces along with their types
+ are passed. 

The following environment variables are set:

@@ -1819,7 +1822,7 @@ mknod errno 0
  컨테이너 이름
  섹션 (보통 'lxc')
  훅 종류 ('clone', 'pre-mount' 등)
- clone 훅일 경우 추가인수. lxc-clone에 전달된 인수가 훅으로 
전달된다.
+ 추가 인수. clone 훅일 경우, lxc-clone에게 넘였던 추가 인수들이 넘어온다. 
stop 훅일 경우, 컨테이너의 네임스페이스 각각에 대한 이름과 파일 디스크립터의 경로가 넘어온다.

 환경 변수 :

@@ -1939,6 +1942,31 @@ mknod errno 0
   

  
+   lxc.hook.stop
+ 
+ 
+   
+ 
+ 컨테이너가 종료된 후 컨테이너 네임스페이스에 대한 참조를 넘겨받는 호스트의 네임스페이스에서 실행되는 훅.
+ 각각의 네임스페이스들은 훅에 추가인수로 넘겨진다. 해당 인수는 네임스페이스의 이름과 네임스페이스의 파일 디스크립터를 
얻어올 수 있는 파일이름을 가지고 있으며, 콜론으로 구분된다.
+ 네임스페이스 이름은 /proc/PID/ns 디렉토리 내의 파일 이름이다. 예를 
들어 마운트 네임스페이스에 대응하는 인수는 일반적으로 mnt:/proc/PID/fd/12와 같이 된다.
+   
+ 
+   
+  
+  
+   
+ 
lxc.hook.post-stop
  
  
-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add lxc.ephemeral in Korean lxc.container.conf(5)

2015-10-07 Thread Sungbae Yoo
Update for commit 4e6eb26

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index 6d225a8..f06e559 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -369,6 +369,32 @@ by Sungbae Yoo 
 
 
 
+  임시 컨테이너
+  
+
+컨테이너가 종료될 때, 해당 컨테이너를 제거할지 여부를 지정할 수 있다.
+  
+  
+
+  
+lxc.ephemeral
+  
+  
+
+  
+  지정 가능한 값은 0 또는 1이다. 1로 설정하면, 컨테이너를 종료할 때 해당 컨테이너를 제거한다.
+
+  
+
+  
+
+
+
   네트워크
   
 

[lxc-devel] [PATCH] doc: Add the note related mount in Korean lxc.container.conf(5)

2015-10-06 Thread Sungbae Yoo
Update for commit 592fd47

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index b305680..6d225a8 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -1008,6 +1008,23 @@ by Sungbae Yoo 
 이 마운트 포인트들은 컨테이너에서만 보이고 외부에서 실행하는 프로세스들에겐 보이지 않는다.
 이는 예를 들어  /etc, /var, /home을 마운트할 때 유용하다.
   
+  
+
+주의 - 보통 LXC는 마운트 대상과 상대 경로로 된 바인드 마운트 소스들이 컨테이너의 루트 아래에 있도록 보장할 것이다. 
이는 호스트 디렉토리와 파일들을 겹쳐서 마운트하는 유형의 공격을 피하기 위한 것이다. (절대 경로로 된 마운트 소스 내에 존재하는 심볼릭 
링크들은 무시될 것이다.)
+하지만, 만약 컨테이너 설정에서 컨테이너 사용자가 제어할 수 있는, 예를 들어 /home/joe와 같은 디렉토리를 컨테이너 
내의 path에 먼저 마운트 하고 나서,  path 내에 또 
마운트를 하는 경우가 있다면,
+컨테이너 사용자가 자신의 home 디렉토리에 있는 심볼릭링크를 정확한 시간에 조작하여, TOCTTOU (역주 : Time of 
check to time of use) 공격이 가능할 것이다.
+  
   

  
-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add the common and '-s' option in Korean lxc-destroy(1)

2015-10-06 Thread Sungbae Yoo
Update for commit 3635c5e

Signed-off-by: Sungbae Yoo 

diff --git a/doc/ko/lxc-destroy.sgml.in b/doc/ko/lxc-destroy.sgml.in
index cb5d0b6..5a9cb36 100644
--- a/doc/ko/lxc-destroy.sgml.in
+++ b/doc/ko/lxc-destroy.sgml.in
@@ -57,6 +57,7 @@ by Sungbae Yoo 
   lxc-destroy
   -n name
   -f
+  -s
 
   
 
@@ -80,7 +81,7 @@ by Sungbae Yoo 
 
   

- -f
+ -f, --force


  
@@ -96,13 +97,13 @@ by Sungbae Yoo 
   
 
   
--P, 
--lxcpath=PATH
+-s, --snapshots
 
  
 
-컨테이너 경로를 지정한다. 기본값은 @LXCPATH@이다.
+해당 컨테이너의 모든 스냅샷까지 제거한다.
  
 
   
@@ -111,6 +112,8 @@ by Sungbae Yoo 
 
   
 
+  &commonoptions;
+
   
 진단
 
-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Update Korean lxc-snapshot(1) for newname option

2015-09-01 Thread Sungbae Yoo
Update for commit dedd4f6

Signed-off-by: Sungbae Yoo 
---
 doc/ko/lxc-snapshot.sgml.in | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/ko/lxc-snapshot.sgml.in b/doc/ko/lxc-snapshot.sgml.in
index ac07970..ec7a628 100644
--- a/doc/ko/lxc-snapshot.sgml.in
+++ b/doc/ko/lxc-snapshot.sgml.in
@@ -72,7 +72,7 @@ by Sungbae Yoo 
   lxc-snapshot
   -n, --name name
   -r, -restore 
snapshot-name
-newname
+  -N, --newname newname
 
   
 
@@ -164,14 +164,14 @@ by Sungbae Yoo 
  
 
  
-newname 
+-N, --newname 
   
-   
-  
-  스냅샷을 복원할 때, 복원된 컨테이너의 이름을 마지막 인자로 넘길 수 있다. 만약 이름을 넘기지 않았다면, 원본 
컨테이너를 제거하고 복원된 컨테이너로 교체한다. 원본 스냅샷을 지우는 것은 aufs, overlayfs, zfs의 경우에는 불가능하다는 것에 
주의해야 한다.
-
+  스냅샷을 복원할 때, 복원된 컨테이너의 이름을 --newname로 명시적으로 
지정하지 않았다면 마지막 인자를 이름으로 사용한다. 만약 newname이 원래 컨테이너의 이름과 같다면, 원래 컨테이너는 제거되고 복원되는 
컨테이너로 교체된다. aufs, overlayfs, zfs의 경우에는 원본 스냅샷의 제거가 불가능하다는 것에 주의해야 한다.
+   
   
  
 
-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add lxc.init_(uid|gid) in Korean lxc.container.conf(5)

2015-09-01 Thread Sungbae Yoo
update for commit dbca923

Signed-off-by: Sungbae Yoo 
---
 doc/ko/lxc.container.conf.sgml.in | 48 +++
 1 file changed, 48 insertions(+)

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index ba015af..b305680 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -321,6 +321,54 @@ by Sungbae Yoo 
 
 
 
+  Init이 사용할 ID
+  
+
+lxc-execute가 실행하는 컨테이너의 init 및 명령어가 사용할 UID/GID를 지정한다.
+
+
+이 옵션들은 lxc-execute가 사용자 네임스페이스 안에서 실행될 때만 적용된다.
+
+
+기본 값: UID(0), GID(0)
+  
+  
+
+  
+lxc.init_uid
+  
+  
+
+  
+  init이 사용자 네임스페이스 안에서 사용할 UID.
+
+  
+
+
+  
+lxc.init_gid
+  
+  
+
+  
+  init이 사용자 네임스페이스 안에서 사용할 GID.
+
+  
+
+  
+
+
+
   네트워크
   
 

[lxc-devel] [PATCH] doc: Update Korean lxc.cgroup.use in lxc.system.conf(5)

2015-09-01 Thread Sungbae Yoo
Update for commit 2d8632d

Signed-off-by: Sungbae Yoo 
---
 doc/ko/lxc.system.conf.sgml.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/ko/lxc.system.conf.sgml.in b/doc/ko/lxc.system.conf.sgml.in
index 3f9c7dd..ea8451e 100644
--- a/doc/ko/lxc.system.conf.sgml.in
+++ b/doc/ko/lxc.system.conf.sgml.in
@@ -119,11 +119,10 @@ by Sungbae Yoo 
 
   
   사용할 cgroup 컨트롤러의 쉼표(,)로 구분된 목록.
-  현재 LXC가 cgmanager를 사용하여 cgroup을 관리하고 있을 경우, 이 설정은 무시된다.
+  아무것도 지정하지 않았다면, 사용가능한 컨트롤러 전체를 사용될 것이다.
 
   
 
-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add the rename option to lxc-clone(1) in Korean manual

2015-09-01 Thread Sungbae Yoo
Update for commit 585f3c6

Signed-off-by: Sungbae Yoo 
---
 doc/ko/lxc-clone.sgml.in | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/doc/ko/lxc-clone.sgml.in b/doc/ko/lxc-clone.sgml.in
index a9c3bd5..c5f6766 100644
--- a/doc/ko/lxc-clone.sgml.in
+++ b/doc/ko/lxc-clone.sgml.in
@@ -64,6 +64,7 @@ by Sungbae Yoo 
   -L fssize
   -p lxcpath
   -P newlxcpath
+  -R 
   -o orig
   -n new
   -- hook arguments
@@ -78,6 +79,7 @@ by Sungbae Yoo 
   -L fssize
   -p lxcpath
   -P newlxcpath
+  -R 
   orig
   new
   -- hook arguments
@@ -267,6 +269,22 @@ by Sungbae Yoo 
 
   

+ -R, --rename
+   
+   
+ 
+
+컨테이너의 이름을 변경한다. orig를 
new로 이름을 바꾼다.
+ 
+   
+  
+
+  
+   
+
  -o, --orig orig


-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Add LXC-specific mount option in Korean lxc.container.conf(5)

2015-09-01 Thread Sungbae Yoo
Update for commit f5b67b3

Signed-off-by: Sungbae Yoo 
---
 doc/ko/lxc.container.conf.sgml.in | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/doc/ko/lxc.container.conf.sgml.in 
b/doc/ko/lxc.container.conf.sgml.in
index 1781d33..ba015af 100644
--- a/doc/ko/lxc.container.conf.sgml.in
+++ b/doc/ko/lxc.container.conf.sgml.in
@@ -1021,6 +1021,16 @@ proc proc proc nodev,noexec,nosuid 0 0
  fstab format.
   -->
   fstab의 형식으로, 한 줄당 마운트 포인트 하나를 지정한다.
+
+  
+  또한 마운트 옵션에 아래 2가지 옵션을 추가적으로 사용할 수 있다. 이는 LXC 자체적으로 사용하는 옵션이다.
+  optional은 마운트를 못하더라도, 실패로 처리하지 않게 한다.
+  create=dir와 create=file는 마운트할 
때, 디렉토리(dir) 또는 파일(file)을 생성한다.

  

-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Update Korean lxc-usernet(5) for supporting usergroups

2015-07-20 Thread Sungbae Yoo
Update for commit 1940bff

Signed-off-by: Sungbae Yoo 
---
 doc/ko/lxc-usernet.sgml.in | 41 +
 1 file changed, 37 insertions(+), 4 deletions(-)

diff --git a/doc/ko/lxc-usernet.sgml.in b/doc/ko/lxc-usernet.sgml.in
index f64fb7e..7ef81b9 100644
--- a/doc/ko/lxc-usernet.sgml.in
+++ b/doc/ko/lxc-usernet.sgml.in
@@ -75,6 +75,10 @@ by Sungbae Yoo 
   
   user type 
bridge number
   
+  또는 아래의 형식을 사용할 수 있다.
+  
+  @group type 
bridge number
+  
   
 
+  이 항목이 적용될 그룹 이름을 가리킨다.
+
+  
+
+
+
+  
type
  
  
@@ -123,7 +141,7 @@ by Sungbae Yoo 
  is the bridge to which the network interfaces may be attached, for
  instance lxcbr0.
   -->
-  네트워크 인터페이스들을 붙일 브리지를 가리킨다.
+  네트워크 인터페이스들을 붙일 수 있는 브리지를 가리킨다.
   예를 들어 lxcbr0로 지정 가능하다.
 
  
@@ -136,15 +154,30 @@ by Sungbae Yoo 
  

   
-  지정된 사용자가 지정된 브리지에 붙일 지정된 형태의 네트워크 인터페이스 개수를 가리킨다.
+  지정한 사용자 또는 그룹이 지정된 브리지에 붙일 수 있는 지정된 형태의 네트워크 인터페이스 개수를 가리킨다.
   예를 들어 2로 지정 가능하다.
 
  

   
+
+  
+
+사용자는 사용자 이름이나 하나 이상의 사용자 그룹을 통해 지정될 수 있으므로, 여러 줄의 설정을 통해 사용자가 네트워크 
인터페이스들을 생성할 수 있도록 하는 것이 가능하다.
+이러한 경우, 인터페이스 생성은 파일 상의 순서대로 사용자 또는 그룹의 사용량에 집계된다.
+만약 해당 줄에서 할당한 개수가 가득차면, 또다른 설정이 발견되거나 파일의 끝에 도달할 때까지 행을 계속 읽어들인다.
+  
 
 
   
-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[lxc-devel] [PATCH] doc: Update Korean lxc-usernet(5) for supporting usergroups

2015-07-02 Thread Sungbae Yoo
Update for commit 1940bff

Signed-off-by: Sungbae Yoo 
---
 doc/ko/lxc-usernet.sgml.in | 41 +
 1 file changed, 37 insertions(+), 4 deletions(-)

diff --git a/doc/ko/lxc-usernet.sgml.in b/doc/ko/lxc-usernet.sgml.in
index f64fb7e..7ef81b9 100644
--- a/doc/ko/lxc-usernet.sgml.in
+++ b/doc/ko/lxc-usernet.sgml.in
@@ -75,6 +75,10 @@ by Sungbae Yoo 
   
   user type 
bridge number
   
+  또는 아래의 형식을 사용할 수 있다.
+  
+  @group type 
bridge number
+  
   
 
+  이 항목이 적용될 그룹 이름을 가리킨다.
+
+  
+
+
+
+  
type
  
  
@@ -123,7 +141,7 @@ by Sungbae Yoo 
  is the bridge to which the network interfaces may be attached, for
  instance lxcbr0.
   -->
-  네트워크 인터페이스들을 붙일 브리지를 가리킨다.
+  네트워크 인터페이스들을 붙일 수 있는 브리지를 가리킨다.
   예를 들어 lxcbr0로 지정 가능하다.
 
  
@@ -136,15 +154,30 @@ by Sungbae Yoo 
  

   
-  지정된 사용자가 지정된 브리지에 붙일 지정된 형태의 네트워크 인터페이스 개수를 가리킨다.
+  지정한 사용자 또는 그룹이 지정된 브리지에 붙일 수 있는 지정된 형태의 네트워크 인터페이스 개수를 가리킨다.
   예를 들어 2로 지정 가능하다.
 
  

   
+
+  
+
+사용자는 사용자 이름이나 하나 이상의 사용자 그룹을 통해 지정될 수 있으므로, 여러 줄의 설정을 통해 사용자가 네트워크 
인터페이스들을 생성할 수 있도록 하는 것이 가능하다.
+이러한 경우, 인터페이스 생성은 파일 상의 순서대로 사용자 또는 그룹의 사용량에 집계된다.
+만약 해당 줄에서 할당한 개수가 가득차면, 또다른 설정이 발견되거나 파일의 끝에 도달할 때까지 행을 계속 읽어들인다.
+  
 
 
   
-- 
1.9.1

___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel