[lxc-devel] [lxc/lxc] 8e3309: Fix automatic mounts without a rootfs
GitHub
noreply at github.com
Thu Aug 27 21:47:58 UTC 2015
Branch: refs/heads/stable-1.1
Home: https://github.com/lxc/lxc
Commit: 8e3309deb0d184ee81d704fbf0114ecf158c5255
https://github.com/lxc/lxc/commit/8e3309deb0d184ee81d704fbf0114ecf158c5255
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: 2b3e9dde257603d852b0ab442536e0a706e9a352
https://github.com/lxc/lxc/commit/2b3e9dde257603d852b0ab442536e0a706e9a352
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: 9de1f3efe345c05b6d6e944e1fe72ba6adac11ef
https://github.com/lxc/lxc/commit/9de1f3efe345c05b6d6e944e1fe72ba6adac11ef
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: b8e98f06fce3ffebbac34d8abe6a4cee89a571bd
https://github.com/lxc/lxc/commit/b8e98f06fce3ffebbac34d8abe6a4cee89a571bd
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: 9bcf970f4903d4ad97ada8474b08dd880dae3d9e
https://github.com/lxc/lxc/commit/9bcf970f4903d4ad97ada8474b08dd880dae3d9e
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: 9a2e239d6a00759d6eff34f8c767646830486066
https://github.com/lxc/lxc/commit/9a2e239d6a00759d6eff34f8c767646830486066
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: 2d533d7ac367933f4c1edba86765edf358eb47fc
https://github.com/lxc/lxc/commit/2d533d7ac367933f4c1edba86765edf358eb47fc
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/57be1f3711ef...2d533d7ac367
More information about the lxc-devel
mailing list