Skip to content

procd: selectively sync post-March OpenWrt fixes - #143

Closed
fwerkor wants to merge 10 commits into
mainfrom
sync/procd-openwrt-2026
Closed

fwerkor wants to merge 10 commits into
mainfrom
sync/procd-openwrt-2026

Conversation

@fwerkor

@fwerkor fwerkor commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Selectively sync newer OpenWrt/procd fixes without importing the large September OCI/uxc expansion.

Package-level updates, kept as individual upstream cherry-picks:

  • support multiple arguments in procd_add_reload_data_trigger
  • procd Git HEAD updates for 2026-03-25, 2026-05-22, and 2026-06-17

Later core procd fixes, backported one change per commit:

  • do not let the console become a controlling tty
  • report procd crashes through /dev/kmsg
  • remove signal-unsafe stdio from crash reboot handling
  • narrate shutdown through /dev/kmsg
  • copy validation strings using their known allocation lengths
  • release the parsed hotplug JSON object

Intentionally skipped:

  • the later OCI/uxc/container-runtime expansion and its new dependency surface
  • changes that depend on that expansion
  • newer features unrelated to CapOS maintenance needs

Validation:

  • the four package-level updates cherry-pick cleanly from OpenWrt
  • all six later core commits cherry-pick cleanly in order on procd 60fdbf0
  • the resulting 100-150 patch series applies cleanly together
  • the series also composes cleanly with the independent coldplug fix in procd: fix coldplug device-node race #144

nbd168 and others added 4 commits October 9, 2026 04:49
…igger

This allows triggering on multiple types of procd data changes for
config reload.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 95e2b3e)
cd7a4e5f8b jail: mount /lib/config into netifd jail

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 368f49f)
ac5cc72f6cfa jail: mount ucode related bits into netifd jail
81119d3f249d instance: disable console logging
8013c0cd2755 jail: mount tools used by dhcp.sh in the netifd jail
876981d0516d jail: fix reading the oci device gid value
c92dbcd460d7 jail: make /dev/tty accessible by others
74bfbee8adb8 service: fix calloc_a argument

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 4b7d553)
9ff6e43bb75f service: notify instance exit details via ubus
4f42296dc4f0 jail: mount rootfs overlay with userxattr in user namespace
60fdbf00e924 jail: chown rootfs overlay dir to mapped root in user namespace

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 2010cfd)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T05:01:57.483740Z 65999fc New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
capos-snap 65999fc Oct 09 2026, 04:59 AM

@fwerkor

fwerkor commented Oct 9, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #145, which merges the full current OpenWrt history (including all of the procd updates from this PR) while preserving upstream commit authors.

@fwerkor fwerkor closed this Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants