@@ -46,8 +46,10 @@ install-data-hook:
(cd $(DESTDIR)$(mandir)/man7 && \
for p in $(dist_man7_MANS); do \
$(SED) -i 's,[@]statedir@,$(statedir),' $$p ;\
+ $(SED) -i 's,[@]fedfsuser@,$(fedfsuser),' $$p ;\
done)
(cd $(DESTDIR)$(mandir)/man8 && \
for p in $(dist_man8_MANS); do \
$(SED) -i 's,[@]statedir@,$(statedir),' $$p ;\
+ $(SED) -i 's,[@]fedfsuser@,$(fedfsuser),' $$p ;\
done)
@@ -154,7 +154,7 @@ Specifies the numeric or text GID that
.BR rpc.fedfsd (8)
runs under after dropping root privileges.
By default, the GID for the group
-.I fedfs
+.I @fedfsuser@
is used.
If that group doesn't exist, then the GID for
.I nobody
@@ -192,7 +192,7 @@ Specifies the numeric or text UID that
.BR rpc.fedfsd (8)
runs under after dropping root privileges.
By default, the UID for the user
-.I fedfs
+.I @fedfsuser@
is used.
If that user doesn't exist, then the UID for
.I nobody
@@ -86,7 +86,7 @@ Specifies the numeric or text UID that
.BR rpc.fedfsd (8)
runs under after dropping root privileges.
By default, the UID for the user
-.I fedfs
+.I @fedfsuser@
is used.
If that user doesn't exist, then the UID for
.I nobody
@@ -96,7 +96,7 @@ Specifies the numeric or text GID that
.BR rpc.fedfsd (8)
runs under after dropping root privileges.
By default, the GID for the group
-.I fedfs
+.I @fedfsuser@
is used.
If that group doesn't exist, then the GID for
.I nobody
Now that the fedfs user ID is specified with a configure command line option, we should take care to substitute the specified user ID and group ID in the man pages, just as we do with the state dir setting. Should have been part of commit f3522f49 "configure.ac: Add a --with-fedfsuser and --with-statedir options" (Sep 26, 2011). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- doc/man/Makefile.am | 2 ++ doc/man/nsdbparams.8 | 4 ++-- doc/man/rpc.fedfsd.8 | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-)