Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at 2022-02-15 23:57:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autofs (Old) and /work/SRC/openSUSE:Factory/.autofs.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autofs" Tue Feb 15 23:57:04 2022 rev:127 rq:954344 version:5.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/autofs/autofs.changes 2022-01-21 01:25:32.270538790 +0100 +++ /work/SRC/openSUSE:Factory/.autofs.new.1956/autofs.changes 2022-02-15 23:57:15.152207920 +0100 @@ -1,0 +2,7 @@ +Thu Feb 10 00:36:26 UTC 2022 - Neil Brown <nfbr...@suse.com> + +- Add autofs-Test-TCP-request-correctly-in-nfs_get_info.patch + Fix bug when rpcbind not visible + (bsc#1195587 bsc#1195595) + +------------------------------------------------------------------- New: ---- autofs-Test-TCP-request-correctly-in-nfs_get_info.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autofs.spec ++++++ --- /var/tmp/diff_new_pack.Iu4Ndf/_old 2022-02-15 23:57:15.808209732 +0100 +++ /var/tmp/diff_new_pack.Iu4Ndf/_new 2022-02-15 23:57:15.816209754 +0100 @@ -59,6 +59,7 @@ Patch105: autofs-5-1-3-fix-unset-tsd-group-name-handling.patch # bsc#1175238 - Use /usr/etc/nsswitch.conf if /etc/nsswitch.conf is not available Patch106: autofs-nsswitch-usr-etc.patch +Patch107: autofs-Test-TCP-request-correctly-in-nfs_get_info.patch BuildRequires: autoconf BuildRequires: bison BuildRequires: cyrus-sasl-devel @@ -109,6 +110,7 @@ %patch104 -p1 %patch105 -p1 %patch106 -p1 +%patch107 -p1 %build autoreconf -fiv ++++++ autofs-Test-TCP-request-correctly-in-nfs_get_info.patch ++++++ >From 1570f844c9385a0e84106cc6535b4b8c1bd19f85 Mon Sep 17 00:00:00 2001 From: NeilBrown <ne...@suse.de> Date: Thu, 10 Feb 2022 08:57:35 +1100 Subject: [PATCH] Test TCP request correctly in nfs_get_info() The TCP_REQUESTED flag is masked out by the caller, so it never gets to nfs_get_info(). We can test if TCP was requested by examining the 'proto' parameter. Signed-off-by: NeilBrown <ne...@suse.de> --- modules/replicated.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/modules/replicated.c +++ b/modules/replicated.c @@ -291,7 +291,7 @@ static unsigned int get_nfs_info(unsigne rpc_info->proto = proto; if (port < 0) { - if ((version & NFS4_REQUESTED) && (version & TCP_REQUESTED)) + if ((version & NFS4_REQUESTED) && (proto == IPPROTO_TCP)) rpc_info->port = NFS_PORT; else port = 0;