]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove openafs-fileserver postinst ancient version support
authorRuss Allbery <rra@debian.org>
Mon, 17 Jun 2013 20:20:37 +0000 (13:20 -0700)
committerRuss Allbery <rra@debian.org>
Mon, 17 Jun 2013 20:20:37 +0000 (13:20 -0700)
* Remove openafs-fileserver postinst support for upgrades from ancient
  versions (1.4.4.dfsg1-4 and 1.4.11+dfsg-3).

debian/changelog
debian/openafs-fileserver.postinst

index 9716455dbc9da5e9505a548854c27230625d1611..0a041bd35af3caafdae41cf5bd5ed4aca3552c24 100644 (file)
@@ -32,6 +32,8 @@ openafs (1.6.3-1) UNRELEASED; urgency=low
       recovery cases properly.
     - Only force creation of CellServDB on initial installation or if
       AFSDB/SRV records are not being used.
+  * Remove openafs-fileserver postinst support for upgrades from ancient
+    versions (1.4.4.dfsg1-4 and 1.4.11+dfsg-3).
 
  -- Russ Allbery <rra@debian.org>  Mon, 17 Jun 2013 10:50:14 -0700
 
index 8eb656ccecda1cb50f8dfafede28a955ee18ce29..c54000b650a151a37136c40dbbf1b27aa9dec022 100755 (executable)
@@ -18,34 +18,6 @@ configure)
         fi
     fi
     db_stop
-
-    # 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
-
-    # Previous versions of the package set the permissions on
-    # /var/lib/openafs/local to 755, but upstream prefers 700 to protect the
-    # fssync.sock socket.  Probably doesn't matter on Linux, but if we
-    # diverge, either bosserver complains or we have to patch it.  dpkg won't
-    # change the permissions of existing directories.
-    if [ x"$2" != x ] && dpkg --compare-versions "$2" lt 1.4.11+dfsg-3 ; then
-        chmod 700 /var/lib/openafs/local
-    fi
     ;;
 
 abort-upgrade|abort-remove|abort-deconfigure)