Right now the spec says you need to specify an OS relevant user id for the process to exec on behalf of. Many people don't think about this low-level primitive and rely on user databases like /etc/passwd. In order to support a user saying apache in the open container configuration we would need to do hacks on Linux: Sadly this requires hacks:
- parse
/etc/passwd (if it exists!)
- call
getent passwd inside of the filesystem
This spec likely should make a recommendation on what needs to be done here and in what order if we are to support a "username".
This issues replaces #10 and is being refiled since we made a decision to be more explicit and simple for the initial draft milestone.
Right now the spec says you need to specify an OS relevant user id for the process to exec on behalf of. Many people don't think about this low-level primitive and rely on user databases like
/etc/passwd. In order to support a user sayingapachein the open container configuration we would need to do hacks on Linux: Sadly this requires hacks:/etc/passwd(if it exists!)getent passwdinside of the filesystemThis spec likely should make a recommendation on what needs to be done here and in what order if we are to support a "username".
This issues replaces #10 and is being refiled since we made a decision to be more explicit and simple for the initial draft milestone.