-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux_mount_label integration test #2688
base: main
Are you sure you want to change the base?
Conversation
977ca3a
to
7005b28
Compare
Hi @utam0k,
|
@Gekko0114 It seems there is some issue with the |
tests/contest/contest/src/tests/linux_mount_label/linux_mount_label_test.rs
Show resolved
Hide resolved
7005b28
to
bd11f7d
Compare
@Gekko0114 May I ask you to commit with your sign? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2688 +/- ##
=======================================
Coverage 65.40% 65.41%
=======================================
Files 133 133
Lines 16942 16942
=======================================
+ Hits 11081 11082 +1
+ Misses 5861 5860 -1 |
1940783
to
f8a1610
Compare
Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>
f8a1610
to
1d77cf7
Compare
Hey, thanks! I'll take a look and answer the questions 👍 |
Hey @utam0k , a couple of things :
@Gekko0114 May I ask you to wait for sometime until the above are a bit more clear? Thanks :) |
On further testing, the original oci go tests fails on runc as well here : https://github.com/YJDoc2/youki/actions/runs/8052111550/job/21991533730?pr=263 (ignore the passing status, I have removed all exit 1 to make sure all tests run ; check the I think we need se linux setup and configured for this to work at all. Also another thing is that I'm not sure if the original oci tools tests are used anywhere currently (runc,crun etc) probably because they being broken and out of sync. |
🤦♂Our implementation is wrong. |
@saschagrunert Do you know any good crate for SELinux without |
Which functionality do you need? I assume all of them require libselinux somehow. |
I want a crate like opencontainers/selinux. It doesn't need libselinux, does it? It seems we need following features:
If there isn't in the world for now, is there any motivation to implement it in containers org? I think you are a specialist in this field. |
@utam0k that does not look like much code, do we want to create a module here and then consider moving it into a new crate? |
Yes, I think something like oci-spec-rs would be good. How about first implementing it in this repository to some extent, and then taking it to new repository in containers org? Maybe it can be used for other repositories/projects than youki? |
Yes this sounds like a good idea. 👍 |
After seeing the go implementation code, I was thinking along the same lines. Even if not a complete API, I think we can port the functions we need into youki, and use them 👍 I can take a try at a basic initial implementation around the weekend, or if someone else want to try before that, let me know if you need any help! |
@Gekko0114 Are you interested in this? If possible, I want you to give it a challenge with @YJDoc2 as a mentor and @saschagrunert as an advisor.
|
@utam0k |
That's great! Feel free to ping me on github or discord if you need any help :) |
Created linux_mount_label integration test.
Referred this linux_mount_label test.
https://github.com/opencontainers/runtime-tools/tree/master/validation/linux_mount_label
#361