Thanks for the reply!
On 8/22/22 4:09 AM, Lennart Poettering wrote:
On Fr, 19.08.22 11:21, Steve Dickson (steved@xxxxxxxxxx) 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
This is expected if you remove the file first?
Well, I build a package that didn't include that
service file and then installed the new package.
I just assumed if the service file didn't exist and
didn't exist in any other service files, it would not
be called... I guess is not the case.
There is nothing in the nfs-utils files that
has that service in it... and when I do a
systemctl list-dependencies --all | grep -1 nfs-convert
I see every nfs related service dependent on nfs-convert.service
Did you issue "systemctl daemon-reload"?
Yes and rebooted...
Back in the day there was this bz
Make nfs-convert enabled by adding it to systemd presets [1]
I don't know that a systemd presets is, but I'm wondering
if that is why nfs-convert services shows up as a dependency
of all the rest of the service files.
systemctl list-dependencies --all | grep -1 nfs-convert
steved.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1683101