----- Original Message -----
> From: "Diwakar Sharma (RBEI/ECF3)" <[email protected]>
> To: [email protected]
> Sent: Wednesday, 28 May, 2014 6:57:24 AM
> Subject: [LTP] mknodat01 fails at chown
>
> Hi,
> I am running the ltp suite on a target with kernel 3.8.13.23 , and mknodat01
Hi,
What version of LTP suite are you running? I'm assuming it's an older release
since command where you hit the problem has been removed in March:
https://github.com/linux-test-project/ltp/commit/7525e62ea422531610d5cb4ce815e26cc3f6f7ed
> test is failing with below error. The problem are the numeric uid/gid.
> Before running tests the uid/gid are shown as ‘root’
> oracle-virtualbox:/opt/ltp/testcases/bin# ls -ltr mknodat*
> -rwxrwxr-x 1 root root 87187 May 26 08:10 mknodat01
>
> After running the suite:
> oracle-virtualbox:/opt/ltp/testcases/bin# ls -ltr mknodat*
> -rwxrwxr-x 1 42949672 42949672 87187 May 26 08:10 mknodat01
> oracle-virtualbox:/opt/ltp/testcases/bin# chown root mknodat01
> NFS: v4 server xxx.xxx.x.xx does not support accept raw uid/gids. Reenabling
> the idmapper
> chown: mknodat01: Invalid argument
>
> So by the time mknodat01 executes , the uid/gid are already changed to
> numeric and hence chown fails.
> Not getting why it is getting changed, probably some other test code is doing
> something?
> Any suggestion/solution?
Are you running all tests or only a subset (e.g. only syscalls)?
I re-ran syscalls test locally with latest LTP and didn't notice
any owner change.
Assuming some other test is the cause, you could:
1.) setup audit rule to watch for any attribute changes to that file
auditctl -w /opt/ltp/testcases/bin/mknodat01 -k ltpkey1 -p a
(run ltp)
ausearch -k ltpkey1
2.) try to narrow it down by running only subset of tests you run now
Regards,
Jan
> Thanks and Regards
> Diwakar Sharma
>
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list