bottlerocket-os / bottlerocket-os/bottlerocket-core-kit
Feature: Debug Package
- Dominant language
- Rust
- Stars
- 34
- Forks
- 77
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 23
Description
**What I'd like:** I'd like a Bottlerocket package which contains helpful tools for debugging including (and not limited to) `curl`, `wget`, `ping`, `which`, and `less`. If I need to poke around an instance via a custom variant which includes the `login` package, then I'd like a some tooling to help me out. I alluded to such a package in my other issue https://github.com/bottlerocket-os/bottlerocket-core-kit/issues/340, so I thought I'd make the ask explicit.
Specific use-casses:
* Talking to IMDS on a host via `curl`.
* Searching for a log line in the journal via `less`.
* Determining the location of a binary, for writing a systemd unit, via `which`.
* Validating connectivity via `ping`.
**Any alternatives you've considered:** Copying binaries from containers, using `more` or `grep` instead of `less`. We also do not use host/admin containers in our variant.
Contributor guide
Research direction
Review issue #340 for the related package context, then locate how Bottlerocket packages are defined and assembled in this repository. Identify the package entry point and any existing package tests or build checks before deciding how the requested debugging tools should be represented. Done means a buildable debugging package containing the requested core tools and passing the relevant package checks.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100