From: Sam Hartman Date: Sat, 2 Dec 2000 05:55:18 +0000 (+0000) Subject: Fix afs-rootvol so previous change works; make sure afs-newcell command line options... X-Git-Tag: debian/1.0.snap20001106-10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=039c9da528638e28460cc8c8ad182893c8532e36;p=packages%2Fo%2Fopenafs.git Fix afs-rootvol so previous change works; make sure afs-newcell command line options work --- 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