Package: quota

Version: 4.06-1+b2


quotarpc service (rpc.rquotad daemon) is not answering to requests and I 
suspect that the problem is that it is launched early at system startup:

I fixed the problem ovrriding the systemd unit file as shown below. Essentially 
I removed linked to nfs-server.target (I am not familiar with these files by I 
can see no mention of a target named nfs-server) and add a dependancy 
After=nfs-server.service.


I use an freshly installed bookworm distribution with only standard settings 
but ipsec.


Best,


J.


My File ----------------------------------------------------

[Unit]
Description=RPC Remote Quota Server
Documentation=man:rpc.rquotad(8)
Wants=rpcbind.service
#PartOf=nfs-server.target
After=rpcbind.service nfs-server.service
# Before=nfs-server.target
ConditionFileIsExecutable=/sbin/rpcbind

[Service]
Type=forking
ExecStart=/usr/share/quota/quotarpc.sh

[Install]
WantedBy=multi-user.target
------------------------------------------------------------------

Original file --------------------------------------------------

[Unit]
Description=RPC Remote Quota Server
Documentation=man:rpc.rquotad(8)
Wants=rpcbind.service
PartOf=nfs-server.target
After=rpcbind.service
Before=nfs-server.target
ConditionFileIsExecutable=/sbin/rpcbind

[Service]
Type=forking
ExecStart=/usr/share/quota/quotarpc.sh

[Install]
WantedBy=multi-user.target
------------------------------------------------------------------

Reply via email to