[systemd-devel] nfs-convert.service

Tomasz Torcz tomek at pipebreaker.pl
Fri Aug 19 19:32:24 UTC 2022


On Fri, Aug 19, 2022 at 11:21:49AM -0400, Steve Dickson wrote:
> Hello,
> 
> I'm trying to remove nfsconvert from Fedora but I'm
> getting the following systemd error after I removed
> the command and the service file.
> 
> # systemctl restart nfs-server
> Failed to restart nfs-server.service: Unit nfs-convert.service not found
> 

> Was this service add to something in the systemd world?
> If so, how do I remove it?

  The nfs-convert.service had the following inside:
#v+
[Install]
RequiredBy=nfs-server.service 
RequiredBy=nfs-mountd.service 
RequiredBy=nfs-idmapd.service
RequiredBy=nfs-blkmap.service 
RequiredBy=rpc-statd.service 
RequiredBy=rpc-gssd.service
RequiredBy=rpc-statd-notify.service
#v-

  Therefore, if enabled, the symlinks were probably created:

% locate nfs-convert
/etc/systemd/system/nfs-blkmap.service.requires/nfs-convert.service
/etc/systemd/system/nfs-idmapd.service.requires/nfs-convert.service
/etc/systemd/system/nfs-mountd.service.requires/nfs-convert.service
/etc/systemd/system/nfs-server.service.requires/nfs-convert.service
/etc/systemd/system/rpc-gssd.service.requires/nfs-convert.service
/etc/systemd/system/rpc-statd-notify.service.requires/nfs-convert.service
/etc/systemd/system/rpc-statd.service.requires/nfs-convert.service

Above symlinks should be removed, too.
(this is from my Fedora 36 system, I may be different in Rawhide)

-- 
Tomasz Torcz                 “God, root, what's the difference?”
tomek at pipebreaker.pl               “God is more forgiving.”



More information about the systemd-devel mailing list