1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-06-01 20:36:12 +02:00
Commit Graph

849 Commits

Author SHA1 Message Date
Yashodhan Joshi 860526a3af Setup Clap for taking commandline values 2021-08-29 13:32:38 +05:30
yihuaf ff582b7f7f
Fix graceful shutdown when intermediate or init process errors or panic (#238)
* Fix graceful shutdown when intermediate or init process error out
* Only set hostname when enter into new uts ns
* enable linux_ns_path_type test
2021-08-28 01:48:13 -07:00
utam0k 98a16efd6d
Merge pull request #229 from chenyukang/fix-tutorial-readme
Fix tutorial in readme
2021-08-28 08:47:40 +09:00
yihuaf ebf4708f46
Fix user namespace for integration tests (#233)
* Fix entering into user namespace correctly

1. Allow entering user namespace when calling process is root.
Previously, only when calling process is non-root, will the rootless
condition be triggered.
2. Move the creation to the NotifyListener into main process. Once the
container init process enter into user namespace, we can't bind to a
unix domain socket where the parent directory is owned by root.

* Now we pass 2 more namespace tests
2021-08-27 11:55:03 -07:00
utam0k f855a1d935
Merge pull request #231 from utam0k/feature/drawio
introduction to sequence diagrams using vscode's draw.io
2021-08-27 19:23:27 +09:00
utam0k 9f0694d123 the cgroup process was in the wrong place. 2021-08-27 18:50:15 +09:00
yukang 4eb5b3fe75 tweak readme tutorial 2021-08-27 08:01:17 +00:00
yukang 743b6a6918 add codecov 2021-08-26 13:55:54 +00:00
yukang 29fb64aca9 fix readme for missing pkg 2021-08-26 13:32:04 +00:00
utam0k 10a7f62d10 introduction to sequence diagrams using vscode's draw.io 2021-08-26 21:27:54 +09:00
utam0k db7cc788b9
Merge pull request #220 from chenyukang/fix-doc
Tweak document
2021-08-26 15:41:45 +09:00
yukang bc69788d79 fix tutorial in readme 2021-08-25 13:59:21 +00:00
utam0k 14856066b1
Merge pull request #224 from chenyukang/pass-root-readonly
Fix #209, pass root-readonly
2021-08-25 10:01:51 +09:00
yukang 1aa467f7da add example for testing 2021-08-25 00:46:45 +00:00
yukang 2d09af6d2b tweak bash style 2021-08-24 14:59:54 +00:00
yukang 3920f6e6f2 add pattern for running part of tests 2021-08-24 14:56:07 +00:00
yukang e38045c580 fix style 2021-08-24 14:45:38 +00:00
yukang 0433efb5e0 fix #209, pass root-readonly 2021-08-24 14:43:00 +00:00
utam0k a14ce13bcd
Merge pull request #211 from utam0k/feature/v1-blkio
exclude blkio test case in runtime-tools bacause it doesn't support linux kernel 5.0 or later.
2021-08-24 22:26:42 +09:00
utam0k 1ea8927225 Merge branch 'main' into feature/v1-blkio 2021-08-24 22:08:30 +09:00
utam0k 3572f7ed46
Merge pull request #223 from chenyukang/fix-test-script
Show error log only when error happens
2021-08-24 21:15:32 +09:00
Yukang 627209b2d8
Update integration_test.sh
Co-authored-by: utam0k <k0ma@utam0k.jp>
2021-08-24 20:07:41 +08:00
utam0k 25496f062c
Merge pull request #222 from chenyukang/fix-integrateion-test
Fix integration_test script for go env
2021-08-24 18:58:51 +09:00
yukang 89005c4d0e only show log when error happens 2021-08-24 17:49:54 +08:00
yukang b1d2f123ab merge master 2021-08-24 07:14:43 +00:00
yukang c62ae98a48 fix integration_test script for go env 2021-08-24 06:57:23 +00:00
utam0k 99e5216e9e
Merge pull request #217 from yihuaf/yihuaf/185
Fix clone(2) with double fork
2021-08-24 12:38:15 +09:00
yukang c4ca5172f5 tweak document 2021-08-24 01:17:20 +00:00
utam0k 99997fc256
Merge pull request #219 from tiqwab/add-libs-in-vagrant-provision
Add necessary libraries to build youki in Vagrant provision
2021-08-24 09:30:13 +09:00
tiqwab bac10199c7 Add necessary libraries in vagrant provision 2021-08-24 08:56:58 +09:00
yihuaf ad8e41725b Remove the use of epoll.
Use blocking mio pipe directly.
2021-08-23 22:59:26 +02:00
yihuaf 45d129f75d move id mapping code out of channel 2021-08-23 22:59:08 +02:00
yihuaf 210ee3aa4f remove --nocapture 2021-08-23 18:00:52 +02:00
yihuaf 83257ec50e Update the documentation 2021-08-23 17:37:03 +02:00
yihuaf 0f9490c68b Implement double fork 2021-08-23 17:37:03 +02:00
Furisto 414fa3a448
Merge pull request #216 from utam0k/update-readme-increment-pass-case
increment as we pass the `process` case.
2021-08-22 20:47:48 +02:00
utam0k 8c4fc32db3 increment as we pass the `process` case.
https://github.com/containers/youki/pull/215
2021-08-22 18:35:19 +09:00
utam0k 6b35c762cd
Merge pull request #215 from guni1192/pass-the-process-integration-test
Chdir to process.cwd before starting container to pass integration test
2021-08-22 18:27:33 +09:00
Takashi IIGUNI ad676aed2e fix: cargo fmt and close block 2021-08-22 09:16:17 +00:00
Takashi IIGUNI ae1984ebe2
Remove mut from do_chdir flag
Co-authored-by: utam0k <k0ma@utam0k.jp>
2021-08-22 18:03:32 +09:00
Takashi IIGUNI 3d1a2d8ad9 fix: Delete lines that I forgot to erase.
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-08-22 08:48:19 +00:00
Takashi IIGUNI 6caedd6de0 fix: cargo fmt 2021-08-22 08:12:20 +00:00
Takashi IIGUNI ddcc3fc353 chdir to process.cwd before exec command to pass integration test
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-08-22 07:51:30 +00:00
utam0k 3f747de2dd
Merge pull request #214 from MoZhonghua/fix-mmap-ENOMEM
fork: use 8MB stack if rlimit returns unlimited
2021-08-22 16:09:06 +09:00
MoZhonghua 90a6ad3a53 fork: use 8MB stack if rlimit returns unlimited 2021-08-22 14:09:36 +08:00
Furisto 85d0cf6601
Merge pull request #212 from utam0k/feature/read-only-paths
ensure theat read only paths work properly.
2021-08-21 21:22:12 +02:00
utam0k 5ba2ee67c9 ensure theat read only paths work properly. 2021-08-21 18:39:18 +09:00
utam0k 6724d5c1c9 exclude blkio test case in runtime-tools bacause it doesn't support linux kernel 5.0 or later. 2021-08-21 15:54:09 +09:00
utam0k 9acc899239
Merge pull request #210 from tiqwab/fail-fast-bundle-path-error
Fail fast to create a container if bundle path is illegal
2021-08-21 14:21:06 +09:00
tiqwab 1caf671b7c Fail fast to create a container if bundle path is illegal 2021-08-21 11:50:26 +09:00