Accepting request 863771 from filesystems
OBS-URL: https://build.opensuse.org/request/show/863771 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=23
This commit is contained in:
commit
31c1315789
12
RELNOTES-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
Normal file
12
RELNOTES-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
User-Visible OpenAFS Changes
|
||||||
|
|
||||||
|
OpenAFS 1.8.7
|
||||||
|
|
||||||
|
All platforms
|
||||||
|
|
||||||
|
* Fix initial Rx Connection ID (CID) generation.
|
||||||
|
Remove stale initialization and overflow detection logic that resulted
|
||||||
|
in connection failures due to all CIDs being set to 0x80000002.
|
||||||
|
(14493, 14494, 14497)
|
||||||
|
|
||||||
|
on top of this add all changes up to 43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d1
|
@ -1,106 +0,0 @@
|
|||||||
Attention:
|
|
||||||
|
|
||||||
This is a snapshot of the git branch openafs-stable-1_8_x to
|
|
||||||
accomodate for the Linux kernel 5.8.
|
|
||||||
|
|
||||||
The original release notes of 1.8.6. read:
|
|
||||||
|
|
||||||
|
|
||||||
User-Visible OpenAFS Changes
|
|
||||||
|
|
||||||
OpenAFS 1.8.6
|
|
||||||
|
|
||||||
All platforms
|
|
||||||
|
|
||||||
* Address warnings and errors encountered when building OpenAFS with
|
|
||||||
modern compilers like gcc9 or recent clang (13727..45 13749..50 13756
|
|
||||||
13846 13879)
|
|
||||||
|
|
||||||
* Avoid some rare cases of Rx calls getting stuck in the incoming queue
|
|
||||||
(13892)
|
|
||||||
|
|
||||||
* Display the usage of simple commands (commands without subcommands) when
|
|
||||||
run only with the -help option (13894)
|
|
||||||
|
|
||||||
* Fix a memory leak in the cache manager and the fileserver while
|
|
||||||
processing "fs uuid" or "fs setcbaddr" (13899)
|
|
||||||
|
|
||||||
* Fix a memory leak when reopening krb local realms configuration (13900)
|
|
||||||
|
|
||||||
* Avoid possible crashes when freeing kerberos contexts (13902)
|
|
||||||
|
|
||||||
All server platforms
|
|
||||||
|
|
||||||
* Do not leave empty directories behind in the file server vice partition
|
|
||||||
when running the "vos zap -force" command (13897)
|
|
||||||
|
|
||||||
* Fix "vos zap -force" failures when the volume being zapped does not have
|
|
||||||
an entry in the fileserver's volume group cache (e.g., during fileserver
|
|
||||||
startup) (13896)
|
|
||||||
|
|
||||||
* Relax the length limits on some membership lists used in ptserver RPCs,
|
|
||||||
introduced in release 1.8.0 to prevent denial of service attacks, to
|
|
||||||
accommodate use cases of some larger existing sites (13844)
|
|
||||||
|
|
||||||
* Improved diagnostics and error messages (13898 13906..8 13938)
|
|
||||||
|
|
||||||
* Ensure that fileservers running in readonly mode actually reject all
|
|
||||||
write requests, but introduce a -admin-write switch allowing writes
|
|
||||||
by members of the system:administrators group (14018 14019)
|
|
||||||
|
|
||||||
All client platforms
|
|
||||||
|
|
||||||
* Require the -insecure_des switch to be passed to aklog and klog.krb5
|
|
||||||
to make them work with single-DES encryption types (13791)
|
|
||||||
|
|
||||||
* Avoid a panic due to a retryable error - retry in a background request
|
|
||||||
instead (13847)
|
|
||||||
|
|
||||||
* Avoid blocking other functions on the completion of some potentially
|
|
||||||
long-running RPCs issued by the server (13893)
|
|
||||||
|
|
||||||
* Fix a potential memory leak in "fs getserverprefs" when the pioctl fails
|
|
||||||
with E2BIG (13895)
|
|
||||||
|
|
||||||
* Avoid the local cache incorrectly reflecting the state of a file on the
|
|
||||||
fileserver after flushing large chunks of data to the server. This
|
|
||||||
issue was present on FreeBSD clients, but probably not Linux/Solaris
|
|
||||||
ones (13951) (RT #135041)
|
|
||||||
|
|
||||||
* After a VLDB lookup of a read-write volume already failed, don't bother
|
|
||||||
looking up corresponding read-only or backup volumes since those lookups
|
|
||||||
are bound to fail, in order to make the client more responsive and
|
|
||||||
avoid unnecessary load on the vlserver (13968)
|
|
||||||
|
|
||||||
* Allow a "vos rename" to succeed if the new volume name is the same as
|
|
||||||
that in the current VLDB, to make it possible to complete a previously
|
|
||||||
interrupted volume rename (14055)
|
|
||||||
|
|
||||||
* Allow processes which are sleeping due to PAG throttling to be killable
|
|
||||||
(13974).
|
|
||||||
|
|
||||||
* Fix set PAG failures due to signals (13975).
|
|
||||||
|
|
||||||
Linux clients
|
|
||||||
|
|
||||||
* Support mainline kernels up to and including 5.7 (14069 14094 14095
|
|
||||||
14209 14210)
|
|
||||||
|
|
||||||
* Make builds succeed with --enable-checking for mainline kernels
|
|
||||||
5.3-rc2 and later (13910)
|
|
||||||
|
|
||||||
* Avoid possible deadlocks (13748 13765)
|
|
||||||
|
|
||||||
* Fix build of libuafs on ppc64le (14104)
|
|
||||||
|
|
||||||
* Fix build on certain recent 32-bit distributions (14234) (RT #135084)
|
|
||||||
|
|
||||||
macOS
|
|
||||||
|
|
||||||
* Support building, packaging and notarization on macOS 10.15 "Catalina"
|
|
||||||
(14031..7 14068)
|
|
||||||
|
|
||||||
Microsoft Windows
|
|
||||||
|
|
||||||
* Build fixes (13848..52)
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
--- openafs-1.8.0//src/libafs/MakefileProto.LINUX.in.orig 2018-06-27 07:57:10.916249040 +0200
|
|
||||||
+++ openafs-1.8.0//src/libafs/MakefileProto.LINUX.in 2018-06-27 07:57:56.492849436 +0200
|
|
||||||
@@ -320,7 +320,7 @@
|
|
||||||
${LINUX_LIBAFS_NAME}.ko afspag.ko: .FORCE
|
|
||||||
env EXTRA_CFLAGS="${EXTRA_CFLAGS}" @TOP_SRCDIR@/libafs/make_kbuild_makefile.pl ${KDIR} $@ @TOP_OBJDIR@/src/config/Makefile.config Makefile.afs Makefile.common
|
|
||||||
( env EXTRA_CFLAGS="${EXTRA_CFLAGS}" \
|
|
||||||
- $(MAKE) -C ${LINUX_KERNEL_BUILD} M=@TOP_OBJDIR@/src/libafs/${KDIR} modules 2>&1 \
|
|
||||||
+ $(MAKE) -C ${LINUX_KERNEL_BUILD} ${LINUX_MAKE_ARCH} M=@TOP_OBJDIR@/src/libafs/${KDIR} modules 2>&1 \
|
|
||||||
|| echo "FAILURE: make exit code $$?" ) | tee .makelog
|
|
||||||
@if grep -E -q '^(FAILURE|WARNING)' .makelog; then \
|
|
||||||
grep -q '^WARNING' .makelog && echo "Error: Undefined symbols in modules" ; \
|
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5f27b1e4659ac580c224b27051d7b1829acac54e1baa298ece01aab07f90080f
|
||||||
|
size 3376713
|
@ -0,0 +1 @@
|
|||||||
|
df26c34917bbd381452e02eb7209cd7e openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2
|
@ -0,0 +1 @@
|
|||||||
|
5f27b1e4659ac580c224b27051d7b1829acac54e1baa298ece01aab07f90080f openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53d224b5e9899a5cc085d0df407671bf12299ca1780b4480113fc78be229aef4
|
||||||
|
size 105877297
|
@ -0,0 +1 @@
|
|||||||
|
ff3a1666cfe3824fb1aece1e817369bc openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2
|
@ -0,0 +1 @@
|
|||||||
|
53d224b5e9899a5cc085d0df407671bf12299ca1780b4480113fc78be229aef4 openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:573175a021b963fc0e6bcd17f300e6eab019ad00bf0d3a2819a281fc32761498
|
|
||||||
size 3807849
|
|
@ -1 +0,0 @@
|
|||||||
dba78aeb6d488cb2f3620cc7191ab8eb openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2
|
|
@ -1 +0,0 @@
|
|||||||
573175a021b963fc0e6bcd17f300e6eab019ad00bf0d3a2819a281fc32761498 openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fa55ba30e6abc21903a82ed9dabac66c9081c347a7efb298e6314b1112efe9b2
|
|
||||||
size 15207557
|
|
@ -1 +0,0 @@
|
|||||||
71c00f8ba4920956cfe5017c420c8aac openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2
|
|
@ -1 +0,0 @@
|
|||||||
fa55ba30e6abc21903a82ed9dabac66c9081c347a7efb298e6314b1112efe9b2 openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2
|
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 16 23:01:13 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
|
||||||
|
|
||||||
|
- update to HEAD of git branch openafs-stable-1_8_x
|
||||||
|
* fix critical bug described in
|
||||||
|
https://lists.openafs.org/pipermail/openafs-info/2021-January/043026.html
|
||||||
|
* remove remove-get_ds-usage.patch
|
||||||
|
* remove add_arch_to_linux_kernel_make.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 11 10:01:15 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
|
Mon Jan 11 10:01:15 UTC 2021 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
|
||||||
|
|
||||||
|
12
openafs.spec
12
openafs.spec
@ -60,11 +60,11 @@
|
|||||||
|
|
||||||
# used for %setup only
|
# used for %setup only
|
||||||
# leave upstream tar-balls untouched for integrity checks.
|
# leave upstream tar-balls untouched for integrity checks.
|
||||||
%define upstream_version git-62beb979b4e43c361db54fbf3084f876fd2c11da
|
%define upstream_version git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
|
||||||
|
|
||||||
Name: openafs
|
Name: openafs
|
||||||
|
|
||||||
Version: 1.8.6.1
|
Version: 1.8.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: OpenAFS Distributed File System
|
Summary: OpenAFS Distributed File System
|
||||||
License: IPL-1.0
|
License: IPL-1.0
|
||||||
@ -114,11 +114,6 @@ Source99: openafs.changes
|
|||||||
Patch3: dir_layout.patch
|
Patch3: dir_layout.patch
|
||||||
# PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
|
# PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
|
||||||
Patch4: openafs-1.8.x.ncurses6.patch
|
Patch4: openafs-1.8.x.ncurses6.patch
|
||||||
# PATCH-SUSE-SPECIFIC make KMP work again
|
|
||||||
Patch5: add_arch_to_linux_kernel_make.patch
|
|
||||||
# PATCH-SUSE-SPECIFIC make KMP work on aarch64
|
|
||||||
Patch6: remove-get_ds-usage.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# GENERAL BuildRequires and Requires
|
# GENERAL BuildRequires and Requires
|
||||||
@ -331,8 +326,6 @@ done
|
|||||||
%setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
|
%setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
|
||||||
%patch6 -p1
|
|
||||||
|
|
||||||
./regen.sh
|
./regen.sh
|
||||||
|
|
||||||
@ -937,6 +930,7 @@ fi
|
|||||||
%{_sbindir}/voldump
|
%{_sbindir}/voldump
|
||||||
%{_sbindir}/volinfo
|
%{_sbindir}/volinfo
|
||||||
%{_sbindir}/volscan
|
%{_sbindir}/volscan
|
||||||
|
%{_sbindir}/rxstat_*
|
||||||
%_unitdir/openafs-server.service
|
%_unitdir/openafs-server.service
|
||||||
%{_sbindir}/rcopenafs-server
|
%{_sbindir}/rcopenafs-server
|
||||||
/%{_fillupdir}/sysconfig.openafs-server
|
/%{_fillupdir}/sysconfig.openafs-server
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
--- openafs-1.8.6/src/afs/LINUX/osi_file.c.orig 2020-08-10 10:24:28.386857043 +0200
|
|
||||||
+++ openafs-1.8.6/src/afs/LINUX/osi_file.c 2020-08-10 10:24:50.323153971 +0200
|
|
||||||
@@ -388,7 +388,7 @@
|
|
||||||
if (uiop->uio_seg == AFS_UIOSYS) {
|
|
||||||
/* Switch into user space */
|
|
||||||
old_fs = get_fs();
|
|
||||||
- set_fs(get_ds());
|
|
||||||
+ set_fs(KERNEL_DS);
|
|
||||||
}
|
|
||||||
#endif /* AFS_FILE_NEEDS_SET_FS */
|
|
||||||
|
|
||||||
--- openafs-1.8.6/src/afs/LINUX/osi_compat.orig 2020-08-10 10:23:11.657811615 +0200
|
|
||||||
+++ openafs-1.8.6/src/afs/LINUX/osi_compat.h 2020-08-10 10:23:32.138091746 +0200
|
|
||||||
@@ -323,7 +323,7 @@
|
|
||||||
mm_segment_t old_fs = get_fs();
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
- set_fs(get_ds());
|
|
||||||
+ set_fs(KERNEL_DS);
|
|
||||||
ret = sockp->ops->setsockopt(sockp, level, name, val, len);
|
|
||||||
set_fs(old_fs);
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user