From: Russ Allbery Date: Fri, 10 Sep 2010 17:28:00 +0000 (-0700) Subject: Fix the sample CellServDB entry output by afs-newcell X-Git-Tag: debian/1.5.77-1~19 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d6459dd5f147bb972d8d2a645c55ba4a7f506f3b;p=packages%2Fo%2Fopenafs.git 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. --- 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.