Repository navigation
Fix RPM packaging config asset metadata - #1839
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "oc-rsync" = { path = "/usr/bin/oc-rsync", mode = "0755" } | ||
| "oc-rsyncd" = { path = "/usr/bin/oc-rsyncd", mode = "0755" } |
There was a problem hiding this comment.
Avoid listing binaries in both RPM assets and targets
The new [package.metadata.rpm] assets array now installs /usr/bin/rsync, /usr/bin/rsyncd, oc-rsync, and oc-rsyncd, but the same four paths are still declared under [package.metadata.rpm.targets]. cargo rpm generates %files entries for both sections, so each binary path ends up listed twice and the build aborts with a “File listed twice” error before an RPM can be produced. Either the binaries should remain in targets or move exclusively to assets, but not both.
Useful? React with 👍 / 👎.
…3435) Audit of oc-rsync's `--fake-super`, `--super`, and `--copy-as` implementations against upstream rsync 3.4.1. Identifies 3 HIGH, 5 MEDIUM, and 2 LOW findings, all with file:line evidence and upstream cross-references. Top issues: `load_fake_super` is exported but never called (F1), special-file executors invoke real `mknod` syscalls under fake-super (F2), and the daemon parses `fake super = yes` but no read site actually demotes `am_root` (F3). Audit document only; ten follow-up issues recommended for the actual fixes. Closes #1839.
…3435) Audit of oc-rsync's `--fake-super`, `--super`, and `--copy-as` implementations against upstream rsync 3.4.1. Identifies 3 HIGH, 5 MEDIUM, and 2 LOW findings, all with file:line evidence and upstream cross-references. Top issues: `load_fake_super` is exported but never called (F1), special-file executors invoke real `mknod` syscalls under fake-super (F2), and the daemon parses `fake super = yes` but no read site actually demotes `am_root` (F3). Audit document only; ten follow-up issues recommended for the actual fixes. Closes #1839.
…3435) Audit of oc-rsync's `--fake-super`, `--super`, and `--copy-as` implementations against upstream rsync 3.4.1. Identifies 3 HIGH, 5 MEDIUM, and 2 LOW findings, all with file:line evidence and upstream cross-references. Top issues: `load_fake_super` is exported but never called (F1), special-file executors invoke real `mknod` syscalls under fake-super (F2), and the daemon parses `fake super = yes` but no read site actually demotes `am_root` (F3). Audit document only; ten follow-up issues recommended for the actual fixes. Closes #1839.
Summary
assetsarray expected by the preflight validatorTesting