登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月20日,Gitee × 模力方舟来成都了!聚焦 AI 应用在开发范式、算力架构、交互设计、硬件选型等跨场景创新实践,点击立即报名~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
11
Star
0
Fork
40
src-openEuler
/
audit
代码
Issues
1
Pull Requests
6
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
[oerv 24.03 LTS SP1] RISC-V 中 audit 相关应用失败
已完成
#IBQBYI
缺陷
zhtianyu
创建于
2025-03-03 17:05
内核信息: ```shell [root@localhost ~]# uname -a Linux localhost.localdomain 6.6.0-72.0.0.76.oe2403sp1.riscv64 #1 SMP PREEMPT Sun Dec 29 15:11:05 UTC 2024 riscv64 riscv64 riscv64 GNU/Linux ``` 【环境信息】 硬件信息 qemu-system-riscv64 ```shell [root@localhost ~]# dnf install audit Last metadata expiration check: 0:05:00 ago on Wed 15 Jan 2025 09:42:27 AM UTC. Dependencies resolved. ============================================================================================================== Package Architecture Version Repository Size ============================================================================================================== Installing: audit riscv64 1:3.1.2-7.oe2403sp1 OS 175 k Transaction Summary ============================================================================================================== Install 1 Package Total download size: 175 k Installed size: 516 k Is this ok [y/N]: y Downloading Packages: audit-3.1.2-7.oe2403sp1.riscv64.rpm 48 kB/s | 175 kB 00:03 -------------------------------------------------------------------------------------------------------------- Total 23 kB/s | 175 kB 00:07 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Installing : audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Running scriptlet: audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service → /usr/lib/systemd/system/auditd.service. Verifying : audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Installed: audit-1:3.1.2-7.oe2403sp1.riscv64 Complete! [root@localhost ~]# systemctl start auditd [root@localhost ~]# systemctl restart auditd Failed to restart auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop). See system logs and 'systemctl status auditd.service' for details. [root@localhost ~]# systemctl status auditd ● auditd.service - Security Auditing Service Loaded: loaded (/usr/lib/systemd/system/auditd.service; enabled; preset: enabled) Active: active (running) since Wed 2025-01-15 09:48:34 UTC; 15s ago Docs: man:auditd(8) https://github.com/linux-audit/audit-documentation Process: 18122 ExecStart=/sbin/auditd (code=exited, status=0/SUCCESS) Process: 18126 ExecStartPost=/sbin/augenrules --load (code=exited, status=0/SUCCESS) Main PID: 18123 (auditd) Tasks: 2 (limit: 48740) Memory: 912.0K () CGroup: /system.slice/auditd.service └─18123 /sbin/auditd Jan 15 09:48:34 localhost.localdomain systemd[1]: Starting Security Auditing Service... Jan 15 09:48:34 localhost.localdomain auditd[18123]: No plugins found, not dispatching events Jan 15 09:48:34 localhost.localdomain auditd[18123]: Init complete, auditd 3.1.2 listening for events (startu> Jan 15 09:48:34 localhost.localdomain systemd[1]: Started Security Auditing Service. [root@localhost ~]# augenrules --load /usr/sbin/augenrules: No change [root@localhost ~]# useradd Jevons [root@localhost ~]# uid=$(id -u Jevons) [root@localhost ~]# auditctl -a always,exit -S all -F uid="${uid}" -k syscall Error detecting machine type There was an error while processing parameters [root@localhost ~]# userdel -rf Jevons [root@localhost ~]# auditctl -D No rules [root@localhost ~]# systemctl stop auditd Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop). See system logs and 'systemctl status auditd.service' for details. ``` 上游相关 pr:https://github.com/linux-audit/audit-userspace/pull/73
内核信息: ```shell [root@localhost ~]# uname -a Linux localhost.localdomain 6.6.0-72.0.0.76.oe2403sp1.riscv64 #1 SMP PREEMPT Sun Dec 29 15:11:05 UTC 2024 riscv64 riscv64 riscv64 GNU/Linux ``` 【环境信息】 硬件信息 qemu-system-riscv64 ```shell [root@localhost ~]# dnf install audit Last metadata expiration check: 0:05:00 ago on Wed 15 Jan 2025 09:42:27 AM UTC. Dependencies resolved. ============================================================================================================== Package Architecture Version Repository Size ============================================================================================================== Installing: audit riscv64 1:3.1.2-7.oe2403sp1 OS 175 k Transaction Summary ============================================================================================================== Install 1 Package Total download size: 175 k Installed size: 516 k Is this ok [y/N]: y Downloading Packages: audit-3.1.2-7.oe2403sp1.riscv64.rpm 48 kB/s | 175 kB 00:03 -------------------------------------------------------------------------------------------------------------- Total 23 kB/s | 175 kB 00:07 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Installing : audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Running scriptlet: audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Created symlink /etc/systemd/system/multi-user.target.wants/auditd.service → /usr/lib/systemd/system/auditd.service. Verifying : audit-1:3.1.2-7.oe2403sp1.riscv64 1/1 Installed: audit-1:3.1.2-7.oe2403sp1.riscv64 Complete! [root@localhost ~]# systemctl start auditd [root@localhost ~]# systemctl restart auditd Failed to restart auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop). See system logs and 'systemctl status auditd.service' for details. [root@localhost ~]# systemctl status auditd ● auditd.service - Security Auditing Service Loaded: loaded (/usr/lib/systemd/system/auditd.service; enabled; preset: enabled) Active: active (running) since Wed 2025-01-15 09:48:34 UTC; 15s ago Docs: man:auditd(8) https://github.com/linux-audit/audit-documentation Process: 18122 ExecStart=/sbin/auditd (code=exited, status=0/SUCCESS) Process: 18126 ExecStartPost=/sbin/augenrules --load (code=exited, status=0/SUCCESS) Main PID: 18123 (auditd) Tasks: 2 (limit: 48740) Memory: 912.0K () CGroup: /system.slice/auditd.service └─18123 /sbin/auditd Jan 15 09:48:34 localhost.localdomain systemd[1]: Starting Security Auditing Service... Jan 15 09:48:34 localhost.localdomain auditd[18123]: No plugins found, not dispatching events Jan 15 09:48:34 localhost.localdomain auditd[18123]: Init complete, auditd 3.1.2 listening for events (startu> Jan 15 09:48:34 localhost.localdomain systemd[1]: Started Security Auditing Service. [root@localhost ~]# augenrules --load /usr/sbin/augenrules: No change [root@localhost ~]# useradd Jevons [root@localhost ~]# uid=$(id -u Jevons) [root@localhost ~]# auditctl -a always,exit -S all -F uid="${uid}" -k syscall Error detecting machine type There was an error while processing parameters [root@localhost ~]# userdel -rf Jevons [root@localhost ~]# auditctl -D No rules [root@localhost ~]# systemctl stop auditd Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop). See system logs and 'systemctl status auditd.service' for details. ``` 上游相关 pr:https://github.com/linux-audit/audit-userspace/pull/73
评论 (
5
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
gwei3
gwei3
负责人
协作者
+负责人
+协作者
标签
sig/sig-security-fac
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (29)
标签 (25)
master
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-25.09
openEuler-24.03-LTS-Next
openEuler-25.03
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP2
openEuler-24.09
openEuler-22.03-LTS
sync-pr86-openEuler-22.03-LTS-SP1-to-openEuler-22.03-LTS-Next
openEuler-23.09
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP1
openEuler-23.03
openEuler-22.09
openEuler-21.09
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-Next
openEuler-21.03
openEuler-20.09
openEuler-20.03-LTS
openEuler1.0-base
openEuler1.0
openEuler-24.03-LTS-SP2-release
openEuler-24.03-LTS-update-20250523
openEuler-24.03-LTS-SP1-update-20250523
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200929
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/audit.git
git@gitee.com:src-openeuler/audit.git
src-openeuler
audit
audit
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册