linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.28k stars 1k forks source link

TBROK for ima_violations.sh test #923

Open ZhangYet opened 2 years ago

ZhangYet commented 2 years ago

Found that the ima_violation test is broken due to the lack of /var/log/messages.

For example https://storage.kernelci.org/renesas/master/renesas-devel-2022-03-08-v5.17-rc7/arm64/defconfig+ima/gcc-10/lab-cip/ltp-ima-r8a774a1-hihope-rzg2m-ex.txt

Also, I occurred the same problem when I run the ltp ima test on a Ubuntu 20.04 server.

Does ima_violation need improvement?

pevik commented 2 years ago

Yes, there is an easy hack: https://github.com/linux-test-project/ltp/issues/372 Feel free to implement it.