Hello community,
here is the log from the commit of package fedfs-utils for openSUSE:Factory checked in at 2015-12-03 13:29:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fedfs-utils (Old)
and /work/SRC/openSUSE:Factory/.fedfs-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fedfs-utils"
Changes:
--------
--- /work/SRC/openSUSE:Factory/fedfs-utils/fedfs-utils.changes 2015-08-05 06:49:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.fedfs-utils.new/fedfs-utils.changes 2015-12-03 13:29:25.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Nov 28 07:36:18 UTC 2015 - mlin@suse.com
+
+- Update to version 0.10.5:
+ + Fix more bugs in admin tools
+- Add fedfs-utils-fix-build-with-libtirpc-1.0.patch
+ + Fix build failure with libtirpc 1.0 and above as it moves the xp_auth field
+
+-------------------------------------------------------------------
Old:
----
fedfs-utils-0.10.4.tar.gz
New:
----
fedfs-utils-0.10.5.tar.gz
fedfs-utils-fix-build-with-libtirpc-1.0.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fedfs-utils.spec ++++++
--- /var/tmp/diff_new_pack.T1Yn8U/_old 2015-12-03 13:29:26.000000000 +0100
+++ /var/tmp/diff_new_pack.T1Yn8U/_new 2015-12-03 13:29:26.000000000 +0100
@@ -18,7 +18,7 @@
Name: fedfs-utils
Url: http://wiki.linux-nfs.org/wiki/index.php/FedFsUtilsProject
-Version: 0.10.4
+Version: 0.10.5
Release: 0
Summary: Utilities for mounting and managing FedFS
License: GPL-2.0
@@ -41,6 +41,8 @@
Source: %{name}-%{version}.tar.gz
Source1: sysconfig.fedfs
+# PATCH-FIX-UPSTREAM fedfs-utils-fix-build-with-libtirpc-1.0.patch mlin@suse.com
+Patch0: fedfs-utils-fix-build-with-libtirpc-1.0.patch
%description
RFC 5716 introduces the Federated File System (FedFS, for short). FedFS
@@ -65,6 +67,7 @@
%prep
%setup -q -n %{name}-%{version}
+%patch0 -p1
%build
%define _sharedstatedir /var/lib
++++++ fedfs-utils-0.10.4.tar.gz -> fedfs-utils-0.10.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/.gitignore new/fedfs-utils-0.10.5/.gitignore
--- old/fedfs-utils-0.10.4/.gitignore 2015-06-19 19:52:47.000000000 +0200
+++ new/fedfs-utils-0.10.5/.gitignore 2015-10-31 22:19:26.000000000 +0100
@@ -78,3 +78,4 @@
.stgit*
py-compile
cov-int/
+compile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/ChangeLog new/fedfs-utils-0.10.5/ChangeLog
--- old/fedfs-utils-0.10.4/ChangeLog 2015-07-08 17:59:41.000000000 +0200
+++ new/fedfs-utils-0.10.5/ChangeLog 2015-10-31 22:20:18.000000000 +0100
@@ -1,3 +1,119 @@
+commit df0bf073399ae34489517720bf7e140c18e2f7d9
+Author: Chuck Lever
+AuthorDate: Fri Oct 23 11:50:34 2015 -0700
+Commit: Chuck Lever
+CommitDate: Fri Oct 23 11:50:34 2015 -0700
+
+ Release 0.10.5
+
+ o Fix more bugs in admin tools
+
+ Signed-off-by: Chuck Lever
+
+commit 77121007ef6978eaf1d62d321f981023b2ee573f
+Author: Chuck Lever
+AuthorDate: Fri Oct 23 11:32:38 2015 -0700
+Commit: Chuck Lever
+CommitDate: Fri Oct 23 11:49:16 2015 -0700
+
+ fedfs-domainroot: Add "fsid=" export option
+
+ The purpose of creating a separate export for each domain root
+ directory is to allow domain administrators to specify a distinct
+ security policy on each domain root directory. However, current NFS
+ clients need to see an FSID change when crossing a security policy
+ boundary on NFS servers.
+
+ Force an FSID change by specifying "fsid=" on each exported domain
+ root directory. The domain root mechanism may be replaced in
+ subsequent fedfs-utils released with something more robust, thus for
+ now this is a change only for 0.10-stable.
+
+ Signed-off-by: Chuck Lever
+
+commit 2866ddd52632012c2af1c10be1983d11ba334f02
+Author: Chuck Lever
+AuthorDate: Fri Oct 23 11:03:02 2015 -0700
+Commit: Chuck Lever
+CommitDate: Fri Oct 23 11:49:16 2015 -0700
+
+ fedfs-domainroot: Do not set "mp" export option
+
+ After setting up a new domain root, NFS clients were seeing
+ NFS4ERR_DELAY repeatedly when trying to access the domain root
+ export.
+
+ Each domain root export is of a bind mount to a directory under
+ /var/lib/fedfs. This forces the kernel to upcall to see whether
+ there is a different security policy in effect for each domain
+ root directory.
+
+ The "mp" export option is specified to ensure the bind mount has
+ completed before the NFS server exports the domain root. Removing
+ the "mp" export option allows clients to access the domain root
+ directory.
+
+ Bruce Fields observes:
+
+ > I guess it's using is_mountpoint() to check whether there's
+ > something mounted there, and waiting if not. And is_mountpoint()
+ > says:
+ >
+ > We deem it to be a mountpoint if appending a ".." gives a
+ > different device or the same inode number.
+ >
+ > And I guess the bind mounts are failing that test.
+
+ Eventually the bind mounts should be replaced with something more
+ robust. But for 0.10-stable, just get rid of the "mp" option.
+
+ Signed-off-by: Chuck Lever
+
+commit a756638c373c68f457e71e24257a4ea45c032e3f
+Author: Chuck Lever
+AuthorDate: Fri Jul 17 14:04:49 2015 -0700
+Commit: Chuck Lever
+CommitDate: Fri Oct 23 11:49:16 2015 -0700
+
+ nsdbparms: Remove vestigial dash switches for position arguments
+
+ Finish cleaning up places where dash switches were replaced with
+ the use of positional command line arguments.
+
+ Coverity: 126106
+
+ Fixes: aad8b7daebca ("nsdbparams: Use positional parameters . . .")
+ Signed-off-by: Chuck Lever
+
+commit efef1c266210af84b08f4b1477ad56534a09fc1b
+Author: Chuck Lever
+AuthorDate: Fri Jul 17 14:04:49 2015 -0700
+Commit: Chuck Lever
+CommitDate: Fri Oct 23 11:49:16 2015 -0700
+
+ fedfsc: Remove vestigial dash switches for position arguments
+
+ Commit 54713f0416e6 missed a couple of places where dash switches
+ were replaced with the use of positional command line arguments.
+
+ Coverity: 126105
+
+ Fixes: 54713f0416e6 ("fedfsc: Specify manadatory arguments . . .")
+ Signed-off-by: Chuck Lever
+
+commit ce90c4bc33d3d34f52b4075fe1e7c119a8612fa3
+Author: Chuck Lever
+AuthorDate: Fri Oct 23 11:26:58 2015 -0700
+Commit: Chuck Lever
+CommitDate: Fri Oct 23 11:49:14 2015 -0700
+
+ build: Ignore "compile"
+
+ Recent versions of automake add a "compile" file. "git status"
+ should ignore it.
+
+ Signed-off-by: Chuck Lever
+
commit da0e25b59275692190647c23e4548621603a2706
Author: Chuck Lever
AuthorDate: Thu Jul 2 14:01:57 2015 -0700
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/README new/fedfs-utils-0.10.5/README
--- old/fedfs-utils-0.10.4/README 2015-07-08 17:57:22.000000000 +0200
+++ new/fedfs-utils-0.10.5/README 2015-10-31 22:19:26.000000000 +0100
@@ -9,7 +9,7 @@
Bugzilla: https://oss.oracle.com/bugzilla
-Release notes for fedfs-utils 0.10.4
+Release notes for fedfs-utils 0.10.5
Release Quality Statement
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/configure new/fedfs-utils-0.10.5/configure
--- old/fedfs-utils-0.10.4/configure 2015-07-08 17:59:22.000000000 +0200
+++ new/fedfs-utils-0.10.5/configure 2015-10-31 22:20:08.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for fedfs-utils 0.10.4.
+# Generated by GNU Autoconf 2.69 for fedfs-utils 0.10.5.
#
# Report bugs to .
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='fedfs-utils'
PACKAGE_TARNAME='fedfs-utils'
-PACKAGE_VERSION='0.10.4'
-PACKAGE_STRING='fedfs-utils 0.10.4'
+PACKAGE_VERSION='0.10.5'
+PACKAGE_STRING='fedfs-utils 0.10.5'
PACKAGE_BUGREPORT='fedfs-utils-devel@oss.oracle.com'
PACKAGE_URL=''
@@ -1342,7 +1342,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures fedfs-utils 0.10.4 to adapt to many kinds of systems.
+\`configure' configures fedfs-utils 0.10.5 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1412,7 +1412,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of fedfs-utils 0.10.4:";;
+ short | recursive ) echo "Configuration of fedfs-utils 0.10.5:";;
esac
cat <<\_ACEOF
@@ -1524,7 +1524,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-fedfs-utils configure 0.10.4
+fedfs-utils configure 0.10.5
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2001,7 +2001,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by fedfs-utils $as_me 0.10.4, which was
+It was created by fedfs-utils $as_me 0.10.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -11543,7 +11543,7 @@
# Define the identity of the package.
PACKAGE='fedfs-utils'
- VERSION='0.10.4'
+ VERSION='0.10.5'
cat >>confdefs.h <<_ACEOF
@@ -14661,7 +14661,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by fedfs-utils $as_me 0.10.4, which was
+This file was extended by fedfs-utils $as_me 0.10.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -14727,7 +14727,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-fedfs-utils config.status 0.10.4
+fedfs-utils config.status 0.10.5
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/configure.ac new/fedfs-utils-0.10.5/configure.ac
--- old/fedfs-utils-0.10.4/configure.ac 2015-07-08 17:57:22.000000000 +0200
+++ new/fedfs-utils-0.10.5/configure.ac 2015-10-31 22:19:26.000000000 +0100
@@ -27,7 +27,7 @@
#
AC_PREREQ([2.65])
-AC_INIT([fedfs-utils], [0.10.4], [fedfs-utils-devel@oss.oracle.com])
+AC_INIT([fedfs-utils], [0.10.5], [fedfs-utils-devel@oss.oracle.com])
AC_CANONICAL_BUILD([])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/doc/man/fedfs-lookup-replication.8.in new/fedfs-utils-0.10.5/doc/man/fedfs-lookup-replication.8.in
--- old/fedfs-utils-0.10.4/doc/man/fedfs-lookup-replication.8.in 2015-06-19 19:52:47.000000000 +0200
+++ new/fedfs-utils-0.10.5/doc/man/fedfs-lookup-replication.8.in 2015-10-31 22:19:26.000000000 +0100
@@ -124,11 +124,6 @@
See
.BR rpc (3t)
for details.
-.IP "\fB\-p, \-\-path=\fIpathname\fP"
-Specifies the location on the remote server where the target FedFS replication
-resides.
-This pathname is relative to the remote server's physical root directory,
-not the remote server's NFS pseudoroot.
.IP "\fB\-t, \-\-resolvetype=\fItype\fP"
Specifies the desired type of resolution. Valid values for
.I type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/src/PyFedfs/domainroot/exports.py new/fedfs-utils-0.10.5/src/PyFedfs/domainroot/exports.py
--- old/fedfs-utils-0.10.4/src/PyFedfs/domainroot/exports.py 2015-06-19 19:52:47.000000000 +0200
+++ new/fedfs-utils-0.10.5/src/PyFedfs/domainroot/exports.py 2015-10-31 22:19:26.000000000 +0100
@@ -24,6 +24,7 @@
import sys
import logging as log
import augeas
+ import uuid
from PyFedfs.domainroot.parse_file import parse_file
@@ -63,13 +64,13 @@
config.set('/files/etc/exports/dir[last()]/client[1]/option[1]',
'ro')
config.set('/files/etc/exports/dir[last()]/client[1]/option[2]',
- 'mp')
- config.set('/files/etc/exports/dir[last()]/client[1]/option[3]',
'subtree_check')
- config.set('/files/etc/exports/dir[last()]/client[1]/option[4]',
+ config.set('/files/etc/exports/dir[last()]/client[1]/option[3]',
'insecure')
- config.set('/files/etc/exports/dir[last()]/client[1]/option[5]',
+ config.set('/files/etc/exports/dir[last()]/client[1]/option[4]',
'sec=sys:none')
+ config.set('/files/etc/exports/dir[last()]/client[1]/option[5]',
+ 'fsid=' + str(uuid.uuid4()))
ret = EXIT_SUCCESS
try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/src/fedfsc/fedfs-lookup-replication.c new/fedfs-utils-0.10.5/src/fedfsc/fedfs-lookup-replication.c
--- old/fedfs-utils-0.10.4/src/fedfsc/fedfs-lookup-replication.c 2015-07-08 17:57:22.000000000 +0200
+++ new/fedfs-utils-0.10.5/src/fedfsc/fedfs-lookup-replication.c 2015-10-31 22:19:26.000000000 +0100
@@ -282,7 +282,6 @@
nettype = "netpath";
security = "unix";
resolvetype = "none";
- path = NULL;
while ((arg = getopt_long(argc, argv, fedfs_lookup_replication_opts,
fedfs_lookup_replication_longopts, NULL)) != -1) {
switch (arg) {
@@ -295,9 +294,6 @@
case 'n':
nettype = optarg;
break;
- case 'p':
- path = optarg;
- break;
case 's':
security = optarg;
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fedfs-utils-0.10.4/src/nsdbparams/update.c new/fedfs-utils-0.10.5/src/nsdbparams/update.c
--- old/fedfs-utils-0.10.4/src/nsdbparams/update.c 2015-06-19 19:52:47.000000000 +0200
+++ new/fedfs-utils-0.10.5/src/nsdbparams/update.c 2015-10-31 22:19:26.000000000 +0100
@@ -57,7 +57,6 @@
{ "gid", 1, NULL, 'g', },
{ "help", 0, NULL, '?', },
{ "nce", 1, NULL, 'e', },
- { "nsdbname", 1, NULL, 'l', },
{ "nsdbport", 1, NULL, 'r', },
{ "referral", 1, NULL, 'R', },
{ "sectype", 1, NULL, 't', },
@@ -311,9 +310,6 @@
case '?':
nsdbparams_update_usage(progname);
goto out;
- case 'l':
- nsdbname = optarg;
- break;
case 'r':
if (!nsdb_parse_port_string(optarg, &nsdbport)) {
xlog(L_ERROR, "Bad port number: %s",
++++++ fedfs-utils-fix-build-with-libtirpc-1.0.patch ++++++
From cf78329b95b8d084cc0b835102d071bca9409e36 Mon Sep 17 00:00:00 2001
From: Chuck Lever
Date: Sun, 1 Nov 2015 11:43:07 -0800
Subject: [PATCH] fedfsd: libtirpc 1.0 moves the xp_auth field
svcauth_gss_get_principal() comes from the legacy U-M svc GSS
API, but is not documented, and does not appear in TI-RPC
headers. fedfs-utils 0.10 adopted this API to provide RPCGSS
support for the FedFS ADMIN protocol.
As a consequence of using an undocumented API, fedfs-utils
0.10 is exposed to library changes to this API. Add some
compatibility measures.
The fedfsd in fedfs-utils 0.11 replaces this call with a valid
contract API that does not expose SVCAUTH. Just a rebuild-relink
should take care of it there.
Signed-off-by: Chuck Lever
---
src/fedfsd/gss.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/fedfsd/gss.c b/src/fedfsd/gss.c
index c63f42f..f762466 100644
--- a/src/fedfsd/gss.c
+++ b/src/fedfsd/gss.c
@@ -175,6 +175,10 @@ fedfsd_get_gss_cred(struct svc_req *rqstp)
{
SVCAUTH *auth;
+#if defined(SVC_XP_AUTH)
+ auth = &SVC_XP_AUTH(rqstp->rq_xprt);
+#else
auth = rqstp->rq_xprt->xp_auth;
+#endif
return svcauth_gss_get_principal(auth);
}
--
2.6.3