Systemd/src
Lennart Poettering 6bf0f408e4 core: make the StartLimitXYZ= settings generic and apply to any kind of unit, not just services
This moves the StartLimitBurst=, StartLimitInterval=, StartLimitAction=, RebootArgument= from the [Service] section
into the [Unit] section of unit files, and thus support it in all unit types, not just in services.

This way we can enforce the start limit much earlier, in particular before testing the unit conditions, so that
repeated start-up failure due to failed conditions is also considered for the start limit logic.

For compatibility the four options may also be configured in the [Service] section still, but we only document them in
their new section [Unit].

This also renamed the socket unit failure code "service-failed-permanent" into "service-start-limit-hit" to express
more clearly what it is about, after all it's only triggered through the start limit being hit.

Finally, the code in busname_trigger_notify() and socket_trigger_notify() is altered to become more alike.

Fixes: #2467
2016-02-10 13:26:56 +01:00
..
ac-power
activate activate: reorder --help text 2016-02-01 22:18:15 +01:00
analyze analyze: verify verifies templates too 2015-12-14 07:11:03 +00:00
ask-password strv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_ 2015-10-19 23:13:07 +02:00
backlight tree-wide: check if errno is greater than zero (2) 2016-01-13 15:10:17 -05:00
basic Merge pull request #2542 from 0xAX/get_ts_delta 2016-02-09 00:23:47 +01:00
binfmt defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
boot bootctl: replace readdir() loops with FOREACH_DIRENT 2016-01-31 09:44:53 +01:00
bootchart tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
bus-proxyd tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
cgls tests: turn check if manager cannot be intialized into macro 2015-12-02 09:50:00 -05:00
cgroups-agent tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
cgtop tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
compat-libs
core core: make the StartLimitXYZ= settings generic and apply to any kind of unit, not just services 2016-02-10 13:26:56 +01:00
cryptsetup tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
dbus1-generator treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
debug-generator debug-generator: respect kernel parameters for default unit setting 2015-11-03 14:47:39 +03:00
delta treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
detect-virt detect-virt: add new --chroot switch to detect chroot() environments 2015-10-27 13:25:57 +01:00
escape util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
firstboot tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
fsck tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
fstab-generator fstab-generator: fix ordering of /sysroot/usr mount 2016-01-17 10:58:40 +01:00
getty-generator tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
gpt-auto-generator gpt-auto: handle errors from blkid more correctly 2016-02-03 23:58:25 +01:00
hibernate-resume tree-wide: sort includes 2015-11-16 22:09:36 +01:00
hostname treewide: fix typos and indentation 2015-12-14 15:53:11 +01:00
hwdb tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
import tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
initctl tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
journal journal: Drop monotonicity check when appending to journal file 2016-02-09 12:14:54 +02:00
journal-remote journal-remote: decrease microhttpd memory limit 2016-02-04 17:35:24 +02:00
kernel-install
libsystemd Merge pull request #2453 from poettering/journalctl-f 2016-02-03 15:36:06 +01:00
libsystemd-network dhcp: delay restarts after NAKs 2016-02-02 15:23:34 +01:00
libudev libudev: simplify udev_device_ensure_usec_initialized a bit 2015-12-07 00:44:14 -05:00
locale tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
login logind: load SELinux labelling system 2016-02-02 20:07:46 +01:00
machine machined: add early checks for unrealistically large image/pool sizes 2016-01-27 02:21:28 +01:00
machine-id-setup core: Add machine-id setting 2016-01-12 22:10:41 +00:00
modules-load defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
network Merge pull request #1975 from ssahani/vxlan2 2016-01-27 01:17:52 +01:00
notify util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
nspawn nspawn: make sure --help fits it 79ch 2016-02-03 23:58:25 +01:00
nss-myhostname nss: block various signals while running NSS lookups 2016-01-27 02:22:58 +01:00
nss-mymachines nss: block various signals while running NSS lookups 2016-01-27 02:22:58 +01:00
nss-resolve nss-resolve: also fall back to nss-dns if dbus doesn't work 2016-01-27 02:22:58 +01:00
path util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
quotacheck tree-wide: sort includes 2015-11-16 22:09:36 +01:00
random-seed random-seed: provide nicer error message when unable to open file 2016-02-06 18:13:41 -05:00
rc-local-generator treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
remount-fs remount-fs: modernize coding style a bit 2015-11-17 00:52:10 +01:00
reply-password util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
resolve treewide: fix typos and spacing 2016-02-07 15:31:04 +01:00
rfkill tree-wide: group include of libudev.h with sd-* 2015-11-17 07:06:08 +01:00
run core: fix support for transient resource limit properties 2016-02-01 22:18:16 +01:00
shared core: rework unit timeout handling, and add new setting RuntimeMaxSec= 2016-02-01 22:18:16 +01:00
sleep util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
socket-proxy journal-remote: split-mode=host, remove port from journal filename 2015-12-01 19:29:59 +02:00
sysctl defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
system-update-generator util-lib: move a number of fs operations into fs-util.[ch] 2015-10-27 13:25:56 +01:00
systemctl core: fix support for transient resource limit properties 2016-02-01 22:18:16 +01:00
systemd sd-journal: add an API to enumerate known field names of the journal 2016-02-01 22:42:33 +01:00
sysusers sysusers: use GID_FMT and UID_FMT instead of %d 2016-01-21 16:35:19 +01:00
sysv-generator sysv-generator: do not join dependencies on one line, split them 2016-01-21 12:53:14 +01:00
test util: add check that makes sure time_t and TIME_T_MAX work the way we assume they do 2016-02-03 23:58:25 +01:00
timedate tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
timesync timesyncd: use (void) to mark ignored value 2016-01-20 18:55:56 -05:00
tmpfiles tmpfiles: don't skip path_set_perms on error 2016-02-01 10:55:50 +00:00
tty-ask-password-agent tty-ask-password-agent: fix typo in error message 2015-11-05 13:44:01 +01:00
udev path_id: reintroduce by-path links for virtio block devices 2016-02-09 12:25:42 +01:00
update-done util-lib: split out IO related calls to io-util.[ch] 2015-10-26 01:24:38 +01:00
update-utmp tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
user-sessions user-sessions: make sure /run/nologin has correct SELinux label 2015-12-04 22:01:17 +01:00
vconsole tree-wide: use xsprintf() where applicable 2016-01-12 15:36:32 +01:00
.gitignore
Makefile