From a7e14b8af774468f42471e6cc280ecf4abd32863 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 31 Mar 2011 14:08:43 -0700 Subject: [PATCH] Declare dependency between openafs-client and openafs-fileserver inits * Declare optional dependencies in the openafs-client init script on openafs-fileserver so that, if the same host is running both a fileserver and a client, the fileserver starts before and stops after the client. --- debian/changelog | 9 +++++++++ debian/openafs-client.init | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a3d8823c2..67aa32fe6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +openafs (1.6.0~pre3-2) UNRELEASED; urgency=low + + * Declare optional dependencies in the openafs-client init script on + openafs-fileserver so that, if the same host is running both a + fileserver and a client, the fileserver starts before and stops after + the client. + + -- Russ Allbery Thu, 31 Mar 2011 14:04:35 -0700 + openafs (1.6.0~pre3-1) experimental; urgency=low * New upstream prerelease. diff --git a/debian/openafs-client.init b/debian/openafs-client.init index bdc11ce00..f91529bb8 100755 --- a/debian/openafs-client.init +++ b/debian/openafs-client.init @@ -3,7 +3,8 @@ # Provides: openafs-client # Required-Start: $remote_fs $network $time # Required-Stop: $remote_fs $network -# Should-Start: $syslog $named +# Should-Start: $syslog $named openafs-fileserver +# Should-Stop: openafs-fileserver # X-Stop-After: autofs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -- 2.39.5