You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
To use the codejail service is necessary to load an AppArmor profile in the host machine. To do so, the plugin uses an initialization job that runs on a privileged container and must be run as part of the initialization of the service (i.e. tutor do init -l codejail). There are several ways in which the AppArmor Profile can be unloaded: apparmor_parser -R ... or by rebooting the host machine, which requires you to run the initialization job again.
Describe the solution you'd like
Refactoring the init job into an initialization container similar to the openedx-permissions might be a more appropriate approach ensuring that the profile is loaded before starting the codejailservice container.
The text was updated successfully, but these errors were encountered:
We use restart: on-failure to avoid permanently restarting the container because the command in the image should run and exit with a 0 status code (the default is to always restart the container). After that we should delete all the job definitions and hooks.
Is your feature request related to a problem? Please describe.
To use the codejail service is necessary to load an AppArmor profile in the host machine. To do so, the plugin uses an initialization job that runs on a privileged container and must be run as part of the initialization of the service (i.e.
tutor do init -l codejail
). There are several ways in which the AppArmor Profile can be unloaded:apparmor_parser -R ...
or by rebooting the host machine, which requires you to run the initialization job again.Describe the solution you'd like
Refactoring the init job into an initialization container similar to the
openedx-permissions
might be a more appropriate approach ensuring that the profile is loaded before starting the codejailservice container.The text was updated successfully, but these errors were encountered: