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


Groups > linux.debian.kernel > #79024

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

From Sam Hartman <hartmans@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1035908: Bullseye regression: NFS4 referals appear not to work
Date 2023-05-11 01:00 +0200
Message-ID <Gu0WR-80nF-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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?
  

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


Thread

Bug#1035908: Bullseye regression: NFS4 referals appear not to work Sam Hartman <hartmans@debian.org> - 2023-05-11 01:00 +0200

csiph-web