- Code: Select all
$ systemctl status nfs-idmapd.service
× nfs-idmapd.service - NFSv4 ID-name mapping service
Loaded: loaded (/usr/lib/systemd/system/nfs-idmapd.service; static)
Active: failed (Result: exit-code) since Mon 2024-03-11 09:53:04 CET; 11min ago
Process: 1174 ExecStart=/usr/sbin/rpc.idmapd (code=exited, status=1/FAILURE)
CPU: 2ms
Mär 11 09:53:04 amygdala systemd[1]: Starting nfs-idmapd.service...
Mär 11 09:53:04 amygdala systemd[1]: nfs-idmapd.service: Control process exited, code=exited, status=1/FAILURE
Mär 11 09:53:04 amygdala systemd[1]: nfs-idmapd.service: Failed with result 'exit-code'.
Mär 11 09:53:04 amygdala systemd[1]: Failed to start nfs-idmapd.service.
$
This service seems to be dependent on nfs-server.service, which was started without any problems:
- Code: Select all
$ cat /usr/lib/systemd/system/nfs-idmapd.service
[Unit]
Description=NFSv4 ID-name mapping service
DefaultDependencies=no
Requires=rpc_pipefs.target
After=rpc_pipefs.target local-fs.target
BindsTo=nfs-server.service
[Service]
Type=forking
ExecStart=/usr/sbin/rpc.idmapd
$
$ systemctl status nfs-server.service
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; preset: disabled)
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: active (exited) since Mon 2024-03-11 09:53:06 CET; 15min ago
Process: 1362 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Process: 1366 ExecStart=/usr/sbin/rpc.nfsd (code=exited, status=0/SUCCESS)
Process: 2545 ExecStart=/bin/sh -c if systemctl -q is-active gssproxy; then systemctl reload gssproxy ; fi (code=exited, st>
Main PID: 2545 (code=exited, status=0/SUCCESS)
CPU: 22ms
Mär 11 09:53:06 amygdala systemd[1]: Starting nfs-server.service...
Mär 11 09:53:06 amygdala systemd[1]: Finished nfs-server.service.
$
How can I solve this problem?