RPM post-install should not explicitly install systemd-resolved#138
RPM post-install should not explicitly install systemd-resolved#138ggiguash merged 2 commits intomicroshift-io:mainfrom
Conversation
WalkthroughRemoved Changes
Sequence Diagram(s)(omitted — changes are configuration/script edits without new runtime control-flow) Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-10-17T07:44:32.742ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/rpm/postinstall.sh(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
- GitHub Check: isolated-network (ovnk, ubuntu-24.04, 1)
- GitHub Check: quick-start-and-clean (ubuntu-24.04)
- GitHub Check: quick-start-and-clean (ubuntu-24.04-arm)
- GitHub Check: ubuntu-rpm2deb
- GitHub Check: isolated-network (kindnet, ubuntu-24.04, 0)
- GitHub Check: fedora-bootc (ubuntu-24.04)
- GitHub Check: fedora-bootc (ubuntu-24.04-arm)
- GitHub Check: centos10-bootc
- GitHub Check: centos9-bootc
🔇 Additional comments (2)
src/rpm/postinstall.sh (2)
39-39: LGTM: Removed systemd-resolved from explicit installation.Aligns with PR objective and avoids issues in privileged Bootc containers. The service can still be disabled if present (line 62).
43-45: Verify firewall rule additions are intentional scope.The new rules for Kubernetes API (6443) and etcd (2379, 2380) ports are valid for multi-node clusters, but they're not mentioned in the PR objectives. Confirm these changes are intentional as part of the PR #136 prerequisite work.
108d8bd to
c48927d
Compare
A prerequisite for #137.
The
systemd-resolvedpackage is not required in the configurations used for running MicroShift. We should not explicitly install this package as it causes problems when run in privileged Bootc containers.See https://gitlab.com/fedora/bootc/tracker/-/issues/80 for more information.
Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.