openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
20.14k stars 10.44k forks source link

FS#2105 - nfs-kernel-server: exportfs always segfaults #7076

Closed openwrt-bot closed 5 years ago

openwrt-bot commented 5 years ago

patrakov:

This happens on the latest snapshot (2019-02-07) on TP-Link Archer C7. It did not happen on a snapshot from 2019-01-28.

To reproduce:

  1. Create /etc/exports as follows:

/mnt/bigdisk 192.168.1.0/255.255.255.0(rw,mp,all_squash,no_subtree_check,insecure,sync)

  1. install nfs-kernel-server

Or just run: exportfs -a

Result: exportfs segfaults.

I believe this is a kernel problem, because downgrading nfs-kernel-server to the version in OpenWRT 18.06.2 does not help.

openwrt-bot commented 5 years ago

mistepien:

I think this is musl. I uses buildroot for audio and I tried to recompile my embedded system with musl 1.1.21 and this is what I got. With 1.1.21 there were segfaults with binaries from nfs-utils.

Musl was updated to 1.1.21 in openwrt-git on 5th of February.