ubuntu-noble: include upstream networkd-dispatcher NotifyAccess=all fix

未关闭 适合新手
#802 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux, ruby, ubuntu

调研方向

首先查找 Ubuntu Noble stemcell 的 systemd 单元覆盖配置或 drop-in 在哪里组装,然后检查 networkd-dispatcher 服务配置。将请求的覆盖项 NotifyAccess=all 添加到 /etc/systemd/system/networkd-dispatcher.service.d/ 下。生成的 Noble stemcell 包含该 drop-in、反复出现的通知警告停止且服务保持活动状态时,即为完成。

由索引模型根据 Issue 内容生成。

描述

Problem

On Ubuntu Noble stemcells, networkd-dispatcher logs recurring systemd
warnings on hosts with frequent interface changes, e.g. Diego cells:

networkd-dispatcher.service: Got notification message from PID <helper>,
but reception only permitted for main PID <main>

Environment

  • Stemcell: bosh-aws-xen-hvm-ubuntu-noble 1.647
  • Ubuntu: 24.04 LTS (noble)
  • networkd-dispatcher: 2.2.4-1 (NotifyAccess=main)

Upstream fix

Upstream added NotifyAccess=all to the service unit, but this is not
part of the latest tagged release (2.2.4):
https://gitlab.com/craftyguy/networkd-dispatcher/-/commit/4796368d88da516fafda321d8565ae8ccf465120

Validation

A systemd drop-in with NotifyAccess=all on a staging Diego cell:

  • stopped the warnings while interface changes continued
  • kept the service active
  • caused no failures in continuous platform tests

Request

Could the Noble stemcell ship this override, e.g. as a drop-in under
/etc/systemd/system/networkd-dispatcher.service.d/, until a fixed
package is available?

主要语言
Ruby
星标
52
派生
124
平均合并
1 天 2 小时
30 天内合并 PR
23

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cloudfoundry/bosh-linux-stemcell-builder 的其他 Issue

查看 cloudfoundry/bosh-linux-stemcell-builder 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。