8d45c62cde0efc54a4159a51752c42baf6cf5f28 |
|
26-Oct-2016 |
Evgeni Golov <evgeni@debian.org> |
add Documentation entries to lxc and lxc@ units
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
38788e4878f23a1be3479b3dde45c774340c82f8 |
|
14-Jun-2016 |
Stéphane Graber <stgraber@ubuntu.com> |
Drop lxc-devsetup as unneeded by current autodev
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
0eb12ed50454dc5310fd415ecd36ab77d4895aa0 |
|
18-Apr-2016 |
Evgeni Golov <evgeni@debian.org> |
drop obsolete syslog.target from lxc.service.in
the target is obsolete since systemd v38 which everybody should have.
original patch by Daniel Baumann
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
8e13cca94471aec0975badd73da76f8677297ab1 |
|
30-Jun-2015 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
systemd: fix lxc-containers vs lxc-net ordering (v3)
Per pitti's suggestion, use After= to force lxc to wait for lxc-net to finish
running.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Reviewed-By: Martin Pitt <martin.pitt@ubuntu.com> |
6a9390e349c5df27d1dec072ef2fb30848a35055 |
|
24-Jan-2015 |
Jörg Thalheim <joerg@higgsboson.tk> |
systemd: enable delegate in service file
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
0af993195cbd57cff700c7c90ee8f95c2a1ef8aa |
|
26-Sep-2014 |
Michael H. Warfield <mhw@WittsEnd.com> |
Rework init scripts
This commit is based on the work of:
Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
A generic changelog would be:
- Bring support for lxcbr0 to all distributions
- Share the container startup and network configuration logic across
distributions and init systems.
- Have all the init scripts call the helper script.
- Support for the various different distro-specific configuration
locations to configure lxc-net and container startup.
Changes on top of Mike's original version:
- Remove sysconfig/lxc-net as it's apparently only there as a
workaround for an RPM limitation and is breaking Debian systems by
including a useless file which will get registered as a package provided
conffile in the dpkg database and will therefore cause conffile prompts
on upgrades...
- Go with a consistant coding style in the various init scripts.
- Split out the common logic from the sysvinit scripts and ship both in
their respective location rather than have them be copies.
- Fix the upstart jobs so they actually work (there's no such thing as
libexec on Debian systems).
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
2b24e2ff84c03a1e049449127958df8dc16a74fd |
|
04-Aug-2014 |
Martin Pitt <martin.pitt@ubuntu.com> |
systemd: Load AppArmor profiles if necessary/supported
On Ubuntu we need to set up the AppArmor profiles also under systemd.
Add a new helper "lxc-apparmor-load" and integrate it into lxc.service.
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
65b27d845f182167aa1620d6225336d722a7e7c5 |
|
04-Aug-2014 |
Martin Pitt <martin.pitt@ubuntu.com> |
Add systemd unit for lxc.net
This is the equivalent of the upstart lxc-net.conf to set up the LXC bridge.
This also drops "lxc.service" from tarballs. It is built source which depends
on configure options, so the statically shipped file will not work on most
systems.
https://launchpad.net/bugs/1312532
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
d74b6771c0c55539bf6ddd319238e2d651d53743 |
|
20-Jun-2014 |
Dwight Engen <dwight.engen@oracle.com> |
fix the expansion of libexecdir when not explicitly passed to configure
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
015f0dd7924d27aeb2f16bb0c4d243f3fd93e94b |
|
03-Jun-2014 |
Michael H. Warfield <mhw@WittsEnd.com> |
lxc-autostart: rework boot and group handling
This adds new functionality to lxc-autostart.
*) The -g / --groups option is multiple cummulative entry.
This may be mixed freely with the previous comma separated
group list convention. Groups are processed in the
order they first appear in the aggregated group list.
*) The NULL group may be specified in the group list using either a
leading comma, a trailing comma, or an embedded comma.
*) Booting proceeds in order of the groups specified on the command line
then ordered by lxc.start.order and name collalating sequence.
*) Default host bootup is now specified as "-g onboot," meaning that first
the "onboot" group is booted and then any remaining enabled
containers in the NULL group are booted.
*) Adds documentation to lxc-autostart for -g processing order and
combinations.
*) Parameterizes bootgroups, options, and shutdown delay in init scripts
and services.
*) Update the various init scripts to use lxc-autostart in a similar way.
Reported-by: CDR <venefax@gmail.com>
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |