runtime-spec icon indicating copy to clipboard operation
runtime-spec copied to clipboard

Follow-up to under-specification of createRuntime / createContainer hooks

Open h-vetinari opened this issue 5 years ago • 0 comments

Since #1008, config.md states [my bold]:

The definition of createRuntime hooks is currently underspecified and hooks authors, should only expect from the runtime that the mount namespace have been created and the mount operations performed. Other operations such as cgroups and SELinux/AppArmor labels might not have been performed by the runtime.

as well as [my bold]:

The definition of createContainer hooks is currently underspecified and hooks authors, should only expect from the runtime that the mount namespace and different mounts will be setup. Other operations such as cgroups and SELinux/AppArmor labels might not have been performed by the runtime.

This was seen - AFAIU - as a necessary compromise to finally finish #1008 and unblock runc-1.0.0. Now that runtime-spec-1.0.2 is out, we should at least track this state of under-specification somewhere though, hence this issue.

h-vetinari avatar Mar 31 '20 12:03 h-vetinari