Typos and documentation fixes
Subsystems (2)
v2 cover Typos and documentation fixes
Hi,
the following three patches fix a few typos detected by Debian's QA tool lintian. The last patch also adds Documentation= options to various service files.
--
v2: rebased on top of 2.7.1-rc3, added S-o-B trailers
Regards,
Gioele Barabucci (3):
Fix typos in error messages
Fix typos in manpages
systemd: Add Documentation= option to service units
support/export/export.c | 2 +- support/export/v4root.c | 2 +- systemd/nfs-blkmap.service | 1 + systemd/nfs-idmapd.service | 1 + systemd/nfs-mountd.service | 1 + systemd/nfs-server.service | 1 + systemd/nfsdcld.service | 1 + systemd/rpc-gssd.service.in | 1 + systemd/rpc-statd-notify.service | 1 + systemd/rpc-statd.service | 1 + systemd/rpc-svcgssd.service | 1 + utils/exportfs/exports.man | 2 +- utils/mount/mount_libmount.c | 2 +- utils/mount/nfs.man | 4 ++-- utils/mount/nfsmount.conf.man | 2 +- utils/nfsdcld/nfsdcld.man | 2 +- utils/nfsdcltrack/nfsdcltrack.man | 2 +- 17 files changed, 18 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0
PATCH v2 1/3 Fix typos in error messages
--- support/export/export.c | 2 +- support/export/v4root.c | 2 +- utils/mount/mount_libmount.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
support/export/export.c +1 -1
@@ -140,7 +140,7 @@ export_read(char *fname, int ignore_hosts)continue ;if (exp->m_export.e_flags &NFSEXP_FSID ) { -xlog (L_ERROR ,"When a reexport= option is present no manully assigned numerical fsid= options are allowed" ); +xlog (L_ERROR ,"When a reexport= option is present no manually assigned numerical fsid= options are allowed" );return -1 ; } }
support/export/v4root.c +1 -1
@@ -137,7 +137,7 @@ v4root_support(void)if (!warned) {xlog (L_WARNING ,"Kernel does not have pseudo root support." );xlog (L_WARNING ,"NFS v4 mounts will be disabled unless fsid=0" ); -xlog (L_WARNING ,"is specfied in /etc/exports file." ); +xlog (L_WARNING ,"is specified in /etc/exports file." ); warned++; }return 0 ;
utils/mount/mount_libmount.c +1 -1
@@ -442,7 +442,7 @@ int main(int argc, char *argv[])mnt_init_debug (0 ); cxt =mnt_new_context ();if (!cxt) { -nfs_error (_ ("Can't initilize libmount: %s" ), +nfs_error (_ ("Can't initialize libmount: %s" ),strerror (errno)); rc =EX_FAIL ; goto done;
Signature · 1 line
2.43.0
PATCH v2 2/3 Fix typos in manpages
In reply to Gioele Barabucci--- utils/exportfs/exports.man | 2 +- utils/mount/nfs.man | 4 ++-- utils/mount/nfsmount.conf.man | 2 +- utils/nfsdcld/nfsdcld.man | 2 +- utils/nfsdcltrack/nfsdcltrack.man | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
utils/exportfs/exports.man +1 -1
@@ -298,7 +298,7 @@ set. The .I nocrossmnt -option can explictly disable +option can explicitly disable .I crossmnt if it was previously set. This is rarely useful. .TP
utils/mount/nfs.man +2 -2
@@ -964,7 +964,7 @@ Some server features misbehave in the face of a migration-compatible identification string. The .B nomigration -option retains the use of a traditional client indentification string +option retains the use of a traditional client identification string which is compatible with legacy NFS servers. This is also the behavior if neither option is specified. A client's open and lock state cannot be migrated transparently
@@ -1832,7 +1832,7 @@ auxiliary services such as the NLM service can choose any unused port number at random. .P Common firewall configurations block the well-known rpcbind port. -In the absense of an rpcbind service, +In the absence of an rpcbind service, the server administrator fixes the port number of NFS-related services so that the firewall can allow access to specific NFS service ports.
utils/mount/nfsmount.conf.man +1 -1
@@ -43,7 +43,7 @@ and will be shifted to lower case before being passed to the filesystem. .PP Boolean mount options which do not need an equals sign must be given as .RI \[dq] option =True". -Instead of preceeding such an option with +Instead of preceding such an option with .RB \[dq] no \[dq] its negation must be given as .RI \[dq] option =False".
utils/nfsdcld/nfsdcld.man +1 -1
@@ -198,7 +198,7 @@ initialize client tracking in the following order: First, the \fBnfsdcld\fR upc the \fBnfsdcltrack\fR usermodehelper upcall. Finally, the legacy client tracking. .PP This daemon should be run as root, as the pipe that it uses to communicate -with the kernel is only accessable by root. The daemon however does drop all +with the kernel is only accessible by root. The daemon however does drop all superuser capabilities after starting. Because of this, the \fIstoragedir\fR should be owned by root, and be readable and writable by owner. .PP
utils/nfsdcltrack/nfsdcltrack.man +1 -1
@@ -80,7 +80,7 @@ section. For example: .br storagedir = /shared/nfs/nfsdcltrack .in -5 -Debuging to syslog can also be enabled by setting "debug = 1" in this file. +Debugging to syslog can also be enabled by setting "debug = 1" in this file. .SH "LEGACY TRANSITION MECHANISM" .IX Header "LEGACY TRANSITION MECHANISM" The Linux kernel NFSv4 server has historically tracked this information
Signature · 1 line
2.43.0
PATCH v2 3/3 systemd: Add Documentation= option to service units
In reply to Gioele Barabucci--- systemd/nfs-blkmap.service | 1 + systemd/nfs-idmapd.service | 1 + systemd/nfs-mountd.service | 1 + systemd/nfs-server.service | 1 + systemd/nfsdcld.service | 1 + systemd/rpc-gssd.service.in | 1 + systemd/rpc-statd-notify.service | 1 + systemd/rpc-statd.service | 1 + systemd/rpc-svcgssd.service | 1 + 9 files changed, 9 insertions(+)
systemd/nfs-blkmap.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=pNFS block layout mapping daemon +Documentation=man:blkmapd(8) DefaultDependencies=no Conflicts=umount.target After=rpc_pipefs.target
systemd/nfs-idmapd.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=NFSv4 ID-name mapping service +Documentation=man:idmapd(8) DefaultDependencies=no Requires=rpc_pipefs.target After=rpc_pipefs.target local-fs.target network-online.target
systemd/nfs-mountd.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=NFS Mount Daemon +Documentation=man:rpc.mountd(8) DefaultDependencies=no Requires=proc-fs-nfsd.mount Wants=network-online.target
systemd/nfs-server.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=NFS server and services +Documentation=man:rpc.nfsd(8) man:exportfs(8) DefaultDependencies=no Requires=network.target proc-fs-nfsd.mount Requires=nfs-mountd.service
systemd/nfsdcld.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=NFSv4 Client Tracking Daemon +Documentation=man:nfsdcld(8) DefaultDependencies=no Conflicts=umount.target Requires=rpc_pipefs.target proc-fs-nfsd.mount
systemd/rpc-gssd.service.in +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=RPC security service for NFS client and server +Documentation=man:rpc.gssd(8) DefaultDependencies=no Conflicts=umount.target Requires=rpc_pipefs.target
systemd/rpc-statd-notify.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=Notify NFS peers of a restart +Documentation=man:sm-notify(8) man:rpc.statd(8) DefaultDependencies=no Wants=network-online.target After=local-fs.target network-online.target nss-lookup.target
systemd/rpc-statd.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=NFS status monitor for NFSv2/3 locking. +Documentation=man:rpc.statd(8) DefaultDependencies=no Conflicts=umount.target Requires=nss-lookup.target rpcbind.socket
systemd/rpc-svcgssd.service +1 -0
@@ -1,5 +1,6 @@ [Unit] Description=RPC security service for NFS server +Documentation=man:rpc.svcgssd(8) DefaultDependencies=no After=local-fs.target PartOf=nfs-server.service
Signature · 1 line
2.43.0
Quoted 26 lines · Gioele Barabucci
Hi,
the following three patches fix a few typos detected by Debian's QA tool lintian. The last patch also adds Documentation= options to various service files.
--
v2: rebased on top of 2.7.1-rc3, added S-o-B trailersRegards,
Gioele Barabucci (3):
Fix typos in error messages
Fix typos in manpages
systemd: Add Documentation= option to service unitssupport/export/export.c | 2 +- support/export/v4root.c | 2 +- systemd/nfs-blkmap.service | 1 + systemd/nfs-idmapd.service | 1 + systemd/nfs-mountd.service | 1 + systemd/nfs-server.service | 1 + systemd/nfsdcld.service | 1 + systemd/rpc-gssd.service.in | 1 + systemd/rpc-statd-notify.service | 1 + systemd/rpc-statd.service | 1 +
Quoted 9 lines
systemd/rpc-svcgssd.service | 1 + utils/exportfs/exports.man | 2 +- utils/mount/mount_libmount.c | 2 +- utils/mount/nfs.man | 4 ++-- utils/mount/nfsmount.conf.man | 2 +- utils/nfsdcld/nfsdcld.man | 2 +- utils/nfsdcltrack/nfsdcltrack.man | 2 +- 17 files changed, 18 insertions(+), 9 deletions(-)
Thanks for doing this... sorry it too so long.
Committed... (tag: nfs-utils-2-7-1-rc4)
steved.