fstat fails on nfs4 mounted filesystem (aka tar Cannot utime: Invalid argument)

Bug #1820499 reported by luigi.mantellini@gmail.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-meta-hwe (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Ubuntu 18.04-lts with hwe kernel, It seems that fstat() syscall on a nfs4 mounted filesystem reports wrong atime value. This issue is faced uncompressing a simple tar file.
Instead, mounting the same share as nfs3 all works fine.
I tried all on a ubuntu 19.04(beta) and all works fine.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-generic-hwe-18.04 4.18.0.16.66
ProcVersionSignature: Ubuntu 4.18.0-16.17~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-16-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
Date: Sun Mar 17 10:20:10 2019
SourcePackage: linux-meta-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

tar -zxf show the following:

tar: test.txt: Cannot utime: Invalid argument
tar: Exiting with failure status due to previous error

Revision history for this message
luigi.mantellini@gmail.com (comio) wrote :
Revision history for this message
luigi.mantellini@gmail.com (comio) wrote :

Testing tar archive.

Revision history for this message
luigi.mantellini@gmail.com (comio) wrote :

tar output on NFS4 filesystem (failing utime)

Revision history for this message
luigi.mantellini@gmail.com (comio) wrote :

Verbose strace of tar -zxf test.tar.gz on NFS4 (failing ftime syscall)

Revision history for this message
luigi.mantellini@gmail.com (comio) wrote :

Verbose strace of tar -zxf test.tar.gz on NFS3 (working ftime syscall)

Revision history for this message
luigi.mantellini@gmail.com (comio) wrote :

s/ftime/fstat/g sorry

description: updated
summary: - fstat fail on nfs4 mounted filesystem
+ fstat fails on nfs4 mounted filesystem (aka tar Cannot utime: Invalid
+ argument)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.