From: Matt Turner <mattst88@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: nfs-utils' .service files not usable with nfsv4-server.service
Date: Fri, 5 Apr 2024 10:29:38 -0400 [thread overview]
Message-ID: <CAEdQ38GJgxponxNxkcv+t8mhwRPzOjan58MTBgOL8p9tY=rvTw@mail.gmail.com> (raw)
Downstream bug: https://bugs.gentoo.org/928526
In Gentoo we allow disabling NFSv3 support, which entails nothing more
than not installing `nfs-server.service`. This has uncovered an issue
that many .service files reference `nfs-server.service` explicitly,
making them unusable with `nfsv4-server.service`.
> server ~ # grep nfs-server.service $(qlist nfs-utils | grep service)
> /usr/lib/systemd/system/rpc-statd-notify.service:After=nfs-server.service
> /usr/lib/systemd/system/nfs-mountd.service:BindsTo=nfs-server.service
> /usr/lib/systemd/system/rpc-svcgssd.service:PartOf=nfs-server.service
> /usr/lib/systemd/system/fsidd.service:Before=nfs-mountd.service nfs-server.service
> /usr/lib/systemd/system/fsidd.service:RequiredBy=nfs-mountd.service nfs-server.service
> /usr/lib/systemd/system/nfs-idmapd.service:BindsTo=nfs-server.service
The only service file that depends on nfsv4-server is nfsv4-exportd:
> server ~ # grep nfsv4-server.service $(qlist nfs-utils | grep service)
> /usr/lib/systemd/system/nfsv4-exportd.service:BindsTo=nfsv4-server.service
How should `nfsv4-server.service` be used?
Thanks,
Matt
next reply other threads:[~2024-04-05 14:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-05 14:29 Matt Turner [this message]
2024-04-06 20:37 ` nfs-utils' .service files not usable with nfsv4-server.service Steve Dickson
2024-04-06 22:26 ` Matt Turner
2024-04-07 14:45 ` Steve Dickson
2024-04-07 16:29 ` Chuck Lever III
2024-04-07 18:36 ` Steve Dickson
2024-04-09 17:24 ` Chuck Lever
2024-04-09 17:31 ` Steve Dickson
2024-04-07 23:57 ` Ian Kent
2024-04-08 11:01 ` Steve Dickson
2024-04-09 5:53 ` Ian Kent
2024-04-09 17:20 ` Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEdQ38GJgxponxNxkcv+t8mhwRPzOjan58MTBgOL8p9tY=rvTw@mail.gmail.com' \
--to=mattst88@gmail.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).