Re: IMA on NFS deadlocks since a5864c999de670

2017-03-03 Thread Christoph Hellwig
On Fri, Mar 03, 2017 at 11:38:51AM +0100, Sascha Hauer wrote: > Right now I have no idea if this commit is breaking things or if IMA > is the guilty one and this commit only triggers it. IMA is unfortunately completely broken, and it has the same issue on XFS and OCFS2 for example.

IMA on NFS deadlocks since a5864c999de670

2017-03-03 Thread Sascha Hauer
Hi All, I discovered a deadlock when IMA is used in conjunction with NFS. I booted with "ima_tcb". The deadlock happens when IMA measures the first file on a NFS. It seems the IMA measurement triggers further NFS reads and the NFS code then tries to acquire a lock it's already holding. Reading/wri