Bug 76 - 【Anolis OS】系统无seaudit-report命令
Summary: 【Anolis OS】系统无seaudit-report命令
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.2
Hardware: All Linux
: P3-Medium S5-enhancement
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-15 10:38 UTC by 云霭
Modified: 2022-07-06 12:18 UTC (History)
2 users (show)

See Also:


Attachments
result (60.81 KB, image/png)
2021-12-15 10:38 UTC, 云霭
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 云霭 2021-12-15 10:38:49 UTC
Created attachment 14 [details]
result

[重现步骤]:
1. SELinux处于开启状态,使用根用户root操作 

2. auditd服务已启动。如未启动,执行命令:systemctl start auditd

3. 打开终端,执行命令: seaudit-report /var/log/audit/audit.log | more aureport

[期望结果]:
显示SELinux警告统计信息。类似如下:

 # Begin # Report generated by seaudit-report on Tue Mar 13 17:50:04 2012 Title: SEAudit Log Report Log Statistics -------------- Number of total messages: 30 Number of policy load messages: 0 Number of policy boolean messages: 0 Number of allow messages: 0 Number of denied messages: 30 Policy Loads .......................


[实际结果]:
 系统无seaudit-report命令
Comment 1 geliwei-ali 2021-12-28 17:02:44 UTC
请确认这命令是否是系统提供? centos亦无提供此命令
Comment 2 云霭 2022-01-06 17:39:01 UTC
这个问题是参考当时bug tracker迁移来的问题,看了一下应该是一个github项目提供的命令