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.4.14+dfsg-1~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=96977ed4b8712a831e736a803bf2c2484abda9da;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 bacc99990..73e025b4a 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 18dc3e754..5dedca769 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,9 @@ openafs (1.4.12.1+dfsg-4) 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. -- Russ Allbery Fri, 27 Aug 2010 17:52:19 -0700