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


Groups > linux.debian.kernel > #84848

Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault
Date Mon, 16 Dec 2024 21:40:01 +0100
Message-ID <JUq2J-2FN-1@gated-at.bofh.it> (permalink)
References <JTLCh-h5XL-1@gated-at.bofh.it> <JTWHn-hcYL-3@gated-at.bofh.it> <JU9XX-hppY-1@gated-at.bofh.it> <JTLCh-h5XL-1@gated-at.bofh.it> <JU9XX-hppY-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Mon Dec 16 20:39:08 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4
Reply-To Salvatore Bonaccorso <carnil@debian.org>, 1089976@bugs.debian.org
Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1089976
X-Debian-Pr-Package nfs-kernel-server
X-Debian-Pr-Keywords unreproducible moreinfo
X-Debian-Pr-Source nfs-utils
X-Gm-Message-State AOJu0YzlgRpvM08HwFGwPIRRy/hmQ99/DB6jPwUnH+l7UWVtbDj5IgV2 RoE4l7m3v+mMk+5zzV7KeKgcFu3WXIiSS3ylPSSrE8g39mwpiKy8zV8VfgWE
X-Gm-Gg ASbGncsYu6mEq5RqBlAOjHMC0AYW3L5BOi31I7se6U9ZGkiT3Maaju/1TVMXno1PWnQ P7w2fmr9fk8JIU1D9BWjN396xGy5wyjBcDhiBtQBljUKR5Z6U/PTkLTLDEbkxDCEU5GR8mwxoSh YuP+zvDD1KxNM1h5p3y90IQ/xmvMTAas8/KfI9az1B0YS55yR2+GJVpXmKET48plALR0kUXXVWl s4qWSLAX0CqTAc53zP2F1EA+CIJ02qqPgjMfb+jh8F8YGV/RO4KEqtxtlEN/kTaWeRnnl4dTl1s h+PW8+xVjVcCA4UU
X-Google-SMTP-Source AGHT+IEk+jUqvsVGzLsVyLBtgN3ERzQTWmYPYg2xUsjwLu0Ofo40PDtZWkovsbGrR4eJ66p+q0zVwg==
X-Received by 2002:a17:906:3d2a:b0:aa6:33cf:b389 with SMTP id a640c23a62f3a-aabdb3c0fb6mr84707566b.34.1734381411496; Mon, 16 Dec 2024 12:36:51 -0800 (PST)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1874121
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 65
Organization linux.* mail to news gateway
X-Original-Cc 1089976@bugs.debian.org
X-Original-Date Mon, 16 Dec 2024 21:36:49 +0100
X-Original-Message-ID <Z2CPYdTpPsbx4f6O@eldamar.lan>
X-Original-References <173422443425.4262.12442047099026509433.reportbug@k2ww> <Z17WjNKhkCTFSwkI@eldamar.lan> <E1tN18A-0004mN-1h.di@k2di.net> <173422443425.4262.12442047099026509433.reportbug@k2ww> <E1tN18A-0004mN-1h.di@k2di.net>
X-Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Xref csiph.com linux.debian.bugs.dist:1224349 linux.debian.kernel:84848

Cross-posted to 2 groups.

Show key headers only | View raw


Hi Bill,

On Sun, Dec 15, 2024 at 06:46:46PM -0800, Bill Brelsford wrote:
> Hi Salvatore,
> 
> On Sun Dec 15 2024 at 02:15 PM +0100, Salvatore Bonaccorso wrote:
> > I'm not able to reproduce it here. Can you please Install the dbgsym
> > packages as well and get more information by making sure the service
> > is stopped and start it by hand under debugger.
> > 
> > This might give some more clue for upstream.
> 
> I apparently need some help with gdb to get useful output. After
> running "find-dbgsym-packages /usr/sbin/rpc.nfsd", I installed
> libc6-dbg and nfs-kernel-server-dbgsym. Then I stopped
> /etc/init.d/nfs-kernel-server just before the call to rpc.nfsd
> and ran gdb:
> 
>    # gdb /usr/sbin/rpc.nfsd
>    GNU gdb (Debian 15.2-1) 15.2
>    ...
>    Reading symbols from /usr/sbin/rpc.nfsd...
>    Reading symbols from /usr/lib/debug/.build-id/4c/400a0c5314bb3884d7adbde7889a7bbc3a0eaa.debug...
>    (gdb) run
>    Starting program: /usr/sbin/rpc.nfsd 
>    [Thread debugging using libthread_db enabled]
>    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 
>    Program terminated with signal SIGSEGV, Segmentation fault.
>    The program no longer exists.
>    (gdb) bt
>    No stack.
> 
> Suggestions?
> 
> Also, after rpc.nfsd fails, running it again (or, e.g., exportfs -r)
> hangs and can't be killed.
> 
> The same failure occurs on another similarly-configured system.

Let's try to tackle it from another angle. 

What is commont on thoe system where you see the failure? Are all not
using systemd as init? Additionally can you give some more details on
your setup, how the exports look? Can we boild down the setup
minimally to trigger the issue (and so report upstream)?

Can you additionally please test to downgrade to the 2.8.1-2 version
and please report back if you see the problem there was well? For us
it should behave actually same as 2.8.1-1 but I would like to double
check.

the supported way is to run it with systemd, the ship'ed sysvinit
scripts contain legacy, for instance with new version we would start
the server with nfsdctl:

ExecStart=/bin/sh -c '/usr/sbin/nfsdctl autostart || /usr/sbin/rpc.nfsd'

If you start it through nfsdctl do you get the exports working?

Still, having more information on the underlying setup would be
helpful.

Regards,
Salvatore

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


Thread

Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-15 02:30 +0100
  Processed: Re: Bug#1089976: nfs-kernel-server: Fails to start -  segmentation fault "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-12-15 14:20 +0100
  Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2024-12-15 14:20 +0100
    Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-16 04:30 +0100
      Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2024-12-16 21:40 +0100
        Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-17 03:40 +0100
          Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2024-12-17 23:20 +0100
            Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-19 06:50 +0100
              Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2024-12-19 16:30 +0100
                Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2025-01-15 03:00 +0100
                Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2025-01-15 07:20 +0100
  Processed: Re: Bug#1089976: nfs-kernel-server: Fails to start -  segmentation fault "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-01-16 09:40 +0100
  Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2025-01-16 09:40 +0100
    Bug#1089976: nfs-kernel-server: Fails to start - segmentation fault Bill Brelsford <wb@k2di.net> - 2025-01-17 04:30 +0100

csiph-web