Hello,
This is a maintenance release to fix some issues internal to the git tree...
This release does include the update nfsdcld support
as well as the updated mountstats and iostats commands.
The tarballs can be found in
https://www.kernel.org/pub/linux/utils/nfs-utils/2.4.2/
or
http://sourceforge.net/projects/nfs/files/nfs-utils/2.4.2
The change log is in
https://www.kernel.org/pub/linux/utils/nfs-utils/2.4.2/2.4.2-Changelog
or
http://sourceforge.net/projects/nfs/files/nfs-utils/2.4.2/
The git tree is at:
git://linux-nfs.org/~steved/nfs-utils
Please send comments/bugs to [email protected]
steved.
This still causes crashes in mountd on 32bit systems without
https://marc.info/?l=linux-nfs&m=157250894818731&w=2
mountd: Version 2.4.2 starting
mountd: auth_unix_ip: inbuf 'nfsd fde2:2b6c:2d24:0021:0000:0000:0000:0050'
mountd: auth_unix_ip: client 0x13cd900 '*'
mountd: nfsd_fh: inbuf '* 6 \xd1fb45ab77b345d99b09b3217dcdf2ec'
*** stack smashing detected ***: <unknown> terminated
Aborted
Call chain looks like:
get_rootfh utils/mountd/mountd.c
check_is_mountpoint support/misc/mountpoint.c
nfsd_path_lstat support/misc/nfsd_path.c *
xlstat support/misc/xstat.c *
where two struct stats are declared on the stack in mountpoint.c without
including config.h and getting the __USE_FILE_OFFSET64 define, however
the following two files in the call chain include config.h and get a
different size struct stat.
Also attached are a few printf formating fixes for 32 bit.
Doug
Hey,
On 11/17/19 12:47 PM, Doug Nazar wrote:
> This still causes crashes in mountd on 32bit systems without https://marc.info/?l=linux-nfs&m=157250894818731&w=2
>
> mountd: Version 2.4.2 starting
> mountd: auth_unix_ip: inbuf 'nfsd fde2:2b6c:2d24:0021:0000:0000:0000:0050'
> mountd: auth_unix_ip: client 0x13cd900 '*'
> mountd: nfsd_fh: inbuf '* 6 \xd1fb45ab77b345d99b09b3217dcdf2ec'
> *** stack smashing detected ***: <unknown> terminated
> Aborted
>
> Call chain looks like:
>
> get_rootfh utils/mountd/mountd.c
> check_is_mountpoint support/misc/mountpoint.c
> nfsd_path_lstat support/misc/nfsd_path.c *
> xlstat support/misc/xstat.c *
>
> where two struct stats are declared on the stack in mountpoint.c without including config.h and getting the __USE_FILE_OFFSET64 define, however the following two files in the call chain include config.h and get a different size struct stat.
>
> Also attached are a few printf formating fixes for 32 bit.
My apologies... I did miss this patch in the last release, but the
patch is now committed...
I blame the American Halloween... the day the patch was posted! :-)
Those darn spooks and goblins of getting in the way!! 8-)
steved.
On 2019-11-17 14:40, Steve Dickson wrote:
>> Also attached are a few printf formating fixes for 32 bit.
> My apologies... I did miss this patch in the last release, but the
> patch is now committed...
>
> I blame the American Halloween... the day the patch was posted! :-)
> Those darn spooks and goblins of getting in the way!! 8-)
I'm sure they're to blame... they always are getting into things... ;-)
My fault for not sending it separately, but there was another patch
attached to the last email to fix some printf formatting strings for 32
bit clients. Let me know if you'd prefer if I send it as a separate email.
Doug