[LTP] [LTP v2 1/1] ima_tpm.sh: Fix for calculating boot aggregate

Bruno Meneguele bmeneg@redhat.com
Wed Jun 17 21:52:05 CEST 2020


On Tue, Jun 16, 2020 at 06:40:11PM -0400, Mimi Zohar wrote:
> On Mon, 2020-06-15 at 17:01 -0300, Bruno Meneguele wrote:
> > On Mon, Jun 15, 2020 at 04:41:34PM -0300, Bruno Meneguele wrote:
> > > On Thu, May 28, 2020 at 06:05:27PM +0200, Petr Vorel wrote:
> 
> > > > > The boot_aggregate.trs and boot_aggregate.log files are being created
> > > > > in the tests/ directory.  Is that directory read-only?
> > > > Yes, drwxr-xr-x. Testing on fresh clone and issue persists.
> > > > 
> > > 
> > > Yes, same thing here.. but didn't really check the reason for that. Will
> > > take a time later to see what's happening.
> 
> Cloning as root will cause that to happen.
> 
> $ sudo git clone git://git.code.sf.net/p/linux-ima/ima-evm-utils --branch next-testing
> Cloning into 'ima-evm-utils'...
> remote: Enumerating objects: 1154, done.
> remote: Counting objects: 100% (1154/1154), done.
> remote: Compressing objects: 100% (1052/1052), done.
> remote: Total 1154 (delta 736), reused 182 (delta 96)
> Receiving objects: 100% (1154/1154), 335.12 KiB | 0 bytes/s, done.
> Resolving deltas: 100% (736/736), done.
> Checking connectivity... done.
> 
> $ ls -lat ima-evm-utils/ | grep tests
> drwxr-xr-x.  2 root root   220 Jun 16 18:28 tests
> 
> Mimi
> 

Yes, indeed. But what really happened with both I and Petr was trying to
run the test copying and pasting what you've sent:

$ VERBOSE=1 make check TESTS=boog_aggregate.test

the typo in "boog" (vs "boot") was the cause. So I think we can ignore
this issue here :).

-- 
bmeneg 
PGP Key: http://bmeneg.com/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200617/7aa5aa78/attachment.sig>


More information about the ltp mailing list