Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #80924

Bug#1035908: Bullseye regression: NFS4 referals appear not to work

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1035908: Bullseye regression: NFS4 referals appear not to work
Date 2023-11-22 23:20 +0100
Message-ID <HD3JE-7jfk-1@gated-at.bofh.it> (permalink)
References <Gu0WR-80nF-1@gated-at.bofh.it> <Gu0WR-80nF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Sam,

On Wed, May 10, 2023 at 04:46:02PM -0600, Sam Hartman wrote:
> 
> package: nfs-utils
> severity: important
> justification: regression from bullseye with silent failure
> version: 1:2.6.2-4
> 
> Hi.
> I've noticed that since upgrading to  bookworm the refer option in
> /etc/exports appears to be entirely ignored.
> 
> Looking through the sources to exportd and support/export/cache.c, it
> looks like perhaps referals support in exports is keyed on
> --enable-junctions.  I'm not entirely sure of that, but
> it looks like write_fsloc is only called in dump_to_cache  if
> HAVE_JUNCTION_SUPPORT is enabled.
> 
> I *think* write_fsloc is what writes out the referal location as well as
> any junction location.
> So, I *think* that as part of adding the junction support upstream has
> broken referals unless you enable junction support.
> 
> That's kind of unfortunate for us because junction support comes with
> dependencies like libxml2 which are kind of a lot to swallow in
> nfs-utils.
> 
> I'd appreciate help confirming my conclusions.
> 
> * Are referals actually broken
> 
> * Is there an easy way to get them back without junction support
> 
> * how willing to turn on junction support are we in bookworm?  In a
>   bookworm backport?

I was asked by upstream for reasons why Debian has not so far enabled
junction support, which I'm going to do so in 
https://salsa.debian.org/kernel-team/nfs-utils/-/merge_requests/28

Related, Chuck mentioned that there are so far not known breakages to
"refer=" due to the introduction of junction support. "refer=" is
supposed to work with both --enable-junction=yes and
--enable-junction=no.

If you are able to pinpoint the issue that would be great to be
reported upstream, can you do that?

Regards,
Salvatore

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1035908: Bullseye regression: NFS4 referals appear not to work Salvatore Bonaccorso <carnil@debian.org> - 2023-11-22 23:20 +0100

csiph-web