rajasec
146218ab92
Removing unused variable for cgroup subsystem
...
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-06-12 12:35:49 +05:30
Mrunal Patel
a513998702
Merge pull request #893 from keloyang/leafweight
...
bug fix, LeafWeight nil err
2016-06-11 09:38:18 -07:00
Euan Kemp
394610a396
cgroups: Parse correctly if cgroup path contains :
...
Prior to this change a cgroup with a `:` character in it's path was not
parsed correctly (as occurs on some instances of systemd cgroups under
some versions of systemd, e.g. 225 with accounting).
This fixes that issue and adds a test.
Signed-off-by: Euan Kemp <euank@coreos.com>
2016-06-10 23:09:03 -07:00
root
56abe735f2
bug fix, LeafWeight nil err
...
Signed-off-by: root <yangshukui@huawei.com>
2016-06-10 18:11:20 -07:00
Michael Crosby
762ff42a49
Update readme for create start
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-06-10 16:37:55 -07:00
Michael Crosby
ae312e5155
Merge pull request #896 from brauner/devices-fix
...
fail if path to devices subsystem is missing
2016-06-10 11:54:40 -07:00
Michael Crosby
a4399557f7
Merge pull request #902 from mrunalp/readme_go16
...
readme: Mention the go 1.6 requirement in the README for building runc
2016-06-10 11:49:32 -07:00
Aleksa Sarai
e40e71f521
Merge pull request #900 from mrunalp/fix_test
...
bats: Fix spec validation test
2016-06-10 10:54:09 +10:00
Mrunal Patel
b12fbe0b15
readme: Mention the go 1.6 requirement in the README for building runc
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-06-09 16:23:43 -07:00
Mrunal Patel
10d7cfb50e
bats: Fix spec validation test
...
Use the commit that we have in Godeps.json rather than relying on
runtime-spec HEAD
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-06-09 13:16:00 -07:00
Mrunal Patel
eb217f2731
Merge pull request #894 from cyphar/bump-seccomp-32f571b70023028bd57d9288c20efbcb237f3ce0
...
godeps: bump libseccomp-golang to 32f571b70023028bd57d9288c20efbcb237f3ce0
2016-06-08 11:45:26 -07:00
Christian Brauner
a1f8e0f184
fail if path to devices subsystem is missing
...
The presence of the "devices" subsystem is a necessary condition for a
(privileged) container.
Signed-off-by: Christian Brauner <cbrauner@suse.com>
2016-06-08 16:44:15 +02:00
Aleksa Sarai
ec1ccb90f4
godeps: bump libseccomp-golang to 32f571b70023028bd57d9288c20efbcb237f3ce0
...
Signed-off-by: Aleksa Sarai <asarai@suse.de>
2016-06-08 20:15:18 +10:00
Aleksa Sarai
e34cb45a49
Merge pull request #891 from mrunalp/fix_action_sig
...
Add error return to action function signature
2016-06-08 09:11:44 +10:00
Mrunal Patel
1494c72b84
Add error return to action function signature
...
Not having an error return is deprecated
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-06-07 14:42:54 -07:00
Daniel, Dao Quang Minh
fd7d128191
Merge pull request #890 from avagin/emptyns
...
restore: add the empty-ns option
2016-06-07 18:47:32 +01:00
Andrew Vagin
acef7461a4
restore: add the empty-ns option
...
For example:
./runc restore --empty-ns network CTID
In this case criu creates a network namespace, but doesn't restore it.
We are going to use this option to restore docker containers and
Docker sets a hook to restore a network namespace.
https://github.com/xemul/criu/issues/165
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
2016-06-07 20:24:59 +03:00
Alexander Morozov
6b4ebb033a
Merge pull request #885 from mrunalp/replace_cli_pkg
...
Replace github.com/codegangsta/cli by github.com/urfave/cli
2016-06-07 09:35:50 -07:00
Aleksa Sarai
7222ba6587
tests: add debug information for failing tests
...
bats doesn't automatically print the entirety of $output when an error
has occurred in a test. This makes debugging much harder, so add to the
runc wrapper some more debug information to make maintainers' lives
easier.
Signed-off-by: Aleksa Sarai <asarai@suse.de>
2016-06-07 18:52:20 +10:00
Mrunal Patel
a753b06645
Replace github.com/codegangsta/cli by github.com/urfave/cli
...
The package got moved to a different repository
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-06-06 11:47:20 -07:00
Qiang Huang
ab10b6068b
Merge pull request #877 from rajasec/readme-update
...
Updating README for starting the container
2016-06-06 19:16:54 +08:00
Qiang Huang
8e22b1d36b
Merge pull request #882 from hushan/cleanup_ps
...
cleanup ps.go
2016-06-06 16:12:14 +08:00
Hushan Jia
772505aa24
cleanup ps.go
...
The code is called in both cases so remove the duplicate one.
Signed-off-by: Hushan Jia <hushan.jia@gmail.com>
2016-06-06 02:36:11 +08:00
rajasec
0307c88ee9
Updating README for starting the container
...
Signed-off-by: rajasec <rajasec79@gmail.com>
Updating README for starting the container
Signed-off-by: rajasec <rajasec79@gmail.com>
Updating README files for container start
Signed-off-by: rajasec <rajasec79@gmail.com>
updating README files for container start
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-06-05 14:41:58 +05:30
rajasec
12869604ca
Update for stopped container
...
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-06-04 22:08:08 +05:30
Qiang Huang
d8e840e8f9
Use cli default value for list format
...
For consistency.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2016-06-04 16:57:13 +08:00
Alexander Morozov
afaa21f79a
Merge pull request #876 from crosbymichael/bump-spec-10rc1
...
Bump spec and update runc to 1.0.0-rc1
2016-06-03 15:35:53 -07:00
Michael Crosby
04f275d460
Update runc version to 1.0.0-rc1
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-06-03 15:25:47 -07:00
Michael Crosby
d6fbe044c3
Bump spec dependency to 1.0.0-rc1
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-06-03 15:24:44 -07:00
Mrunal Patel
c4e0d94efa
Merge pull request #873 from joe2far/patch-1
...
Fixed typo in docstring
2016-06-03 12:15:29 -07:00
Mrunal Patel
c6f09f95f2
Merge pull request #868 from rajasec/libcontainer-readme
...
Updating README with set interface
2016-06-03 12:02:41 -07:00
Mrunal Patel
39aeb98025
Merge pull request #872 from rajasec/eventduration
...
runc events hang for zero duration
2016-06-03 12:02:26 -07:00
Michael Crosby
8c9db3a7a5
Add option to disable new session keys
...
This adds an `--no-new-keyring` flag to run and create so that a new
session keyring is not created for the container and the calling
processes keyring is inherited.
Fixes #818
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-06-03 11:53:07 -07:00
Michael Crosby
c5060ff303
Merge pull request #827 from crosbymichael/create-start
...
Implement create and start
2016-06-03 10:38:03 -07:00
Joe Farrell
f423296b02
Fixed typo in docstring
...
Signed-off-by: joe2far <joe2farrell@gmail.com>
2016-06-03 18:17:53 +01:00
Mrunal Patel
3211c9f721
Merge pull request #867 from rajasec/selinux-process
...
Removing the nil check for process label
2016-06-03 07:58:10 -07:00
Daniel, Dao Quang Minh
d6189a05cf
Merge pull request #869 from crosbymichael/anno
...
Add annotations to list and state output
2016-06-03 11:12:23 +01:00
Michael Crosby
5abffd3100
Add annotations to list and state output
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-06-02 12:44:43 -07:00
Michael Crosby
1d61abea46
Allow delete of created container
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-06-02 12:26:12 -07:00
rajasec
fa1c2e8337
runc events hang for zero duration
...
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-06-02 16:46:36 +05:30
Michael Crosby
6c485e6902
Merge pull request #864 from michael-holzheu/seccomp_add_ppc_and_s390x
...
seccomp: Add ppc and s390x to seccomp/config.go
2016-06-01 14:34:08 -07:00
Mrunal Patel
71c6c3e41d
Merge pull request #854 from rajasec/bash-completion-update
...
bash completion step for update command
2016-06-01 13:22:10 -07:00
Mrunal Patel
0c5e6e5b27
Merge pull request #851 from hqhq/sync_man_page
...
Update man pages to refect the latest cli change
2016-06-01 13:20:54 -07:00
Mrunal Patel
e7b8d1903a
Merge pull request #857 from hqhq/improve_update_memory
...
Improve update memory
2016-06-01 13:20:02 -07:00
Mrunal Patel
9e0c1e7bb9
Merge pull request #865 from dqminh/runc-systemd-version
...
systemd cgroup: check for Delegate property
2016-06-01 13:18:39 -07:00
rajasec
33f0ee9c95
Updating README with set interface
...
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-06-01 20:55:23 +05:30
rajasec
9742b02856
Removing the nil check for process label
...
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-06-01 20:29:44 +05:30
Daniel, Dao Quang Minh
d5ecf5c67c
systemd cgroup: check for Delegate property
...
Delegate is only available in systemd >218, applying it for older systemd will
result in an error. Therefore we should check for it when testing systemd
properties.
Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
2016-06-01 14:32:24 +00:00
Daniel, Dao Quang Minh
4450f7c8de
Merge pull request #863 from hqhq/disallow_self_lgtm
...
Disallow self-LGTMs
2016-06-01 10:33:54 +01:00
Qiang Huang
df1bd18506
Disallow self-LGTMs
...
As https://github.com/opencontainers/project-template/pull/13
is merged, change pullapprove accordingly.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2016-06-01 09:31:21 +08:00