1
0
mirror of https://github.com/containers/youki synced 2024-11-26 06:08:07 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Yashodhan
601df9ecd3
Fix cgroups determination in exec implementation (#2720)
* Set cgroups path for tenant containers from main container

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Ignore new_user_ns for creating cgroups path

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Remove user_ns param completely

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add tests in podman rootless for exec

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix add_task implementation for cgroups v2 and systemd

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* minor refactor in tenant builder

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add unit test for systemd add_task function

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix task addition to properly add tasks via dbus api

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix cross cotainers for tests running

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-04-27 21:49:58 +09:00
Toru Komatsu
f5f2242f85
Don't create a file when it already exists when mounting with bind (#2031)
For example, it is more likely that the /etc/hosts file already exists. In that case, it fails because it tries to open the file with write permission while it is RO.

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-11 21:50:53 -07:00
Eric Fang
3a790dffe9
Using typos-cli to catch typos + fixes for existing typos (#2018)
* adds a typos configuration file

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix all the typos

Signed-off-by: yihuaf <yihuaf@unkies.org>

* add typos to justfile and CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-08 10:19:17 +05:30
utam0k
ec2f58d4b2
Add easy way to test with K8s
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-06 12:03:36 +00:00
Toru Komatsu
75718d7fad
Named process for debugging. (#1846)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-04-24 13:34:02 -07:00
utam0k
70e672fac6
Add the bpftrace program file for debugging.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-04-09 12:52:12 +00:00
zido
8e7294ce43 add rootful mode for vagrant 2021-09-23 21:21:57 +08:00
yihuaf
ca5a21f5c4 Adds a simple script to stress test cargo test 2021-09-07 01:04:10 +02:00