Skip to content

fix: skip sudo usage if NoNewPriv is enabled#102

Merged
reubenmiller merged 1 commit into
mainfrom
fix-check-for-no-new-priv
Jun 29, 2026
Merged

fix: skip sudo usage if NoNewPriv is enabled#102
reubenmiller merged 1 commit into
mainfrom
fix-check-for-no-new-priv

Conversation

@reubenmiller

Copy link
Copy Markdown
Contributor

Avoid using sudo if NoNewPriv is enabled as some environments like Kubernetes don't allow its usage and will fail.

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
21 0 1 21 100 9m5.570667s

Passed Tests

Name ⏱️ Duration Suite
Supports Cumulocity Basic Auth Credentials 22.762 s C8Y-Basic-Auth
Ignore Containers Marked With A Specific Label 29.962 s Container
Grace period to allow container to startup 5.025 s Operations
Service is up 0.190 s Operations
Get Logfile Request 4.781 s Operations
Get Configuration File 5.198 s Operations
Set Configuration File 2.789 s Operations
Execute Shell Command 2.638 s Operations
Install application using docker compose 9.681 s Operations
Get Container Logs 4.793 s Operations
Get Container Logs without explicit container name 4.818 s Operations
Get Container Logs For Non-existent container 2.619 s Operations
Update From Legacy Versions 151.140 s Self-Update-Compat
Trigger self update via local command 27.643 s Self-Update
Self update should only update if there is a new image 20.550 s Self-Update
Self update using software update operation 106.149 s Self-Update
Rollback when trying to install a non-tedge based image 21.006 s Self-Update
Self update using software update operation using Container type 120.316 s Self-Update
Cloud Connection is Online 0.292 s Telemetry
Service status 0.380 s Telemetry
Sends measurements 2.812 s Telemetry

@reubenmiller reubenmiller added this pull request to the merge queue Jun 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 29, 2026
@reubenmiller reubenmiller added this pull request to the merge queue Jun 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 29, 2026
@reubenmiller reubenmiller added this pull request to the merge queue Jun 29, 2026
Merged via the queue into main with commit 607fe1b Jun 29, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant