Fix native MariaDB FUSE ownership readiness - #2239
Open
chubes4 wants to merge 1 commit into
Open
Conversation
AI assistance: OpenAI GPT-5.6 Sol via OpenCode implemented the caller-ownership alignment, readiness lifecycle probe, and deterministic tests. Chris Huber remains responsible for every line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Security Compatibility
The existing UID-0 rejection, trusted binary resolution, private-path containment, 256 MiB/4,096-inode filesystem geometry, fixed rlimits, loopback-only access, and verified process-group/root cleanup are unchanged. Descriptor discovery fails closed if this full lifecycle cannot be proven.
Verification
npm run buildnpm run test:runtime-services/home/chubes/Developer/wp-codebox-2238.RNt9aH, Nodev24.18.0, PATH prefixed with/home/chubes/.local/opt/node/bin, and a fresh/home/chubes/Developer/.tmp/wp-codebox-2238-final.*: build andtest:runtime-servicespassed.npm run test:native-mariadb-runtime-service-integrationran against MariaDB11.8.6andfuse2fs 1.47.2, returning the intended fail-closedbounded-filesystem-unavailableresult. Lab kernel audit proves the remaining block is an enforced AppArmormariadbdprofile denial ofmknodin the private FUSE path with bothfsuid=1000andouid=1000; it is not a Unix/FUSE ownership failure. This change correctly prevents a false-ready descriptor in that environment without bypassing the host MAC policy.AI Assistance
OpenAI GPT-5.6 Sol via OpenCode inspected the runtime-service lifecycle, implemented the caller-ownership and readiness changes, and ran the documented local and Lab verification. Chris Huber remains responsible for every line.