[lxc-devel] [lxc/lxc] 8ede5f: Fix automatic mounts without a rootfs
GitHub
noreply at github.com
Thu Aug 27 21:37:34 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 8ede5f4c9d8d6126b251aac1c97230c8e6906e8e
https://github.com/lxc/lxc/commit/8ede5f4c9d8d6126b251aac1c97230c8e6906e8e
Author: David Ward <david.ward at ll.mit.edu>
Date: 2015-08-27 (Thu, 27 Aug 2015)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
Fix automatic mounts without a rootfs
Signed-off-by: David Ward <david.ward at ll.mit.edu>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 00370edd533c2a6851aa145b7045fc6fcdb621c8
https://github.com/lxc/lxc/commit/00370edd533c2a6851aa145b7045fc6fcdb621c8
Author: David Ward <david.ward at ll.mit.edu>
Date: 2015-08-27 (Thu, 27 Aug 2015)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
Fix container creation without a rootfs
It is not an error to create a container without a template or rootfs.
Signed-off-by: David Ward <david.ward at ll.mit.edu>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: cd2b3cfe3735fddde61279f7bb59b4c2fcee1a7c
https://github.com/lxc/lxc/commit/cd2b3cfe3735fddde61279f7bb59b4c2fcee1a7c
Author: David Ward <david.ward at ll.mit.edu>
Date: 2015-08-27 (Thu, 27 Aug 2015)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
Fix /dev symlinks without a rootfs
Signed-off-by: David Ward <david.ward at ll.mit.edu>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 14221cbb7d4bdb6f7ed0fb4ef69cd5dd034d9cb7
https://github.com/lxc/lxc/commit/14221cbb7d4bdb6f7ed0fb4ef69cd5dd034d9cb7
Author: David Ward <david.ward at ll.mit.edu>
Date: 2015-08-27 (Thu, 27 Aug 2015)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
Allow autodev without a rootfs
A container without a rootfs is useful for running a collection of
processes in separate namespaces (to provide separate networking as
an example), while sharing the host filesystem (except for specific
paths that are re-mounted as needed). For multiple processes to run
automatically when such a container is started, it can be launched
using lxc-start, and a separate instance of systemd can manage just
the processes inside the container. (This assumes that the path to
the systemd unit files is re-mounted and only contains the services
that should run inside the container.) For this use case, autodev
should be permitted for a container that does not have a rootfs.
Signed-off-by: David Ward <david.ward at ll.mit.edu>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 01958b1fe09ce635d4cb404878af599839a818d6
https://github.com/lxc/lxc/commit/01958b1fe09ce635d4cb404878af599839a818d6
Author: David Ward <david.ward at ll.mit.edu>
Date: 2015-08-27 (Thu, 27 Aug 2015)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
Only mount /proc if needed, even without a rootfs
Use the same code with and without a rootfs to check if mounting
/proc is necessary before doing so. If mounting it is unsuccessful
and there is no rootfs, continue as before.
Signed-off-by: David Ward <david.ward at ll.mit.edu>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 0f4cdd778133cada7ca27288bd84a4d80a0a0e9a
https://github.com/lxc/lxc/commit/0f4cdd778133cada7ca27288bd84a4d80a0a0e9a
Author: David Ward <david.ward at ll.mit.edu>
Date: 2015-08-27 (Thu, 27 Aug 2015)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
When creating container, save configuration if rootfs already exists
Commit 6c6892b "fix multithreaded create()" prevented the container
configuration from being saved if the backing store does not need
to be created.
Signed-off-by: David Ward <david.ward at ll.mit.edu>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 7b6753e710af1c303e423ab5e8f0440ce75b4b94
https://github.com/lxc/lxc/commit/7b6753e710af1c303e423ab5e8f0440ce75b4b94
Author: David Ward <david.ward at ll.mit.edu>
Date: 2015-08-27 (Thu, 27 Aug 2015)
Changed paths:
M src/lxc/conf.c
Log Message:
-----------
Fix verification of start hook without a rootfs
Signed-off-by: David Ward <david.ward at ll.mit.edu>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/0ab45a162ed4...7b6753e710af
More information about the lxc-devel
mailing list