From: Scott Mayhew <smayhew@redhat.com>
To: steved@redhat.com
Cc: linux-nfs@vger.kernel.org
Subject: [nfs-utils PATCH v3 0/4] add systemd generator for the rpc_pipefs mountpoint
Date: Thu, 6 Apr 2017 12:31:00 -0400 [thread overview]
Message-ID: <20170406163104.28397-1-smayhew@redhat.com> (raw)
Changes since v2: retained the name "general" for the global section of
the /etc/nfs.conf file.
These patches aim to make it a little easier to change the mountpoint.
Right now if you change the pipefs-directory in /etc/nfs.conf, you still
need to manually override the dependencies in the systemd unit files in
order for the change to actually work.
The first patch moves rpc.idmapd's (mostly) undocumented
pipefs-directory from /etc/idmapd.conf to /etc/nfs.conf.
The second patch adds a deprecation warning to rpc.gssd if it reads its
pipefs-directory setting from the [gssd] section of /etc/nfs.conf
instead of from the [general] section.
The third patch allows blkmapd to read its pipefs-directory setting from
the [general] section of /etc/nfs.conf as well (previously it was
hard-coded).
The final patch adds a systemd generator that reads the
pipefs-directory configuration from /etc/nfs.conf, and if it differs
from the default it will automatically create a systemd mount unit
file for the pipefs mountpoint and it will override the dependencies on
the pipefs mountpoint via the rpc_pipefs.target unit file.
Scott Mayhew (4):
idmapd: move the pipefs-directory config option to nfs.conf
gssd: add a deprecation warning for pipefs-directory in gssd section
blkmapd: allow the rpc_pipefs mountpoint to be overridden
systemd: add a generator for the rpc_pipefs mountpoint
.gitignore | 1 +
nfs.conf | 6 +-
systemd/Makefile.am | 5 +-
systemd/nfs-blkmap.service | 4 +-
systemd/nfs-idmapd.service | 4 +-
systemd/nfs.conf.man | 13 ++-
systemd/rpc-gssd.service.in | 4 +-
systemd/rpc-pipefs-generator.c | 216 +++++++++++++++++++++++++++++++++++++++
systemd/rpc-svcgssd.service | 3 +-
systemd/rpc_pipefs.target | 3 +
utils/blkmapd/blkmapd.man | 17 ++-
utils/blkmapd/device-discovery.c | 47 +++++++--
utils/gssd/gssd.c | 4 +
utils/gssd/gssd.man | 12 ++-
utils/idmapd/idmapd.c | 36 +++++--
utils/idmapd/idmapd.man | 21 +++-
16 files changed, 360 insertions(+), 36 deletions(-)
create mode 100644 systemd/rpc-pipefs-generator.c
create mode 100644 systemd/rpc_pipefs.target
--
2.9.3
next reply other threads:[~2017-04-06 16:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-06 16:31 Scott Mayhew [this message]
2017-04-06 16:31 ` [nfs-utils PATCH v3 1/4] idmapd: move the pipefs-directory config option to nfs.conf Scott Mayhew
2017-04-06 16:31 ` [nfs-utils PATCH v3 2/4] gssd: add a deprecation warning for pipefs-directory in gssd section Scott Mayhew
2017-04-10 13:36 ` Steve Dickson
2017-04-06 16:31 ` [nfs-utils PATCH v3 3/4] blkmapd: allow the rpc_pipefs mountpoint to be overridden Scott Mayhew
2017-04-10 13:36 ` Steve Dickson
2017-04-06 16:31 ` [nfs-utils PATCH v3 4/4] systemd: add a generator for the rpc_pipefs mountpoint Scott Mayhew
2017-04-06 18:14 ` Steve Dickson
2017-04-07 15:04 ` Scott Mayhew
2017-04-07 17:02 ` [nfs-utils PATCH v4] " Scott Mayhew
2017-04-10 13:35 ` Steve Dickson
2017-04-11 0:40 ` [nfs-utils PATCH v3 0/4] add systemd " NeilBrown
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=20170406163104.28397-1-smayhew@redhat.com \
--to=smayhew@redhat.com \
--cc=linux-nfs@vger.kernel.org \
--cc=steved@redhat.com \
/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 NNTP newsgroup(s).