History log of /lxc/config/init/systemd/Makefile.am
Revision Date Author Comments Expand
a8c710632826ed8ebf46ca91b0cb8ae04c86de5d 04-Mar-2016 Carlos Alberto Lopez Perez <clopez@igalia.com>

Execute script lxc-devsetup also with sysvinit and upstart. * This script sets /dev/.lxc which is needed for autodev containers. * Previously was only executed with systemd. Execute it also with the other init systems (sysvinit and upstart) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>

de2b7e655fb313125bc14c2c440e8a64e4a904c5 01-Jul-2015 Cameron Norman <camerontnorman@gmail.com>

Add instanced systemd service Signed-off-by: Cameron Norman <camerontnorman@gmail.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>

213b0fe063ffa03d4ab1307a0dbe234e98693e0b 04-Aug-2014 Martin Pitt <martin.pitt@ubuntu.com>

Get systemd unit dir from pkg-config Don't install systemd unit files into $(prefix), they won't work there. Instead, get them from systemd's pkg-config file. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@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>

7d520afa9135281fb7f7905db29215dc1ea6a973 03-Mar-2014 Dwight Engen <dwight.engen@oracle.com>

fix systemd unit file location to use prefix for local installs also remove /usr special case for non-debian distros since systemd itself sets systemunitdir=$(rootprefix)/lib/systemd/system Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

87c7e080c8e2d4b702a23c38d10e39bccdfd03e1 16-Jan-2014 Stéphane Graber <stgraber@ubuntu.com>

init: Simplify Makefile somehow Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

dc0682900a79cfb47fd9a416902129bfa68fdcbf 16-Jan-2014 Stéphane Graber <stgraber@ubuntu.com>

init: Add upstart jobs and some more changes (v3) This adds the 3 upstart jobs that we've had in Ubuntu for a while: - lxc.conf: Main upstart job, triggers lxc-net.conf based on config - lxc-instance.conf: Triggered by lxc.conf for each auto-started container - lxc-net.conf: Triggered by lxc.conf, sets up lxcbr0, NAT, mangling, ... In addition, there are two extra config files in /etc/default: - lxc: Allows setting some values like http proxying, disabling autostart, ... - lxc-net: Network configuration for the lxcbr0 bridge This change also disables the sysv script for all distros but Oracle as the current script won't work on either Ubuntu nor Debian and I suspect quite a few more distros, so it's not nearly as distro-agnostic as we thought. For Debian, only install the upstart jobs and systemd unit. For Ubuntu, only install the upstart jobs. This change also moves all the init related stuff to config/init/ Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>