3
26
Fork
You've already forked mere
1

Include the specific namespace error name in phase failure diagnostics #109

Merged
jhuntwork merged 1 commit from namespace-phase-error-detail into main 2026年07月10日 19:33:53 +02:00

runOneNamespacePhase set a static "failed to fork and enter env" message
regardless of which of namespace.EnvError's ~20 variants (uid-map
failure, overlayfs unavailable, disabled user namespaces, mount
failures, etc.) actually occurred, with no way for an operator to tell
them apart from the message alone. Interpolate @errorName(err) into the
diagnostic details via setDiagnosticContextFmt instead of the static
string.

runOneNamespacePhase set a static "failed to fork and enter env" message regardless of which of namespace.EnvError's ~20 variants (uid-map failure, overlayfs unavailable, disabled user namespaces, mount failures, etc.) actually occurred, with no way for an operator to tell them apart from the message alone. Interpolate @errorName(err) into the diagnostic details via setDiagnosticContextFmt instead of the static string.
Include the specific namespace error name in phase failure diagnostics
All checks were successful
/ test (pull_request) Successful in 6m51s
a1b193cf90
runOneNamespacePhase set a static "failed to fork and enter env" message
regardless of which of namespace.EnvError's ~20 variants (uid-map
failure, overlayfs unavailable, disabled user namespaces, mount
failures, etc.) actually occurred, with no way for an operator to tell
them apart from the message alone. Interpolate @errorName(err) into the
diagnostic details via setDiagnosticContextFmt instead of the static
string.
jhuntwork deleted branch namespace-phase-error-detail 2026年07月10日 19:33:54 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
merelinux/mere!109
Reference in a new issue
merelinux/mere
No description provided.
Delete branch "namespace-phase-error-detail"

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?