已关闭
Feature: smap策略配置由运行期生成改为RPM随包安装(升级直接覆盖,参考openEuler/ubturbo PR #479) #54
jamesricado创建于 6 天前关闭于 3 天前
6 天前 将 will_niutao、liliang_euler、wsoydl、hanjunguo、jerry_lilijun、jamesricado 设为负责人
6 天前 添加了label:sig/sig-UnifiedBus
openeuler-ci-bot
6 天前 评论:
6 天前 评论:
Welcome To openEuler Community
Hey @jamesricado , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
Contact Guide
If you have any questions, please contact the SIG: sig-UnifiedBus ,
and any of the maintainers: @hanjunguo, @jerry_lilijun, @liliang_euler, @will_niutao, @wsoydl ,
and any of the committers: @leeCii1, @meng_zhaohui, @ray-yang0218, @woquzhao12138 .


jamesricado
6 天前 评论:
6 天前 评论:
/assign


6 天前 移除了负责人 will_niutao、liliang_euler、wsoydl、hanjunguo、jerry_lilijun
Jjamesricado
4 天前 修改标题为 “Feature: smap策略配置由运行期生成改为RPM随包安装(升级直接覆盖,参考openEuler/ubturbo PR #479)”,原标题为“Bug: smap策略配置由运行期生成改为RPM随包安装(%config(noreplace),参考openEuler/ubturbo PR #479)”
4 天前 修改标题为 “Feature: smap策略配置由运行期生成改为RPM随包安装(升级直接覆盖,参考openEuler/ubturbo PR #479)”,原标题为“Bug: smap策略配置由运行期生成改为RPM随包安装(%config(noreplace),参考openEuler/ubturbo PR #479)”
4 天前 修改了issue 的描述
3 天前 关闭了 issue
3 天前 issue状态由 待办的 改变为 已完成
【需求场景】
smap 策略配置当前由 libsmap 运行期动态生成,spec 未将配置文件随包安装:配置不归属 RPM,包升级时既有配置易被覆盖或丢失,且缺少与代码版本一致的统一交付默认内容。
【需求价值】
策略配置文件随 RPM 包安装(0640、属主 ubturbo),升级时直接以新默认值覆盖,配置内容始终与代码版本对齐;smap 侧以固定路径只读配置、不回写;键缺失时沿用 smap 内置默认值作为兜底。
【实现方案】
参考 openEuler/ubturbo PR #479(smap 策略配置读取与生效链路改造):