[lxc-devel] [lxc/lxc] 6e46cc: Make overlayfs mounts work directly
GitHub
noreply at github.com
Wed Oct 7 15:40:01 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 6e46cc0dca6662b66bb9bd9f0b340bf6c86c13df
https://github.com/lxc/lxc/commit/6e46cc0dca6662b66bb9bd9f0b340bf6c86c13df
Author: Christian Brauner <christianvanbrauner at gmail.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
Make overlayfs mounts work directly
When users wanted to mount overlay directories with lxc.mount.entry they had to
create upperdirs and workdirs beforehand in order to mount them. To create it
for them we add the functions mount_entry_create_overlay_dirs() and
mount_entry_create_aufs_dirs() which do this for them. User can now simply
specify e.g.:
lxc.mount.entry = /lower merged overlay lowerdir=/lower,upper=/upper,workdir=/workdir,create=dir
and /upper and /workdir will be created for them. /upper and /workdir need to
be absolute paths to directories which are created under the containerdir (e.g.
under $lxcpath/CONTAINERNAME/). Relative mountpoints, mountpoints outside the
containerdir, and mountpoints within the container's rootfs are ignored. (The
latter *might* change in the future should it be considered safe/useful.)
Specifying
lxc.mount.entry = /lower merged overlay lowerdir=/lower:/lower2,create=dir
will lead to a read-only overlay mount in accordance with the
kernel-documentation.
Specifying
lxc.mount.entry = /lower merged overlay lowerdir=/lower,create=dir
will fail when no upperdir and workdir options are given.
Signed-off-by: Christian Brauner <christianvanbrauner at gmail.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 035a38fc935ae9f9062e100be7d26bec350f6789
https://github.com/lxc/lxc/commit/035a38fc935ae9f9062e100be7d26bec350f6789
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
start.c:preserve_ns: added pid parameter
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: b6b2b194a8cac6a58ab5bcee8d8af92b1a3b6642
https://github.com/lxc/lxc/commit/b6b2b194a8cac6a58ab5bcee8d8af92b1a3b6642
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M src/lxc/start.c
M src/lxc/start.h
Log Message:
-----------
preserve container namespace
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 52492063b7865b460f5669a28027a5e17f0a5a09
https://github.com/lxc/lxc/commit/52492063b7865b460f5669a28027a5e17f0a5a09
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
Log Message:
-----------
added stop-hook entries
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 8438bfbda7ce927d74438d0ed3cd7df314cb0758
https://github.com/lxc/lxc/commit/8438bfbda7ce927d74438d0ed3cd7df314cb0758
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
run stop hook between STOPPING and STOPPED states
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: b3286b628b2a178d2f775a6d75ef1c0e7fe75ca6
https://github.com/lxc/lxc/commit/b3286b628b2a178d2f775a6d75ef1c0e7fe75ca6
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
pass namespace handles to the stop hook
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 0a2b5ab1e79912cd6afa52c829a3444da701a828
https://github.com/lxc/lxc/commit/0a2b5ab1e79912cd6afa52c829a3444da701a828
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M doc/lxc.container.conf.sgml.in
Log Message:
-----------
document the stop hook
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: b73f115f4142791d17bb51692367f2774fef0f39
https://github.com/lxc/lxc/commit/b73f115f4142791d17bb51692367f2774fef0f39
Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M hooks/Makefile.am
A hooks/unmount-namespace.c
Log Message:
-----------
added the unmount-namespace hook
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 7346eb3aabd7accc70b9255e811d502f4fa0868f
https://github.com/lxc/lxc/commit/7346eb3aabd7accc70b9255e811d502f4fa0868f
Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M doc/ja/lxc.container.conf.sgml.in
Log Message:
-----------
doc: Add lxc.ephemeral in Japanese lxc.container.conf(5)
Update for commit 4e6eb26
Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Commit: 5901bc791907c6c51f5c808f6b6a1c215dc9d472
https://github.com/lxc/lxc/commit/5901bc791907c6c51f5c808f6b6a1c215dc9d472
Author: Sungbae Yoo <sungbae.yoo at samsung.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M doc/ko/lxc-destroy.sgml.in
Log Message:
-----------
doc: Add the common and '-s' option in Korean lxc-destroy(1)
Update for commit 3635c5e
Signed-off-by: Sungbae Yoo <sungbae.yoo at samsung.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Commit: 73740a136b1c6b657aa2f8d78fe6a3fe38546bb3
https://github.com/lxc/lxc/commit/73740a136b1c6b657aa2f8d78fe6a3fe38546bb3
Author: Sungbae Yoo <sungbae.yoo at samsung.com>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M doc/ko/lxc.container.conf.sgml.in
Log Message:
-----------
doc: Add the note related mount in Korean lxc.container.conf(5)
Update for commit 592fd47
Signed-off-by: Sungbae Yoo <sungbae.yoo at samsung.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/80e80c40115e...73740a136b1c
More information about the lxc-devel
mailing list