Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Add rootless logic to kata-runtime #1874

Closed
gabibeyer opened this issue Jul 10, 2019 · 0 comments
Closed

Add rootless logic to kata-runtime #1874

gabibeyer opened this issue Jul 10, 2019 · 0 comments
Labels
enhancement Improvement to an existing feature

Comments

@gabibeyer
Copy link
Contributor

Add the ability to check whether an execution of kata is being ran with sudo or not; in other words, whether the host is ran kata privileged or not. This will allow different paths of execution to be performed by the runtime depending on the whether it is rootless or not. Additionally, a rootless directory will be needed to avoid permission issues when storing/reading data.

@gabibeyer gabibeyer added enhancement Improvement to an existing feature needs-review Needs to be assessed by the team. labels Jul 10, 2019
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 10, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
@gabibeyer gabibeyer added do-not-merge PR has problems or depends on another wip Work in Progress (PR incomplete - needs more work or rework) and removed needs-review Needs to be assessed by the team. labels Jul 10, 2019
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 11, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 11, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 11, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 12, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 12, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 16, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 16, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 17, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 30, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 30, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 30, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Jul 31, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Aug 12, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Aug 14, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Aug 16, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
@gabibeyer gabibeyer removed do-not-merge PR has problems or depends on another wip Work in Progress (PR incomplete - needs more work or rework) labels Aug 16, 2019
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Aug 22, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Sep 5, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Sep 6, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
gabibeyer pushed a commit to gabibeyer/runtime that referenced this issue Sep 11, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
marcov pushed a commit to gabibeyer/runtime that referenced this issue Sep 23, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
marcov pushed a commit to gabibeyer/runtime that referenced this issue Sep 23, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
marcov pushed a commit to gabibeyer/runtime that referenced this issue Sep 26, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
Co-developed-by: Marco Vedovati <mvedovati@suse.com>
Signed-off-by: Marco Vedovati <mvedovati@suse.com>
marcov pushed a commit to gabibeyer/runtime that referenced this issue Sep 26, 2019
Add the ability to check whether kata is running rootlessly or
not. Add the setup of the rootless directory located in the dir
/run/user/<UID> directory.

Fixes: kata-containers#1874

Signed-off-by: Gabi Beyer <gabrielle.n.beyer@intel.com>
Co-developed-by: Marco Vedovati <mvedovati@suse.com>
Signed-off-by: Marco Vedovati <mvedovati@suse.com>
@egernst egernst closed this as completed in 2d8b278 Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant