fixing glibc issue #2475
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!2475
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2475/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub pull request.
Original GitHub pull request: #2011
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/2011
Original created: 2025-11-24T20:04:46Z
Original updated: 2025-11-24T20:08:36Z
Original head: carverauto/serviceradar:2010-bug-glibc-not-found
Original base: main
Original merged: 2025-11-24T20:08:33Z by @mfreeman451
User description
IMPORTANT: Please sign the Developer Certificate of Origin
Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include
a DCO sign-off statement indicating the DCO acceptance in one commit message. Here
is an example DCO Signed-off-by line in a commit message:
Describe your changes
Issue ticket number and link
Code checklist before requesting a review
PR Type
Bug fix
Description
Pin Rust base images to version 1.78 with specific OS versions
Replace Ubuntu Jammy with Ubuntu Noble in Bazel build configuration
Replace Debian Bookworm Slim with Ubuntu Noble for rperf client image
Fix missing newline at end of Dockerfile files
Diagram Walkthrough
File Walkthrough
Dockerfile
Pin Rust version and fix formattingcmd/checkers/rperf-client/Dockerfile
rust:latesttorust:1.78-bullseyeDockerfile
Pin Rust version to 1.78-bullseyecmd/consumers/zen/Dockerfile
rust:latesttorust:1.78-bullseyeDockerfile
Pin Rust version to 1.78-bookwormcmd/ebpf/profiler/Dockerfile
rust:latesttorust:1.78-bookwormDockerfile
Pin Rust version to 1.78-bullseyecmd/flowgger/Dockerfile
rust:latesttorust:1.78-bullseyeDockerfile
Pin Rust version to 1.78-bullseyecmd/otel/Dockerfile
rust:latesttorust:1.78-bullseyeDockerfile
Pin Rust version to 1.78-bullseyecmd/trapd/Dockerfile
rust:latesttorust:1.78-bullseyeBUILD.bazel
Upgrade base OS images to Ubuntu Nobledocker/images/BUILD.bazel
trapd_image_amd64base from Ubuntu Jammy to Ubuntu Nobleotel_image_amd64base from Ubuntu Jammy to Ubuntu Noblerperf_client_image_amd64base from Debian Bookworm Slim toUbuntu Noble
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2011#issuecomment-3572514466
Original created: 2025-11-24T20:05:24Z
PR Compliance Guide 🔍
Below is a summary of compliance checks for this PR:
Dependency drift risk
Description: Using a floating minor base like rust:1.78-bookworm may still pull newer libc at build
time depending on upstream updates, potentially reintroducing GLIBC mismatches if runtime
base differs; consider pinning full digest or aligning build and runtime bases.
Dockerfile [2-2]
Referred Code
Cross-distro ABI mismatch
Description: Builder image rust:1.78-bullseye may produce binaries linked against glibc from Debian
while runtime images in Bazel are Ubuntu Noble, creating cross-distro libc/glibc ABI
mismatch risk; align build and runtime bases or use musl/static builds where appropriate.
Dockerfile [2-2]
Referred Code
🎫 #2010
base OS images.
serviceradar-otel,serviceradar-trapd, andserviceradar-rperf-checker.deployment cluster (demo namespace).
errors occur for all updated images.
Codebase context is not defined
Follow the guide to enable codebase context checks.
Generic: Meaningful Naming and Self-Documenting Code
Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting
Status: Passed
Generic: Comprehensive Audit Trails
Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.
Status:
No audit impact: The PR only adjusts Docker bases and CMD/entrypoints with no application logic added, so
it neither adds nor removes audit logging; verification requires broader context beyond
the shown diffs.
Referred Code
Generic: Robust Error Handling and Edge Case Management
Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation
Status:
No error paths: Only Docker base images and CMD lines were modified without introducing runtime error
handling changes, which cannot be assessed from these diffs alone.
Referred Code
Generic: Secure Error Handling
Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.
Status:
No user errors: The changes affect container base images and command invocation and do not alter
user-facing error messages; security of error handling cannot be determined from these
changes alone.
Referred Code
Generic: Secure Logging Practices
Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.
Status:
Logging unaffected: The PR modifies base images and build stages only; it neither introduces nor reveals
logging statements, so compliance cannot be assessed without application code context.
Referred Code
Generic: Security-First Input Validation and Data Handling
Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities
Status:
Runtime security: Switching base images and OCI bases does not expose input handling logic; security
validation and data handling cannot be evaluated from these diffs.
Referred Code
Compliance status legend
🟢 - Fully Compliant🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/2011#issuecomment-3572517461
Original created: 2025-11-24T20:06:14Z
PR Code Suggestions ✨
Explore these optional code suggestions:
Use a slim base image
To optimize image size, consider using a slim base image like
@ubuntu_noble_slim_linux_amd64forrperf_client_image_amd64instead of thestandard Ubuntu image.
docker/images/BUILD.bazel [805-815]
[To ensure code accuracy, apply this suggestion manually]Suggestion importance[1-10]: 6
__
Why: The suggestion correctly identifies that changing from a
slimDebian image to a standard Ubuntu image will likely increase image size and proposes a valid optimization by using aslimUbuntu variant.