The polkit has D-bus activation thus it will be activated on demand and
we don't need to explicitly activate it.
Resolves: rhbz#2065591
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
'systemctl is-system-running' is not enough to reliably check
if the system is shutting down. If the command is run when the system
is still starting up, it will report the state as 'starting', even if
the shutdown target is queued:
5463fa0a88/src/core/manager.c (L3457-L3465)
On the other hand, 'systemctl list-jobs' should always show
shutdown.target or reboot.target etc., when the system is shutting
down, as long as DBus is still running.
Resolves: rhbz#1475571
Resolves: rhbz#1488369
Resolves: rhbz#1488517
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
The rhbz#1235768 is can't fix, but using:
After=network.target
should fix the ordering of services, so sysctl is no more rewritten by systemd.
Related: rhbz#1189263
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>