-
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
selinux: create Vagrantfile for SELinux #2900
Conversation
Hey, I'll take a look and also validate the file works with virtualbox, as that's what I use. |
Hi @YJDoc2 |
2954ccb
to
7718b1a
Compare
Hey, so the vagrant box is working for me now. A couple of things -
In the vagrant box I am getting
Is the last error ok? Is that issue with box setup or the demo code we have in the experimental crate? Apart from this, it looks good. Thanks! |
I've updated main.rs in this PR, so it has been fixed now.
Sure, then I will remove git clone. |
Ok, great. Can I ask you to either rebase or do main merge?
Thanks! Apart from these it looks good, so once you update, I'll approve and merge. |
Sure, then I will rebase and force push this PR later today |
Signed-off-by: moriya <41197469+Gekko0114@users.noreply.github.com>
Signed-off-by: moriya <41197469+Gekko0114@users.noreply.github.com>
7718b1a
to
35b94e4
Compare
Hi @YJDoc2 |
Hey @Gekko0114 Thanks for updating. I'm still receiving the
Error. Can this be an issue with my underlying system? |
Yes, it is correct. Did you run on this branch? |
Hmm, the issue was that with the directory mounting. When I copied the binary into |
match rfs::setxattr(path, attr, data, rfs::XattrFlags::CREATE) { | ||
match rfs::setxattr(path, attr, data, rfs::XattrFlags::REPLACE) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the logic behind changing this from create to replace? What was the error otherwise?
In this PR, created Vagrantfile for an SELinux environment.
ref: #2850