[BUG] Gate native serving modules with their host-excluded dependencies #25
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/vfsd#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Summary
Five recently introduced VFS implementation modules are declared unconditionally, although their required backend/state modules are enabled only for unit tests or the native x86_64 EriX target. An ordinary host build therefore selects imports whose defining modules are absent. This is a source-confirmed configuration defect; no build or CI reproduction was executed.
Reproduction
At VFS revision
55498e81b8b74428c44d1a41da966e43dc02589f, inspect the module declarations insrc/main.rsand imports incandidate_control,permission_update,scope_candidate_control,scope_namespace, andscope_permission_update. Select a non-test Linux host configuration:backend_transport,backend_provider,namespace, and related native modules are excluded, while these five consumers remain selected. An eventualcargo buildin that configuration exercises the inconsistency. That command has not been run under the current execution waiver.Expected and actual behavior
Expected: the ordinary host executable selects its documented host configuration, while native serving modules and their dependencies are enabled together for unit tests and EriX builds. Actual source selection: these five modules import native dependencies that are conditionally absent. No compiler diagnostic, exit status, or runtime result is claimed. Apply the existing
any(test, all(target_arch = "x86_64", target_os = "none"))gate consistently to these consumers and the new advisory-lock scope module.Environment and identity
55498e81b8b74428c44d1a41da966e43dc02589f; Integration catalog9110676622b1c88817b1fe4383f1fa23ccc20805.Evidence and prior checks
The unconditional declarations and conditional imports are directly inspectable in the pinned sources. Repair the source selection and review both host and native/test predicates. Tests, builds, lint checks, generated documentation, VM execution, and CI observation remain deferred by user instruction. This finding does not assert an observed CI failure.
Tracking
Coordinate VFS review, advisory locks, and phase completion. Close after coherent signed source publication, with execution explicitly waived rather than represented as passed.
erikinkinen referenced this issue from erix/coreutils2026-10-02 09:51:18 +02:00
erikinkinen referenced this issue from erix/docs2026-10-02 09:51:21 +02:00
erikinkinen referenced this issue from erix/e2fsd2026-10-02 09:51:32 +02:00
erikinkinen referenced this issue from erix/exsh2026-10-02 09:51:33 +02:00
erikinkinen referenced this issue from erix/extop2026-10-02 09:51:34 +02:00
erikinkinen referenced this issue from erix/fatd2026-10-02 09:51:34 +02:00
erikinkinen referenced this issue from erix/integration2026-10-02 09:51:37 +02:00
erikinkinen referenced this issue from erix/launchd2026-10-02 09:51:42 +02:00
erikinkinen referenced this issue from erix/lib-ipc2026-10-02 09:51:48 +02:00
erikinkinen referenced this issue from erix/lib-posixabi2026-10-02 09:51:49 +02:00
erikinkinen referenced this issue from erix/lib-stdio2026-10-02 09:51:51 +02:00
erikinkinen referenced this issue from erix/loaderd2026-10-02 09:51:55 +02:00
erikinkinen referenced this issue from erix/posixd2026-10-02 09:52:02 +02:00
erikinkinen referenced this issue from erix/procd2026-10-02 09:52:05 +02:00
erikinkinen referenced this issue from erix/ramfsd2026-10-02 09:52:06 +02:00
erikinkinen referenced this issue from erix/rootd2026-10-02 09:52:06 +02:00
erikinkinen referenced this issue from erix/timed2026-10-02 09:52:07 +02:00
erikinkinen referenced this issue from erix/ttyd2026-10-02 09:52:08 +02:00
erikinkinen referenced this issue2026-10-02 09:52:08 +02:00