main/nfs-utils: `/etc/init.d/nfs stop` always failed
Package Information
- Package name: nfs-utils
- Package version: 2.6.4-r2
- Alpine version: 3.21.0_alpha20240923
- Alpine architecture: x86_64
Summary
The init script attempts to stop the nfsd kernel thread using signal 2 (SIGINT), but has no effect. Which causes /etc/init.d/nfs stop
always failed.
I checked git logs, it commited at 0539ae2c for update OpenRC services from Gentoo
.
Gentoo already fixed this issue by https://gitweb.gentoo.org/repo/gentoo.git/commit/net-fs/nfs-utils/files/nfs.initd?id=7aa183ae8073593cab6d3f012a981a6e6712ffc2
I think this issue also affects 3.20-stable
Steps to reproduce
apk add nfs-utils
/etc/init.d/nfs start && /etc/init.d/nfs stop
Edited by Lindsay Zhou