• C
    lxc: add possibility to define init uid/gid · 426929ae
    Cédric Bosdonnat 提交于
    Users may want to run the init command of a container as a special
    user / group. This is achieved by adding <inituser> and <initgroup>
    elements. Note that the user can either provide a name or an ID to
    specify the user / group to be used.
    
    This commit also fixes a side effect of being able to run the command
    as a non-root user: the user needs rights on the tty to allow shell
    job control.
    Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
    426929ae
domain_conf.h 109.8 KB