11 Star 0 Fork 32

src-openEuler / audit

 / 详情

【23.03】arm 上grep audit.log会报错:grep: (standard input): binary file matches

已验收
缺陷
创建于  
2023-03-07 11:33

【标题描述】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信息、图片等

评论 (2)

chenshijuan3 创建了缺陷

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 , @寒江舟

openeuler-ci-bot 添加了
 
sig/sig-security-fac
标签
zhaotianyang 负责人设置为zgzxx

非问题
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这个单独挂载,日志里可以看到存在"@^",为之前重启打印不全导致

zhaotianyang 任务状态待办的 修改为已完成
张以正 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/audit.git
git@gitee.com:src-openeuler/audit.git
src-openeuler
audit
audit

搜索帮助