]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
* Move upserver and upclient to /usr/lib/openafs (from /usr/sbin) to
authorRuss Allbery <rra@debian.org>
Tue, 19 Jun 2007 11:02:27 +0000 (11:02 +0000)
committerRuss Allbery <rra@debian.org>
Tue, 19 Jun 2007 11:02:27 +0000 (11:02 +0000)
  match upstream's layout and for consistency with the other servers run
  via bosserver.

debian/changelog
debian/openafs-fileserver.install
debian/openafs-fileserver.postinst

index d65288821d0024024e44361fff7a266a5942b20d..ec4834a0fa8b410a05dbafc105071085ce774779 100644 (file)
@@ -10,11 +10,14 @@ openafs (1.4.4.dfsg1-4) UNRELEASED; urgency=low
     files, and the file server has to write to this directory to start (so
     having it in /etc breaks read-only / file systems).  Thanks, Alexei
     Sheplyakov.  (Closes: #405697)
+  * Move upserver and upclient to /usr/lib/openafs (from /usr/sbin) to
+    match upstream's layout and for consistency with the other servers run
+    via bosserver.
   * Go back to using krb5-config.  The dependency problem has now been
     fixed on all platforms in the krb5 package and this is the preferred
     upstream method.
 
- -- Russ Allbery <rra@debian.org>  Tue, 19 Jun 2007 02:07:20 -0700
+ -- Russ Allbery <rra@debian.org>  Tue, 19 Jun 2007 04:03:44 -0700
 
 openafs (1.4.4.dfsg1-3) unstable; urgency=low
 
index 7c13389991056ef24f05ce4ac1496124d5595b7a..3fe61b923e54710d16e0797fea836cebf788c8ab 100644 (file)
@@ -2,10 +2,10 @@ debian/tmp/usr/sbin/bosserver           usr/sbin
 debian/tmp/usr/sbin/voldump             usr/sbin
 debian/tmp/usr/sbin/volinfo             usr/sbin
 
-debian/tmp/usr/lib/openafs/up*          usr/sbin
-
 debian/tmp/usr/lib/openafs/fileserver   usr/lib/openafs
 debian/tmp/usr/lib/openafs/salvager     usr/lib/openafs
+debian/tmp/usr/lib/openafs/upclient     usr/lib/openafs
+debian/tmp/usr/lib/openafs/upserver     usr/lib/openafs
 debian/tmp/usr/lib/openafs/volserver    usr/lib/openafs
 
 debian/tmp/usr/share/man/man5/BosConfig.5             usr/share/man/man5
index 7ea6b705c51bc16b0114a5c40115815d158530d4..cd1be200bda1345856ce4c080db49a4c54418cf9 100644 (file)
@@ -31,12 +31,20 @@ configure)
     # Move the contents of the old /etc/openafs/server-local directory into
     # /var/lib/openafs/local.  Most of the files in this directory are
     # automatically generated, so it didn't belong in /etc.
+    #
+    # Change the paths to upserver and upclient in BosConfig from older
+    # versions that had the binaries in /usr/sbin.
     if [ "x$2" != "x" ] && dpkg --compare-versions $2 lt 1.4.4.dfsg1-4 ; then
         for f in sysid sysid.old NetInfo NetRestrict ; do
             if [ -e "/etc/openafs/server-local/$f" ] ; then
                 cp "/etc/openafs/server-local/$f" "/var/lib/openafs/local/$f"
             fi
         done
+        if [ -e /etc/openafs/BosConfig ] ; then
+            sed -i -e 's,/usr/sbin/upserver,/usr/lib/openafs/upserver,' \
+                   -e 's,/usr/sbin/upclient,/usr/lib/openafs/upclient,' \
+                       /etc/openafs/BosConfig
+        fi
     fi
     db_stop
     ;;