Replaced After=network-online.target with After=network.target in all unit files

BIND is able to react to network configuration changes and therefore it can start even before all interfaces are fully configured. There is no need to wait until interfaces are fully configured.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2016-05-12 13:31:49 +02:00
parent 379b90d05d
commit d591319212
6 changed files with 6 additions and 10 deletions

View File

@ -999,6 +999,7 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
* Thu May 12 2016 Tomas Hozza <thozza@redhat.com> - 32:9.10.3-13.P4
- Remove NM dispatcher script, since it is not needed any more (#1277257)
- Replaced After=network-online.target with After=network.target in all unit files
* Fri Mar 11 2016 Tomas Hozza <thozza@redhat.com> - 32:9.10.3-12.P4
- Update to 9.10.3-P4 due to CVE-2016-1285 CVE-2016-1286 CVE-2016-2088

View File

@ -5,11 +5,10 @@
[Unit]
Description=Berkeley Internet Name Domain (DNS)
Wants=nss-lookup.target
Wants=network-online.target
Requires=named-chroot-setup.service
Before=nss-lookup.target
After=named-chroot-setup.service
After=network-online.target
After=network.target
[Service]
Type=forking

View File

@ -1,10 +1,9 @@
[Unit]
Description=Berkeley Internet Name Domain (DNS) with native PKCS#11
Wants=nss-lookup.target
Wants=network-online.target
Wants=named-setup-rndc.service
Before=nss-lookup.target
After=network-online.target
After=network.target
After=named-setup-rndc.service
[Service]

View File

@ -5,11 +5,10 @@
[Unit]
Description=Berkeley Internet Name Domain (DNS)
Wants=nss-lookup.target
Wants=network-online.target
Requires=named-sdb-chroot-setup.service
Before=nss-lookup.target
After=named-sdb-chroot-setup.service
After=network-online.target
After=network.target
[Service]
Type=forking

View File

@ -2,10 +2,9 @@
Description=Berkeley Internet Name Domain (DNS)
Wants=nss-lookup.target
Wants=named-setup-rndc.service
Wants=network-online.target
Before=nss-lookup.target
After=named-setup-rndc.service
After=network-online.target
After=network.target
[Service]
Type=forking

View File

@ -2,10 +2,9 @@
Description=Berkeley Internet Name Domain (DNS)
Wants=nss-lookup.target
Wants=named-setup-rndc.service
Wants=network-online.target
Before=nss-lookup.target
After=named-setup-rndc.service
After=network-online.target
After=network.target
[Service]
Type=forking