From d6459dd5f147bb972d8d2a645c55ba4a7f506f3b Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 10 Sep 2010 10:28:00 -0700 Subject: [PATCH] Fix the sample CellServDB entry output by afs-newcell * Fix the sample CellServDB entry printed by afs-newcell if the cell isn't found in /etc/openafs/CellServDB to include the correct server syntax. Thanks, Peter Palfrader. --- debian/afs-newcell | 2 +- debian/changelog | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/afs-newcell b/debian/afs-newcell index 218dd250a..b58d3a9ea 100755 --- a/debian/afs-newcell +++ b/debian/afs-newcell @@ -175,7 +175,7 @@ unless ($found) { print "The new cell $cell is not configured in /etc/openafs/CellServDB\n"; print "Add configuration like:\n\n"; print ">$cell\n"; - print inet_ntoa($ip), "\n\n"; + print inet_ntoa($ip), "\t\t\t#$server\n\n"; print "to that file before continuing.\n"; exit(1); } diff --git a/debian/changelog b/debian/changelog index 10030db3c..71a6e61e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,9 @@ openafs (1.5.75-3) UNRELEASED; urgency=low * Add a dependency on libc6-dev to openafs-modules-dkms. dkms doesn't depend on it because most kernel modules don't need it, but openafs builds userspace helper programs. Thanks, Peter Palfrader. + * Fix the sample CellServDB entry printed by afs-newcell if the cell + isn't found in /etc/openafs/CellServDB to include the correct server + syntax. Thanks, Peter Palfrader. * Run the DKMS build commands in a subshell to work around a DKMS bug that caused the module build logs to be discarded. (LP: #593509) * Add a status command to the openafs-fileserver init script. -- 2.39.5