Blame SOURCES/nfs-utils-1.3.0-systemd-rpcbind.patch

d2edb4
diff -up nfs-utils-1.3.0/systemd/auth-rpcgss-module.service.orig nfs-utils-1.3.0/systemd/auth-rpcgss-module.service
d2edb4
--- nfs-utils-1.3.0/systemd/auth-rpcgss-module.service.orig	2015-06-25 15:01:27.650527038 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/auth-rpcgss-module.service	2015-06-25 15:01:45.166856358 -0400
d2edb4
@@ -6,6 +6,7 @@
d2edb4
 # unit will fail.  But that's OK.)
d2edb4
 [Unit]
d2edb4
 Description=Kernel Module supporting RPCSEC_GSS
d2edb4
+DefaultDependencies=no
d2edb4
 Before=gssproxy.service rpc-svcgssd.service rpc-gssd.service
d2edb4
 Wants=gssproxy.service rpc-svcgssd.service rpc-gssd.service
d2edb4
 ConditionPathExists=/etc/krb5.keytab
d2edb4
diff -up nfs-utils-1.3.0/systemd/nfs-config.service.orig nfs-utils-1.3.0/systemd/nfs-config.service
d2edb4
--- nfs-utils-1.3.0/systemd/nfs-config.service.orig	2014-03-25 11:12:07.000000000 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/nfs-config.service	2015-06-25 15:01:45.166856358 -0400
d2edb4
@@ -1,5 +1,7 @@
d2edb4
 [Unit]
d2edb4
 Description=Preprocess NFS configuration
d2edb4
+After=local-fs.target
d2edb4
+DefaultDependencies=no
d2edb4
 
d2edb4
 [Service]
d2edb4
 Type=oneshot
d2edb4
diff -up nfs-utils-1.3.0/systemd/nfs-idmapd.service.orig nfs-utils-1.3.0/systemd/nfs-idmapd.service
d2edb4
--- nfs-utils-1.3.0/systemd/nfs-idmapd.service.orig	2015-06-25 15:01:27.663527282 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/nfs-idmapd.service	2015-06-25 15:01:45.166856358 -0400
d2edb4
@@ -1,7 +1,8 @@
d2edb4
 [Unit]
d2edb4
 Description=NFSv4 ID-name mapping service
d2edb4
+DefaultDependencies=no
d2edb4
 Requires=var-lib-nfs-rpc_pipefs.mount
d2edb4
-After=var-lib-nfs-rpc_pipefs.mount
d2edb4
+After=var-lib-nfs-rpc_pipefs.mount local-fs.target
d2edb4
 
d2edb4
 BindsTo=nfs-server.service
d2edb4
 
d2edb4
diff -up nfs-utils-1.3.0/systemd/nfs-mountd.service.orig nfs-utils-1.3.0/systemd/nfs-mountd.service
d2edb4
--- nfs-utils-1.3.0/systemd/nfs-mountd.service.orig	2015-06-25 15:01:27.657527169 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/nfs-mountd.service	2015-06-25 15:01:45.166856358 -0400
d2edb4
@@ -1,8 +1,9 @@
d2edb4
 [Unit]
d2edb4
 Description=NFS Mount Daemon
d2edb4
+DefaultDependencies=no
d2edb4
 Requires=proc-fs-nfsd.mount
d2edb4
 After=proc-fs-nfsd.mount
d2edb4
-After=network.target
d2edb4
+After=network.target local-fs.target
d2edb4
 BindsTo=nfs-server.service
d2edb4
 
d2edb4
 Wants=nfs-config.service
d2edb4
diff -up nfs-utils-1.3.0/systemd/nfs-server.service.orig nfs-utils-1.3.0/systemd/nfs-server.service
d2edb4
--- nfs-utils-1.3.0/systemd/nfs-server.service.orig	2015-06-25 15:01:45.166856358 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/nfs-server.service	2015-06-25 15:02:29.916697572 -0400
d2edb4
@@ -1,11 +1,13 @@
d2edb4
 [Unit]
d2edb4
 Description=NFS server and services
d2edb4
-Requires= network.target proc-fs-nfsd.mount rpcbind.target
d2edb4
+DefaultDependencies=no
d2edb4
+Requires= network.target proc-fs-nfsd.mount rpcbind.service
d2edb4
 Requires= nfs-mountd.service
d2edb4
 Wants=rpc-statd.service nfs-idmapd.service
d2edb4
 Wants=rpc-statd-notify.service
d2edb4
 
d2edb4
-After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service
d2edb4
+After= local-fs.target
d2edb4
+After= network.target proc-fs-nfsd.mount rpcbind.service nfs-mountd.service
d2edb4
 After= nfs-idmapd.service rpc-statd.service
d2edb4
 Before= rpc-statd-notify.service
d2edb4
 
d2edb4
diff -up nfs-utils-1.3.0/systemd/rpc-statd-notify.service.orig nfs-utils-1.3.0/systemd/rpc-statd-notify.service
d2edb4
--- nfs-utils-1.3.0/systemd/rpc-statd-notify.service.orig	2015-06-25 15:01:27.658527188 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/rpc-statd-notify.service	2015-06-25 15:05:13.667774624 -0400
d2edb4
@@ -1,7 +1,8 @@
d2edb4
 [Unit]
d2edb4
 Description=Notify NFS peers of a restart
d2edb4
-Requires=network-online.target
d2edb4
-After=network-online.target nss-lookup.target
d2edb4
+DefaultDependencies=no
d2edb4
+Requires=network.target
d2edb4
+After=local-fs.target network.target nss-lookup.target
d2edb4
 
d2edb4
 # Do not start up in HA environments
d2edb4
 ConditionPathExists=!/var/lib/nfs/statd/sm.ha
d2edb4
diff -up nfs-utils-1.3.0/systemd/rpc-svcgssd.service.orig nfs-utils-1.3.0/systemd/rpc-svcgssd.service
d2edb4
--- nfs-utils-1.3.0/systemd/rpc-svcgssd.service.orig	2014-03-25 11:12:07.000000000 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/rpc-svcgssd.service	2015-06-25 15:01:45.166856358 -0400
d2edb4
@@ -1,7 +1,8 @@
d2edb4
 [Unit]
d2edb4
 Description=RPC security service for NFS server
d2edb4
+DefaultDependencies=no
d2edb4
 Requires=var-lib-nfs-rpc_pipefs.mount
d2edb4
-After=var-lib-nfs-rpc_pipefs.mount
d2edb4
+After=var-lib-nfs-rpc_pipefs.mount local-fs.target
d2edb4
 PartOf=nfs-server.service
d2edb4
 PartOf=nfs-utils.service
d2edb4
 
d2edb4
diff -up nfs-utils-1.3.0/systemd/rpc-statd.service.orig nfs-utils-1.3.0/systemd/rpc-statd.service
d2edb4
--- nfs-utils-1.3.0/systemd/rpc-statd.service.orig	2014-03-25 11:12:07.000000000 -0400
d2edb4
+++ nfs-utils-1.3.0/systemd/rpc-statd.service	2015-09-14 11:49:19.547384763 -0400
d2edb4
@@ -2,8 +2,8 @@
d2edb4
 Description=NFS status monitor for NFSv2/3 locking.
d2edb4
 DefaultDependencies=no
d2edb4
 Conflicts=umount.target
d2edb4
-Requires=nss-lookup.target rpcbind.target
d2edb4
-After=network.target nss-lookup.target rpcbind.target
d2edb4
+Requires=nss-lookup.target rpcbind.service
d2edb4
+After=network.target nss-lookup.target rpcbind.service
d2edb4
 
d2edb4
 PartOf=nfs-utils.service
d2edb4