【标题描述】arm 上grep audit.log会报错:grep: (standard input): binary file matches
【环境信息】
openeulerversion=openEuler-23.03
compiletime=2023-02-27-19-31-38
gccversion=10.3.1-22.oe2303
kernelversion=6.1.8-3.0.0.10.oe2303
openjdkversion=1.8.0.362.b09-2.oe2303
audit-3.0.9-1.oe2303.aarch64
【问题复现步骤】
cat /var/log/audit/audit.log | grep xx
出现概率(是否必现,概率性错误) 100%
【预期结果】
可以正常grep到
【实际结果】
arm上报错,x86没有问题
【附件信息】
比如系统message日志/组件日志、dump信息、图片等
Hi chenshijuan3, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-security-facility, and any of the maintainers: @robertosassu , @gwei3 , @wucaijun , @zhujianwei001 , @mailofzxf , @寒江舟
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
非问题
1.查看audit日志,发现arm版本存在特殊字符“@^”,且每次都在DAEMON_START前打印;
2.因环境是eutp拉起的,自己安装iso镜像,发现没有特殊字符"@^"存在;
3.继续分析,把EULEROS_BASIC-X86_64-KVM-openEuler-22.03-LTS-SP1-2022-12-28-01-06-03.qcow2这个单独挂载,日志里可以看到存在"@^",为之前重启打印不全导致
登录 后才可以发表评论