[27562] in Source-Commits
pyhesiodfs commit: Add dependency on $remote_fs in init script
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Dec 31 12:27:31 2013
Date: Tue, 31 Dec 2013 12:27:24 -0500
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201312311727.rBVHROjL027142@drugstore.mit.edu>
To: source-commits@MIT.EDU
https://github.com/mit-athena/pyhesiodfs/commit/05f789cdc7bf2c266ee6a423385c2861ea95889c
commit 05f789cdc7bf2c266ee6a423385c2861ea95889c
Author: Jonathan Reed <jdreed@mit.edu>
Date: Fri Nov 15 09:09:28 2013 -0500
Add dependency on $remote_fs in init script
Add a Required-Start and Required-Stop dependency on $remote_fs,
because it is apparently still 1992 with 40MB disks and /usr could
therefore be an NFS mount.
The irony of what is effectively a remote filesystem's init script
depending on $remote_fs is not lost on the authors.
debian/debathena-pyhesiodfs.init | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/debathena-pyhesiodfs.init b/debian/debathena-pyhesiodfs.init
index efa0e3a..29d325f 100644
--- a/debian/debathena-pyhesiodfs.init
+++ b/debian/debathena-pyhesiodfs.init
@@ -1,8 +1,8 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: debathena-pyhesiodfs
-# Required-Start: openafs-client
-# Required-Stop: openafs-client
+# Required-Start: $remote_fs openafs-client
+# Required-Stop: $remote_fs openafs-client
# Should-Start: $local_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
@@ -14,7 +14,6 @@
# Do NOT "set -e"
-# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Debathena /mit automounter"
NAME=debathena-pyhesiodfs