- 01 Feb, 2016 8 commits
-
-
Stéphane Graber authored
lxc-copy: cleanup
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Wolfgang Bumiller authored
Commit ea467969 replaced the python implementation with a C one. Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
- make free_mnts() work directly on the globals mnt_table and mnt_table_size - have free_mnts() set mnt_table = NULL and mnt_table_size = 0 when its done to avoid double frees - simplify error-handling in do_clone_ephemeral() - do_clone_ephemeral(): when chmod() falls to set permissions on the temporary folder we created for mkdtemp() remove the folder - simplify error handling in main() Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
KATOH Yasufumi authored
add the description of multiple lower layer. Update for commit 280d2379Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
KATOH Yasufumi authored
Update for commit 37cf83eaSigned-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
KATOH Yasufumi authored
Update for commit 020104c3Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
KATOH Yasufumi authored
Update for commit ff689149Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
- 31 Jan, 2016 8 commits
-
-
Stéphane Graber authored
2016 01 31/cgfs
-
Serge Hallyn authored
Just as cgmanager does, if we are calculating a task's paths, drop the trailing '/init.scope'. We don't want the container to sit under there. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Previously, name= controllers would be handled if lxc.cgroup.use=@all, but not if lxc.cgroup.use was unspecified. Change that, since you cannot run systemd in a container without it. Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Sungbae Yoo authored
Update for commit 37cf83eaSigned-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Sungbae Yoo authored
Update for commit 7eff30fdSigned-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Sungbae Yoo authored
Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:
Christian Brauner <christian.brauner@mailbox.org> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
- 30 Jan, 2016 2 commits
-
-
Stéphane Graber authored
implement chown for cgfs
-
Stéphane Graber authored
increase /dev size to 500k ( issue #781)
-
- 29 Jan, 2016 13 commits
-
-
Min Wang authored
Signed-off-by:Min Wang <mingewang@gmail.com>
-
Stéphane Graber authored
cgroup ns: move the check for whether cgns is supported
-
Serge Hallyn authored
This allows cgfs to be used to create containers in a user namespace, and have the container owner be able to use cgroups. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
Ignore any container named '.git'
-
Carlos Alberto Lopez Perez authored
* This are either '.', '..' or a hidden directory. And this names should not be used for a container in any case. * Before this patch, if you created a git repository under lxc.lxcpath (it can be useful to keep track of the configurations of your containers) Then, when you run lxc-ls you will get the following output: # lxc-ls .git container1 container2 .... This is because there is a 'config' file inside the '.git' directory. It is where git stores the configuration of the repository. And the test lxc-ls does to check if a directory contains a container is just to check if the 'directory/config' file exists. Signed-off-by:Carlos Alberto Lopez Perez <clopez@igalia.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Use ${utsname} instead of ${UTSNAME} because latter variable is not defined -
KURODA Hiraku authored
Signed-off-by:KURODA Hiraku <kuroda@syngram.co.jp>
-
Stéphane Graber authored
Template parameter --variant tells debootstrap which variant to use.
-
Stéphane Graber authored
Fix echo statement inside fedora template
-
Stéphane Graber authored
Fix message after {fedora|centos}container creation -
Stéphane Graber authored
Fix typo in lxc-archlinux.in
-
Stéphane Graber authored
lxc-test-usernic: update to reflect new lxc-test-usernic arguments
-
- 28 Jan, 2016 9 commits
-
-
Nehal J Wani authored
We no longer use mirrors.kernel.org. Commit f71e8f41 switched it to archives.fedoraproject.org Signed-off-by:
Nehal J Wani <nehaljw.kkd1@gmail.com>
-
Nehal J Wani authored
If the backingstore is not 'dir', then lxc shouldn't ask the user to change the password by performing a 'chroot'. Rather, the user should start, attach, use the passwd command, and then stop the container. Fixes #731 Signed-off-by:Nehal J Wani <nehaljw.kkd1@gmail.com>
-
Serge Hallyn authored
the new lxcpath and lxcname are not optional Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Systemd needs to be able to do these, and it does not bypass any of our apparmor rules. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
We have to do it before we join the container's mntns so we have the host's procdir. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Serge Hallyn authored
The new task waits until the container is STOPPED, then asks openvswitch to delete the port. This requires two new arguements to be sent to lxc-user-nic. Since lxc-user-nic ships with lxc, this shouldn't be a problem. Finally when calling lxc-user-nic, use execlp insteac of execvp to preserve lxcpath's const-ness. Technically we are guaranteed that execvp won't change the args, but it's worth it to silence the warnings (and not hide real errors). With this patch, container nics are cleaned up from openvswitch bridges on shutdown. Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
- With the -g/--groups argument the user can give a comma-separated list of groups MUST a container must have in order to be displayed. We receive this list as a single string. ls_has_all_grps() is called to check if a container has all the groups of MUST in its current list of groups HAS. I.e. we determine whether MUST ⊆ HAS and only then do we record the container. The original implementation was dumb in that it split the string MUST everytime it needed to check whether MUST ⊆ HAS for a given container. That's pointless work. Instead we split the string MUST only once in main() and pass it to ls_get() which passes it along to ls_has_all_grps(). - Before doing any costly checking make sure that #MUST <= #HAS. If not bail immediately. - The linear search algorithm ls_has_all_grps() currently uses stays for now. Binary search et al. do not seem to make sense since sorting the array HAS for each container is probably too costly. Especially, since it seems unlikely that a users specifies 50+ or so groups on the command line a container must have to be displayed. If however there are a lot of use-cases where users have a lot of containers each with 50-100 groups and regularly use lxc-ls with -g/--groups to only show containers that have 50 specified groups among their 50-100 groups we can revisit this issue and implement e.g. binary search or a ternary search tree. Signed-off-by:
Christian Brauner <christian.brauner@mailbox.org> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-