Systemd/src
Michal Sekletar 8647283e45 process-util: make our freeze() routine do something useful
When we crash we freeze() our-self (or possibly we reboot the machine if
that is configured). However, calling pause() is very unhelpful thing to
do. We should at least continue to do what init systems being doing
since 70's and that is reaping zombies. Otherwise zombies start to
accumulate on the system which is a very bad thing. As that can prevent
admin from taking manual steps to reboot the machine in somewhat
graceful manner (e.g. manually stopping services, unmounting data
volumes  and calling reboot -f).

Fixes #7783
2018-01-12 17:50:02 +01:00
..
ac-power
activate process-util: add another fork_safe() flag for enabling LOG_ERR/LOG_WARN logging 2018-01-04 13:27:26 +01:00
analyze fix systemd-analyze time when default.target is not reached (#7764) 2018-01-03 15:52:13 +01:00
ask-password
backlight
basic process-util: make our freeze() routine do something useful 2018-01-12 17:50:02 +01:00
binfmt
boot bootctl: add newline after printf (#7856) 2018-01-11 18:01:57 +01:00
busctl Comment the fact that some tools need to termintate their bus connect first 2018-01-12 16:20:36 +01:00
cgls
cgroups-agent
cgtop Add set/hashmap helpers for non-trivial freeing and use where straighforward 2017-11-28 21:30:30 +01:00
core dbus: propagate errors from bus_init_system() and bus_init_api() 2018-01-11 14:41:34 +01:00
coredump util: minor tweaks to disable_core_dumps() 2018-01-10 18:44:09 +01:00
cryptsetup cryptsetup: small if check improvement (#7747) 2017-12-27 12:43:31 +01:00
debug-generator
delta process-util: rework wait_for_terminate_and_warn() to take a flags parameter 2018-01-04 13:27:27 +01:00
detect-virt
dissect nspawn: make sure images containing an ESP are compatible with userns -U mode 2017-12-05 13:49:12 +01:00
environment-d-generator
escape
firstboot firstboot: do not write vconsole.conf when arg_keymap is empty 2017-11-25 19:11:57 +09:00
fsck tree-wide: make use of wait_for_terminate_and_check() at various places 2018-01-04 13:27:27 +01:00
fstab-generator generator: add helper function for writing unit files 2017-12-15 16:47:11 +01:00
getty-generator
gpt-auto-generator basic: split out blockdev-util.[ch] from util.h 2017-12-25 11:48:21 +01:00
hibernate-resume
hostname tree-wide: make name requesting asynchronous in all our services 2018-01-05 13:58:32 +01:00
hwdb
import support LZMA concatenated files 2018-01-11 23:38:04 +01:00
initctl
journal cocci: use strempty() at more places 2018-01-10 17:11:19 +01:00
journal-remote process-util: add another fork_safe() flag for enabling LOG_ERR/LOG_WARN logging 2018-01-04 13:27:26 +01:00
kernel-install Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
libsystemd bus-socket: slight simplification in bus_get_peercred() 2018-01-11 13:04:11 +01:00
libsystemd-network sd-radv: avoid redefinition of struct in6_addr 2018-01-10 12:32:03 +01:00
libudev io-util: make flush_fd() return how many bytes where flushed 2018-01-05 13:55:08 +01:00
locale Comment the fact that some tools need to termintate their bus connect first 2018-01-12 16:20:36 +01:00
login Comment the fact that some tools need to termintate their bus connect first 2018-01-12 16:20:36 +01:00
machine Comment the fact that some tools need to termintate their bus connect first 2018-01-12 16:20:36 +01:00
machine-id-setup
modules-load
mount Comment the fact that some tools need to termintate their bus connect first 2018-01-12 16:20:36 +01:00
network Merge pull request #7833 from keszybz/netdev-relaxed 2018-01-11 17:14:49 +01:00
notify tree-wide: use !strv_isempty() instead of strv_length() > 0 2017-12-19 10:43:57 +09:00
nspawn tree-wide: install matches asynchronously 2018-01-05 13:58:32 +01:00
nss-myhostname Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-mymachines user-util: add UID_NOBODY defines that resolve to (uid_t) 65534 2017-12-06 13:40:50 +01:00
nss-resolve Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-systemd nss-systemd,user-util: add a way how synthesizing "nobody" can be turned off 2018-01-10 18:26:03 +01:00
partition process-util: rework wait_for_terminate_and_warn() to take a flags parameter 2018-01-04 13:27:27 +01:00
path
quotacheck process-spec: add another flag FORK_WAIT to safe_fork() 2018-01-04 13:27:27 +01:00
random-seed
rc-local-generator rc-local-generator: minor modernizations 2017-12-26 12:13:51 +01:00
remount-fs process-util: add another fork_safe() flag for enabling LOG_ERR/LOG_WARN logging 2018-01-04 13:27:26 +01:00
reply-password
resolve test-dnssec: Allow builds without libgcrypt (#7850) (#7850) 2018-01-11 12:28:32 +01:00
rfkill
run tree-wide: install matches asynchronously 2018-01-05 13:58:32 +01:00
shared cocci: use strempty() at more places 2018-01-10 17:11:19 +01:00
sleep
socket-proxy Add set/hashmap helpers for non-trivial freeing and use where straighforward 2017-11-28 21:30:30 +01:00
stdio-bridge stdio-bridge: add missing option 2017-12-04 13:11:25 +09:00
sulogin-shell process-util: rework wait_for_terminate_and_warn() to take a flags parameter 2018-01-04 13:27:27 +01:00
sysctl Use read_line() and LONG_LINE_MAX to read values configuration files. 2017-12-13 15:03:33 -02:00
system-update-generator
systemctl tree-wide: make the Subscribe() method calls asynchronous too 2018-01-05 13:58:32 +01:00
systemd Merge pull request #7191 from Mic92/systemd 2018-01-09 14:35:54 +01:00
sysusers Add set/hashmap helpers for non-trivial freeing and use where straighforward 2017-11-28 21:30:30 +01:00
sysv-generator generators: be more careful when writing unit settings that support specifier expansion 2017-11-29 12:32:57 +01:00
test test: free after use 2018-01-10 20:52:51 +09:00
timedate Comment the fact that some tools need to termintate their bus connect first 2018-01-12 16:20:36 +01:00
timesync timesync: fix typo 2018-01-10 20:52:59 +09:00
tmpfiles tmpfiles: consider /etc uninitialized also when /etc/machine-id is present but empty (#7849) 2018-01-10 23:28:44 +01:00
tty-ask-password-agent io-util: make flush_fd() return how many bytes where flushed 2018-01-05 13:55:08 +01:00
udev cocci: use strempty() at more places 2018-01-10 17:11:19 +01:00
update-done
update-utmp
user-sessions
vconsole process-util: rework wait_for_terminate_and_warn() to take a flags parameter 2018-01-04 13:27:27 +01:00
veritysetup generator: add helper function for writing unit files 2017-12-15 16:47:11 +01:00
volatile-root