mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
Revert "units: Add missing dependencies on initrd-switch-root.target"
This reverts commit f0ad3e6b96
.
This commit is contained in:
parent
78c49d012c
commit
4340e5b6df
|
@ -12,10 +12,10 @@ Description=Wait for Network to be Configured
|
|||
Documentation=man:systemd-networkd-wait-online.service(8)
|
||||
ConditionCapability=CAP_NET_ADMIN
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target
|
||||
BindsTo=systemd-networkd.service
|
||||
After=systemd-networkd.service
|
||||
Before=network-online.target shutdown.target initrd-switch-root.target
|
||||
Before=network-online.target shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
|
@ -12,10 +12,10 @@ Description=Wait for Network Interface %i to be Configured
|
|||
Documentation=man:systemd-networkd-wait-online.service(8)
|
||||
ConditionCapability=CAP_NET_ADMIN
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target
|
||||
BindsTo=systemd-networkd.service
|
||||
After=systemd-networkd.service
|
||||
Before=network-online.target shutdown.target initrd-switch-root.target
|
||||
Before=network-online.target shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
|
@ -15,8 +15,8 @@ ConditionCapability=CAP_NET_ADMIN
|
|||
DefaultDependencies=no
|
||||
# systemd-udevd.service can be dropped once tuntap is moved to netlink
|
||||
After=systemd-networkd.socket systemd-udevd.service network-pre.target systemd-sysusers.service systemd-sysctl.service
|
||||
Before=network.target multi-user.target shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Before=network.target multi-user.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
Wants=systemd-networkd.socket network.target
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -12,8 +12,8 @@ Description=Userspace Out-Of-Memory (OOM) Killer
|
|||
Documentation=man:systemd-oomd.service(8)
|
||||
Documentation=man:org.freedesktop.oom1(5)
|
||||
DefaultDependencies=no
|
||||
Before=multi-user.target shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Before=multi-user.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
ConditionControlGroupController=v2
|
||||
ConditionControlGroupController=memory
|
||||
ConditionPathExists=/proc/pressure/cpu
|
||||
|
|
|
@ -13,8 +13,8 @@ Documentation=man:systemd-pstore(8)
|
|||
ConditionDirectoryNotEmpty=/sys/fs/pstore
|
||||
ConditionVirtualization=!container
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Before=sysinit.target shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target
|
||||
Before=sysinit.target shutdown.target
|
||||
After=modprobe@efi_pstore.service
|
||||
Wants=modprobe@efi_pstore.service
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ Documentation=https://www.freedesktop.org/wiki/Software/systemd/writing-resolver
|
|||
|
||||
DefaultDependencies=no
|
||||
After=systemd-sysusers.service
|
||||
Before=sysinit.target network.target nss-lookup.target shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Before=sysinit.target network.target nss-lookup.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
Wants=nss-lookup.target
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -12,9 +12,9 @@ Description=Load/Save RF Kill Switch Status
|
|||
Documentation=man:systemd-rfkill.service(8)
|
||||
DefaultDependencies=no
|
||||
BindsTo=sys-devices-virtual-misc-rfkill.device
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target
|
||||
After=sys-devices-virtual-misc-rfkill.device
|
||||
Before=shutdown.target initrd-switch-root.target
|
||||
Before=shutdown.target
|
||||
|
||||
[Service]
|
||||
ExecStart={{ROOTLIBEXECDIR}}/systemd-rfkill
|
||||
|
|
|
@ -14,8 +14,8 @@ ConditionCapability=CAP_SYS_TIME
|
|||
ConditionVirtualization=!container
|
||||
DefaultDependencies=no
|
||||
After=systemd-sysusers.service
|
||||
Before=time-set.target sysinit.target shutdown.target initrd-switch-root.target
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
Before=time-set.target sysinit.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
Wants=time-set.target
|
||||
|
||||
[Service]
|
||||
|
|
Loading…
Reference in a new issue