From 039c9da528638e28460cc8c8ad182893c8532e36 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sat, 2 Dec 2000 05:55:18 +0000 Subject: [PATCH] Fix afs-rootvol so previous change works; make sure afs-newcell command line options work --- debian/afs-rootvol | 7 ++++++- debian/changelog | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/debian/afs-rootvol b/debian/afs-rootvol index cfd2e5ec3..a294e126b 100644 --- a/debian/afs-rootvol +++ b/debian/afs-rootvol @@ -112,13 +112,16 @@ open(CELLSERVDB, "/etc/openafs/CellServDB") while() { chomp; if (/^>\s*([a-z0-9_\-.]+)/ ) { - run("fs mkm /afs/$1 root.cell -cell $1 -fastch"); + run("fs mkm /afs/$1 root.cell -cell $1 -fast"); + unwind ("fs rmm /afs/$1"); } } run("fs sa /afs/$cell system:anyuser rl"); run ("fs mkm /afs/.$cell root.cell -cell $cell -rw"); +unwind ("fs rmm /afs/.$cell"); run("fs mkm /afs/.root.afs root.afs -rw"); +unwind ("fs rmm /afs/.root.afs"); mkvol( "user", "/afs/$cell/user" ); mkvol( "service", "/afs/$cell/service" ); @@ -126,7 +129,9 @@ mkvol( "service", "/afs/$cell/service" ); $cell =~ /^([^.]*)/; my $cellpart = $1; run("ln -s /afs/$cell /afs/$cellpart"); +unwind ("rm /afs/$cellpart"); run( "ln -s /afs/.$cell /afs/.$cellpart" ); +unwind ("rm /afs/.$cellpart"); run( "vos addsite $server $part root.afs -localauth" ); run( "vos addsite $server $part root.cell -localauth" ); diff --git a/debian/changelog b/debian/changelog index eaf479883..0e9698266 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +openafs (1.0.snap20001106-10) unstable; urgency=low + + * Release (Closes: BUG#69336) + * Fix typo and afs-rootvol and test from CLI + + -- Sam Hartman Sat, 2 Dec 2000 00:44:37 -0500 + openafs (1.0.snap20001106-9) unstable; urgency=medium * Fix openafs-fileserver restart to do a bos restart -- 2.39.5