summaryrefslogtreecommitdiff
path: root/systemd/cloud-final.service
AgeCommit message (Collapse)Author
2016-09-09systemd: Better support package and upgrade.Scott Moser
In systemd, package installation before the system is fully booted (systemctl is-system-running == starting) may result in the package not being started. Upgrade (package_upgrade: true) can also cause failure if that is done during systemd boot. The solution here is: a.) move config modules that do or may do package installation to 'final_modules'. That list is: - snappy - package-update-upgrade-install - fan - landscape - lxd - puppet - chef - salt-minion - mcollective b.) move cloud-final.service to run as 'Type=idle' LP: #1576692, #1621336
2016-04-04systemd: do not specify After of obsolete syslog.target (LP: #1536964)Scott Moser
syslog.target is obsolete in debian, this fixes a lintian warning. LP: #1536964
2016-02-29add cloud-init.target, update service files accordinglyScott Moser
This adds cloud-init.target which is a single target to encompass all the services of cloud-init.
2015-11-30systemd/power_state: fix power_state when cloud-final exited failureScott Moser
if a runcmd exited failure, then power_state would not work. This was because systemd was killing off subprocesses, and cloud-init implemented power off with a subprocess that waited for the parent to exit. LP: #1449318
2015-04-09systemd: use network-online instead of network.target (LP: #1440180)Scott Moser
don't declare a Wants/Requires on network.target; this is a passive target that should only be pulled in by implementors of the networking service. The requirement for network needs to be expressed as a dependency on network-online.target. LP: #1440180
2015-03-17systemd: update config and final to run even if init jobs failScott Moser
LP: #1432758
2013-09-20Some containers lack /dev/console, so when multi_log attempts to openGarrett Holmstrom
that device and write to it directly things can start going haywire. Here we address this problem by sending console-bound output to stdout and letting init take care of getting it to the console instead. We already configure upstart with "console output", so we need only change systemd to use "journal+console".
2012-08-03systemd: disable timeouts so cloud-config jobs have time to finishGarrett Holmstrom
2012-08-03systemd: update program calling formatsGarrett Holmstrom
2012-08-03systemd: write stdout to tty so it shows up in GetConsoleOutputGarrett Holmstrom
2011-10-30Add sample/example systemd config filesScott Moser
This imports the systemd config files that Garrett Holmstrom added to fedora. Its not essential that thay be here, rather than just maintained as distribution delta, but there exists upstart files here. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom <gholms@fedoraproject.org> Patch2: cloud-init-0.6.2-systemd.patch