Blame 0110-TEST-20-NFS-remove-stale-pid-file.patch

Harald Hoyer 4f714a
From 1de836c76316ac2cbd752227ed1b4ab322420224 Mon Sep 17 00:00:00 2001
Harald Hoyer 4f714a
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 4f714a
Date: Fri, 19 Aug 2016 15:33:59 +0200
Harald Hoyer 4f714a
Subject: [PATCH] TEST-20-NFS: remove stale pid file
Harald Hoyer 4f714a
Harald Hoyer 4f714a
---
Harald Hoyer 4f714a
 test/TEST-20-NFS/dhcpd.conf     | 340 ++++++++++++++++++++--------------------
Harald Hoyer 4f714a
 test/TEST-20-NFS/server-init.sh |   2 +
Harald Hoyer 4f714a
 test/TEST-20-NFS/test.sh        |   2 +-
Harald Hoyer 4f714a
 3 files changed, 173 insertions(+), 171 deletions(-)
Harald Hoyer 4f714a
Harald Hoyer 4f714a
diff --git a/test/TEST-20-NFS/dhcpd.conf b/test/TEST-20-NFS/dhcpd.conf
Harald Hoyer 4f714a
index a4f7fc1..4ba7301 100644
Harald Hoyer 4f714a
--- a/test/TEST-20-NFS/dhcpd.conf
Harald Hoyer 4f714a
+++ b/test/TEST-20-NFS/dhcpd.conf
Harald Hoyer 4f714a
@@ -3,175 +3,175 @@ ddns-update-style none;
Harald Hoyer 4f714a
 use-host-decl-names true;
Harald Hoyer 4f714a
 
Harald Hoyer 4f714a
 subnet 192.168.50.0 netmask 255.255.255.0 {
Harald Hoyer 4f714a
-	option subnet-mask      255.255.255.0;
Harald Hoyer 4f714a
-	option routers          192.168.50.1;
Harald Hoyer 4f714a
-	next-server             192.168.50.1;
Harald Hoyer 4f714a
-	server-identifier       192.168.50.1;
Harald Hoyer 4f714a
-	option domain-name-servers 192.168.50.1;
Harald Hoyer 4f714a
-	option domain-search "example.com";
Harald Hoyer 4f714a
-	option domain-name "other.com";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	# MAC numbering scheme:
Harald Hoyer 4f714a
-	# NFSv3: last octect starts at 0x00 and works up
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp or root={/dev/,}nfs, use server-id
Harald Hoyer 4f714a
-		option root-path "/nfs/client";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-1 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:00;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp or root={/dev/,}nfs, use given IP
Harald Hoyer 4f714a
-		option root-path "192.168.50.2:/nfs/client";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-2 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:01;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp, use protocol from root-path
Harald Hoyer 4f714a
-		option root-path "nfs:192.168.50.3:/nfs/client";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-3 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:02;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp, use protocol, options from root-path
Harald Hoyer 4f714a
-		option root-path "nfs:192.168.50.3:/nfs/client:wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-4 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:03;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp, nfsroot=/path and nfsroot=IP:/path testing
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-5 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:04;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp, use path, comma-separated options
Harald Hoyer 4f714a
-		option root-path "/nfs/client,wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-6 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:05;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp, use IP, path, comma-separated options
Harald Hoyer 4f714a
-		option root-path "192.168.50.2:/nfs/client,wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-7 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:06;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=dhcp, use proto, IP, path, comma-separated options
Harald Hoyer 4f714a
-		option root-path "nfs:192.168.50.3:/nfs/client,wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs3-8 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:07;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	# MAC numbering scheme:
Harald Hoyer 4f714a
-	# NFSv4: last octect starts at 0x80 and works up
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv4 root={/dev/,}nfs4, use server-id
Harald Hoyer 4f714a
-		option root-path "/client";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs4-1 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:80;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv4 root={/dev/,}nfs4, use given IP
Harald Hoyer 4f714a
-		option root-path "192.168.50.2:/client";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs4-2 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:81;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv4 root=dhcp, use profocol from root-path
Harald Hoyer 4f714a
-		option root-path "nfs4:192.168.50.3:/client";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs4-3 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:82;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv4 root=dhcp, use profocol, options from root-path
Harald Hoyer 4f714a
-		option root-path "nfs4:192.168.50.3:/client:wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs4-4 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:83;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv3 root=nfs4, nfsroot=/path and nfsroot=IP:/path testing
Harald Hoyer 4f714a
-		host nfs4-5 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:84;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv4 root={/dev/,}nfs4, use server-id, comma-separated opts
Harald Hoyer 4f714a
-		option root-path "/client,wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs4-6 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:85;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv4 root={/dev/,}nfs4, use given IP, comma-separated opts
Harald Hoyer 4f714a
-		option root-path "192.168.50.2:/client,wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs4-7 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:86;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-	group {
Harald Hoyer 4f714a
-		# NFSv4 root=dhcp, use comma-separated opts
Harald Hoyer 4f714a
-		option root-path "nfs4:192.168.50.3:/client,wsize=4096";
Harald Hoyer 4f714a
-
Harald Hoyer 4f714a
-		host nfs4-8 {
Harald Hoyer 4f714a
-			hardware ethernet 52:54:00:12:34:87;
Harald Hoyer 4f714a
-			fixed-address 192.168.50.101;
Harald Hoyer 4f714a
-		}
Harald Hoyer 4f714a
-	}
Harald Hoyer 4f714a
+option subnet-mask      255.255.255.0;
Harald Hoyer 4f714a
+option routers          192.168.50.1;
Harald Hoyer 4f714a
+next-server             192.168.50.1;
Harald Hoyer 4f714a
+server-identifier       192.168.50.1;
Harald Hoyer 4f714a
+option domain-name-servers 192.168.50.1;
Harald Hoyer 4f714a
+option domain-search "example.com";
Harald Hoyer 4f714a
+option domain-name "other.com";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+# MAC numbering scheme:
Harald Hoyer 4f714a
+# NFSv3: last octect starts at 0x00 and works up
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+    group {
Harald Hoyer 4f714a
+        # NFSv3 root=dhcp or root={/dev/,}nfs, use server-id
Harald Hoyer 4f714a
+        option root-path "/nfs/client";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        host nfs3-1 {
Harald Hoyer 4f714a
+            hardware ethernet 52:54:00:12:34:00;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=dhcp or root={/dev/,}nfs, use given IP
Harald Hoyer 4f714a
+                option root-path "192.168.50.2:/nfs/client";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs3-2 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:01;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=dhcp, use protocol from root-path
Harald Hoyer 4f714a
+                option root-path "nfs:192.168.50.3:/nfs/client";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs3-3 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:02;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=dhcp, use protocol, options from root-path
Harald Hoyer 4f714a
+                option root-path "nfs:192.168.50.3:/nfs/client:wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs3-4 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:03;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=dhcp, nfsroot=/path and nfsroot=IP:/path testing
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs3-5 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:04;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=dhcp, use path, comma-separated options
Harald Hoyer 4f714a
+                option root-path "/nfs/client,wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs3-6 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:05;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=dhcp, use IP, path, comma-separated options
Harald Hoyer 4f714a
+                option root-path "192.168.50.2:/nfs/client,wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs3-7 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:06;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=dhcp, use proto, IP, path, comma-separated options
Harald Hoyer 4f714a
+                option root-path "nfs:192.168.50.3:/nfs/client,wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs3-8 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:07;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        # MAC numbering scheme:
Harald Hoyer 4f714a
+        # NFSv4: last octect starts at 0x80 and works up
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv4 root={/dev/,}nfs4, use server-id
Harald Hoyer 4f714a
+                option root-path "/client";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs4-1 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:80;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv4 root={/dev/,}nfs4, use given IP
Harald Hoyer 4f714a
+                option root-path "192.168.50.2:/client";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs4-2 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:81;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv4 root=dhcp, use profocol from root-path
Harald Hoyer 4f714a
+                option root-path "nfs4:192.168.50.3:/client";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs4-3 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:82;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv4 root=dhcp, use profocol, options from root-path
Harald Hoyer 4f714a
+                option root-path "nfs4:192.168.50.3:/client:wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs4-4 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:83;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv3 root=nfs4, nfsroot=/path and nfsroot=IP:/path testing
Harald Hoyer 4f714a
+                host nfs4-5 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:84;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv4 root={/dev/,}nfs4, use server-id, comma-separated opts
Harald Hoyer 4f714a
+                option root-path "/client,wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs4-6 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:85;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv4 root={/dev/,}nfs4, use given IP, comma-separated opts
Harald Hoyer 4f714a
+                option root-path "192.168.50.2:/client,wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs4-7 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:86;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+        group {
Harald Hoyer 4f714a
+                # NFSv4 root=dhcp, use comma-separated opts
Harald Hoyer 4f714a
+                option root-path "nfs4:192.168.50.3:/client,wsize=4096";
Harald Hoyer 4f714a
+
Harald Hoyer 4f714a
+                host nfs4-8 {
Harald Hoyer 4f714a
+                        hardware ethernet 52:54:00:12:34:87;
Harald Hoyer 4f714a
+                        fixed-address 192.168.50.101;
Harald Hoyer 4f714a
+                }
Harald Hoyer 4f714a
+        }
Harald Hoyer 4f714a
 
Harald Hoyer 4f714a
 }
Harald Hoyer 4f714a
diff --git a/test/TEST-20-NFS/server-init.sh b/test/TEST-20-NFS/server-init.sh
Harald Hoyer 4f714a
index 5b6f42f..aa8af53 100755
Harald Hoyer 4f714a
--- a/test/TEST-20-NFS/server-init.sh
Harald Hoyer 4f714a
+++ b/test/TEST-20-NFS/server-init.sh
Harald Hoyer 4f714a
@@ -46,10 +46,12 @@ rpc.idmapd
Harald Hoyer 4f714a
 echo > /dev/watchdog
Harald Hoyer 4f714a
 exportfs -r
Harald Hoyer 4f714a
 echo > /dev/watchdog
Harald Hoyer 4f714a
+mkdir -p /var/lib/dhcpd
Harald Hoyer 4f714a
 >/var/lib/dhcpd/dhcpd.leases
Harald Hoyer 4f714a
 echo > /dev/watchdog
Harald Hoyer 4f714a
 chmod 777 /var/lib/dhcpd/dhcpd.leases
Harald Hoyer 4f714a
 echo > /dev/watchdog
Harald Hoyer 4f714a
+rm -f /var/run/dhcpd.pid
Harald Hoyer 4f714a
 dhcpd -d -cf /etc/dhcpd.conf -lf /var/lib/dhcpd/dhcpd.leases &
Harald Hoyer 4f714a
 echo "Serving NFS mounts"
Harald Hoyer 4f714a
 while :; do
Harald Hoyer 4f714a
diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh
Harald Hoyer 4f714a
index 981cd82..039fb61 100755
Harald Hoyer 4f714a
--- a/test/TEST-20-NFS/test.sh
Harald Hoyer 4f714a
+++ b/test/TEST-20-NFS/test.sh
Harald Hoyer 4f714a
@@ -237,7 +237,7 @@ test_setup() {
Harald Hoyer 4f714a
         inst_multiple sh ls shutdown poweroff stty cat ps ln ip \
Harald Hoyer 4f714a
             dmesg mkdir cp ping exportfs \
Harald Hoyer 4f714a
             modprobe rpc.nfsd rpc.mountd showmount tcpdump \
Harald Hoyer 4f714a
-            /etc/services sleep mount chmod
Harald Hoyer 4f714a
+            /etc/services sleep mount chmod rm
Harald Hoyer 4f714a
         for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
Harald Hoyer 4f714a
             [ -f ${_terminfodir}/l/linux ] && break
Harald Hoyer 4f714a
         done