Systemd/src/core
Zbigniew Jędrzejewski-Szmek 0c2826c60c core: in --user mode, report READY=1 as soon as basic.target is reached (#7102)
When a user logs in, systemd-pam will wait for the user manager instance to
report readiness. We don't need to wait for all the jobs to finish, it
is enough if the basic startup is done and the user manager is responsive.

systemd --user will now send out a READY=1 notification when either of two
conditions becomes true:
- basic.target/start job is gone,
- the initial transaction is done.

Also fixes #2863.
2017-10-24 14:48:54 +02:00
..
audit-fd.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
audit-fd.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
automount.c tree-wide: use `!IN_SET(..)` for `a != b && a != c && …` 2017-10-02 13:09:56 +02:00
automount.h automount: rework propagation between automount and mount units 2016-05-02 16:51:45 +02:00
bpf-firewall.c bpf: set BPF_F_ALLOW_OVERRIDE when attaching a cgroup program if Delegate=yes is set 2017-09-22 15:28:05 +02:00
bpf-firewall.h Add firewall eBPF compiler 2017-09-22 15:24:55 +02:00
cgroup.c tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
cgroup.h cgroup: after determining that a cgroup is empty, asynchronously dispatch this 2017-09-27 18:26:18 +02:00
chown-recursive.c core: chown() StateDirectory= and friends recursively when starting a service 2017-10-02 17:41:43 +02:00
chown-recursive.h core: chown() StateDirectory= and friends recursively when starting a service 2017-10-02 17:41:43 +02:00
dbus-automount.c automount: implement transient automounts 2016-06-06 07:33:54 +02:00
dbus-automount.h automount: implement transient automounts 2016-06-06 07:33:54 +02:00
dbus-cgroup.c core: improve dbus-cgroup error message 2017-09-26 23:49:40 +02:00
dbus-cgroup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-device.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-device.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-execute.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
dbus-execute.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-job.c core/dbus-job, systemctl: shorten some code 2016-11-16 21:01:11 -05:00
dbus-job.h core: add bus calls for determining jobs waiting for other jobs 2016-11-16 17:01:46 +01:00
dbus-kill.c tree-wide: remove newlines from unit_write_drop_in 2016-05-28 16:29:42 -04:00
dbus-kill.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-manager.c Revert "tree-wide: use pid_is_valid() at more places" 2017-10-03 12:43:24 +01:00
dbus-manager.h manager: refuse reloading/reexecing when /run is overly full 2017-02-06 16:58:06 +01:00
dbus-mount.c mount: make sure we unmount tmpfs mounts before we deactivate swaps (#7076) 2017-10-16 16:15:05 +02:00
dbus-mount.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-path.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-path.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-scope.c core: make sure RequestStop signal is send directed 2016-07-20 14:35:15 +02:00
dbus-scope.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-service.c execute: replace command flag bools by a flags field 2017-08-10 14:44:58 +02:00
dbus-service.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-slice.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-slice.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-socket.c core: add RemoveIPC= setting 2016-08-19 00:37:25 +02:00
dbus-socket.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-swap.c core: add RemoveIPC= setting 2016-08-19 00:37:25 +02:00
dbus-swap.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-target.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-target.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-timer.c timer: convert property_get_next_elapse_monotonic() to use usec_shift_clock() 2017-06-22 20:59:48 +02:00
dbus-timer.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-unit.c tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
dbus-unit.h core: add Ref()/Unref() bus calls for units 2016-08-22 16:14:21 +02:00
dbus.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
dbus.h core: add Ref()/Unref() bus calls for units 2016-08-22 16:14:21 +02:00
device.c Revert "device : reload when udev generates a "changed" event" (#6836) 2017-09-15 09:21:49 +02:00
device.h core: make mount units from /proc/self/mountinfo possibly bind to a device (#4515) 2016-12-16 17:13:58 +01:00
dynamic-user.c core/dynamic-user: use gid from pwnam if a static user was found 2017-10-23 16:09:20 +02:00
dynamic-user.h dynamic-user: label functions not necessary to export as static 2017-10-11 12:46:27 +09:00
emergency-action.c failure-action: generalize failure action to emergency action 2016-10-21 15:13:50 +02:00
emergency-action.h failure-action: generalize failure action to emergency action 2016-10-21 15:13:50 +02:00
execute.c Merge pull request #7059 from yuwata/dynamic-user-7013 2017-10-18 08:37:12 +02:00
execute.h core: usually our enum's _INVALID and _MAX special values are named after the full type 2017-10-02 17:41:43 +02:00
hostname-setup.c core: when booting up, initialize hostname to compile-time fallback hostname 2017-02-17 10:19:26 +01:00
hostname-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
ima-setup.c build-sys: s/HAVE_IMA/ENABLE_IMA/ 2017-10-04 12:09:50 +02:00
ima-setup.h tree-wide: use mdash instead of a two minuses 2016-04-21 23:00:13 -04:00
ip-address-access.c core: warn loudly if IP firewalling is configured but not in effect 2017-09-22 15:24:55 +02:00
ip-address-access.h ip-address-access: minimize IP address lists 2017-09-22 15:24:55 +02:00
job.c tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
job.h job: Ensure JobRunningTimeoutSec= survives serialization (#6128) 2017-06-18 11:51:17 -04:00
kill.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
kill.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
killall.c tree-wide: use `!IN_SET(..)` for `a != b && a != c && …` 2017-10-02 13:09:56 +02:00
killall.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
kmod-setup.c util-lib: introdude _cleanup_ macros for kmod objects 2017-10-08 22:04:07 +02:00
kmod-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
load-dropin.c load-dropin: propagate errors properly from unit_name_compatible() (#6002) 2017-05-22 09:18:00 -04:00
load-dropin.h core: when loading .wants and .requires, follow the same logic as .d conf dropins 2017-02-07 21:31:22 -05:00
load-fragment-gperf-nulstr.awk build-sys: fix the script used for generating load_fragment_gperf_nulstr (#6646) 2017-08-26 23:21:23 +09:00
load-fragment-gperf.gperf.m4 unit: when JobTimeoutSec= is turned off, implicitly turn off JobRunningTimeoutSec= too 2017-10-05 13:06:44 +02:00
load-fragment.c Merge pull request #6931 from poettering/job-timeout-sec 2017-10-05 14:43:13 +02:00
load-fragment.h unit: when JobTimeoutSec= is turned off, implicitly turn off JobRunningTimeoutSec= too 2017-10-05 13:06:44 +02:00
locale-setup.c tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
locale-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
loopback-setup.c core/loopback-setup: make log messages nicer 2017-07-02 12:03:56 -04:00
loopback-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
machine-id-setup.c core: machine_id_setup overwrites broken machine-id 2016-12-13 12:58:42 +00:00
machine-id-setup.h core: rework machine-id-setup.c to use the calls from id128-util.[ch] 2016-07-22 12:59:36 +02:00
macros.systemd.in Add rpm macro %_userpresetdir (#6571) 2017-08-09 09:45:02 +02:00
main.c Merge pull request #6974 from keszybz/clean-up-defines 2017-10-04 19:25:30 +02:00
manager.c core: in --user mode, report READY=1 as soon as basic.target is reached (#7102) 2017-10-24 14:48:54 +02:00
manager.h core: in --user mode, report READY=1 as soon as basic.target is reached (#7102) 2017-10-24 14:48:54 +02:00
meson.build core: chown() StateDirectory= and friends recursively when starting a service 2017-10-02 17:41:43 +02:00
mount-setup.c build-sys: s/HAVE_SMACK/ENABLE_SMACK/ 2017-10-04 12:09:50 +02:00
mount-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
mount.c mount: make sure we unmount tmpfs mounts before we deactivate swaps (#7076) 2017-10-16 16:15:05 +02:00
mount.h mount: make sure we unmount tmpfs mounts before we deactivate swaps (#7076) 2017-10-16 16:15:05 +02:00
namespace.c namespace: make ns_type_supported() a tiny bit shorter 2017-10-10 09:52:08 +02:00
namespace.h namespace: change NameSpace → Namespace 2017-10-10 09:51:58 +02:00
org.freedesktop.systemd1.conf core: add bus calls for determining jobs waiting for other jobs 2016-11-16 17:01:46 +01:00
org.freedesktop.systemd1.policy.in.in core: rework policykit hookup 2015-02-18 18:56:27 +01:00
org.freedesktop.systemd1.service
path.c tree-wide: use `!IN_SET(..)` for `a != b && a != c && …` 2017-10-02 13:09:56 +02:00
path.h core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
scope.c tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
scope.h Merge pull request #3762 from poettering/sigkill-log 2016-07-22 09:18:30 +02:00
selinux-access.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
selinux-access.h build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
selinux-setup.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
selinux-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
service.c tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
service.h cgroup, unit, fragment parser: make use of new firewall functions 2017-09-22 15:24:55 +02:00
show-status.c io-util: add new IOVEC_INIT/IOVEC_MAKE macros 2017-09-22 15:28:04 +02:00
show-status.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
shutdown.c tree-wide: make use of getpid_cached() wherever we can 2017-07-20 20:27:24 +02:00
slice.c cgroup, unit, fragment parser: make use of new firewall functions 2017-09-22 15:24:55 +02:00
slice.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
smack-setup.c build-sys: s/HAVE_SMACK/ENABLE_SMACK/ 2017-10-04 12:09:50 +02:00
smack-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
socket.c tree-wide: use IN_SET macro (#6977) 2017-10-04 16:01:32 +02:00
socket.h cgroup, unit, fragment parser: make use of new firewall functions 2017-09-22 15:24:55 +02:00
swap.c core: log unit failure with type-specific result code 2017-09-27 18:26:18 +02:00
swap.h cgroup, unit, fragment parser: make use of new firewall functions 2017-09-22 15:24:55 +02:00
system.conf manager: hook up IP accounting defaults 2017-09-22 15:24:55 +02:00
systemd.pc.in build-sys: move systemd.pc from pkgconfiglibdir back into pkgconfigdatadir 2015-04-21 20:35:17 +02:00
target.c core: move checking default_dependencies into target_add_default_dependencies. (#5762) 2017-04-21 11:00:47 +02:00
target.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timer.c tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
timer.h timer: convert property_get_next_elapse_monotonic() to use usec_shift_clock() 2017-06-22 20:59:48 +02:00
transaction.c tree-wide: use IN_SET where possible 2017-10-02 13:09:54 +02:00
transaction.h core: propagate reload from RELOADING=1 notification (#6550) 2017-08-07 11:27:24 +02:00
triggers.systemd.in rpm triggers: do nothing if systemd is not running (#5065) 2017-01-12 10:16:20 +01:00
umount.c build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
umount.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
unit-printf.c core: add {State,Cache,Log,Configuration}Directory= (#6384) 2017-07-18 14:34:52 +02:00
unit-printf.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
unit.c core: fragments of masked units ought not be considered for NeedDaemonReload (#7060) 2017-10-18 08:38:50 +02:00
unit.h unit: when JobTimeoutSec= is turned off, implicitly turn off JobRunningTimeoutSec= too 2017-10-05 13:06:44 +02:00
user.conf core: rename StartLimitInterval= to StartLimitIntervalSec= 2016-04-29 16:27:48 +02:00