I'm trying to setup a NFS server on an Alpine Linux LXC running on Proxmox by following the instructions as outlined here, but
rpc.statd refuses to start. Here's an excerpt from
/var/log/messages showing the error:
Nov 26 03:08:25 nfs daemon.notice rpc.statd: Version 2.1.1 starting Nov 26 03:08:25 nfs daemon.warn rpc.statd: Flags: TI-RPC Nov 26 03:08:25 nfs daemon.err rpc.statd: Unable to prune capability 0 from bounding set: Operation not permitted Nov 26 03:08:25 nfs daemon.err /etc/init.d/rpc.statd: start-stop-daemon: failed to start `/sbin/rpc.statd' Nov 26 03:08:25 nfs daemon.err /etc/init.d/rpc.statd: ERROR: rpc.statd failed to start Nov 26 03:08:25 nfs daemon.err /etc/init.d/nfs: ERROR: cannot start nfs as rpc.statd would not start
I've created a custom apparmor profile for the LXC (found here) to give the service enough permissions to run but that hasn't helped.