libvirt/src/lxc
Cédric Bosdonnat 426929aea9 lxc: add possibility to define init uid/gid
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: Daniel P. Berrange <berrange@redhat.com>
2017-07-11 10:41:24 +02:00
..
libvirtd_lxc.aug Add support for sVirt in the LXC driver 2012-02-02 17:44:39 -07:00
lxc_cgroup.c filesystem: adds possibility to use storage pool as fs source 2016-07-18 23:39:56 +03:00
lxc_cgroup.h lxc: report veth device indexes to systemd 2015-01-27 13:57:02 +00:00
lxc_conf.c conf: Add save cookie callbacks to xmlopt 2017-06-07 13:36:01 +02:00
lxc_conf.h lxc: convert to typesafe virConf accessors 2016-07-12 09:58:21 +01:00
lxc_container.c lxc: add possibility to define init uid/gid 2017-07-11 10:41:24 +02:00
lxc_container.h lxc: Move lxcContainerAvailable to virprocess 2017-01-11 18:02:35 +01:00
lxc_controller.c lib: Fix c99 style comments 2017-04-27 14:13:19 +02:00
lxc_domain.c src: Treat PID as signed 2016-10-13 17:58:56 +08:00
lxc_domain.h lxc: completely rework reference counting 2016-05-24 16:54:01 +02:00
lxc_driver.c events: Avoid double free possibility on remote call failure 2017-06-25 08:16:04 -04:00
lxc_driver.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
lxc_fuse.c conf: Rename virDomainDefGetMemoryActual to virDomainDefGetMemoryTotal 2016-06-17 10:39:40 +02:00
lxc_fuse.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
lxc_hostdev.c Replace Usb with USB throughout 2014-04-08 11:10:59 +01:00
lxc_hostdev.h Replace Usb with USB throughout 2014-04-08 11:10:59 +01:00
lxc_monitor_protocol.x Unify int types handling in protocol files 2016-01-11 19:56:06 +03:00
lxc_monitor.c lxc: monitor now holds a reference to the domain 2016-12-08 16:35:53 +01:00
lxc_monitor.h Fix generation of systemtap probes for RPC protocols 2013-03-14 12:42:22 +00:00
lxc_native.c virstring: Unify string list function names 2016-11-25 13:54:05 +01:00
lxc_native.h lxc: use virDomainDefPostParse for parsing LXC config string 2015-12-09 12:59:02 +01:00
lxc_process.c security: don't relabel chardev source if virtlogd is used as stdio handler 2017-06-16 16:00:10 +02:00
lxc_process.h lxc: support <interface type='ethernet'> 2016-05-24 15:21:05 -04:00
lxc.conf lxc.conf: s/QEMU/LXC/ 2016-11-09 18:56:15 +01:00
test_libvirtd_lxc.aug.in Autogenerate augeas test case from default config files 2012-05-28 11:07:12 +01:00