On 2023-03-01 16:03, Carlos E. R. wrote:
[Unit] Description=NFS status monitor for NFSv2/3 locking. DefaultDependencies=no Conflicts=umount.target Requires=nss-lookup.target rpcbind.socket Wants=rpc-statd-notify.service After=network.target nss-lookup.target rpcbind.socket
PartOf=nfs-utils.service
[Service] Environment=RPC_STATD_NO_NOTIFY=1 Type=forking PIDFile=/var/run/rpc.statd.pid <========= ExecStart=/usr/sbin/rpc.statd
What is wrong? Can I do something about it?
/var/run appears to be deprecated; at least in 15.4 it is just a link to /run and I suppose will disappear one of these days. Nothing is wrong, really. Whoever maintains that package simply needs to update the service file. Yes, you can do something about it: systemctl edit --full rpc-statd.service and make the following change: PIDFile=/var/run/rpc.statd.pid ===> PIDFile=/run/rpc.statd.pid There is no need to restart the service, as systemctl will execute an effective "daemon-reload" on exit. Do note that this cannot be used to edit units remotely.