[BUG] Large ACL fixture attributes are rejected by debugfs #128

Closed
opened 2026-10-15 05:15:11 +02:00 by erikinkinen · 1 comment
Owner

Summary

The ext4 ACL fixture fails during generation because its large access and default ACL attributes are not written.

Reproduction

On Integration 4d4521ad, run build_ext_image(path, 16777216, "ext4-acl-metadata") with debugfs 1.47.3. The unchanged fixture uses 512 named entries for its large ACLs.

Expected and actual behavior

Both small and large ACLs must survive independent semantic and storage checks. Small attributes return the expected 44 bytes. Every large write reports Invalid argument while setting extended attribute, even though debugfs exits zero. The subsequent reads report missing keys and return empty files, causing ACL version or complete entry count changed.

Environment and identity

Integration 4d4521ad80f052375a344388995f10fc41d1d048, debugfs/e2fsck 1.47.3, original 16 MiB ext4 parameters. The fixture fails before guest execution. Run 2645 also failed this verifier; that older log did not retain its actual ACL bytes.

Evidence and prior checks

The original host function reproduces the failure. Its image, exact input ACLs, completed tool output and seven attribute readbacks are retained. Small writes succeed and e2fsck exits zero; the large writes themselves are refused. Keep all 512 named entries, value-inode storage checks and the semantic oracle.

Tracking

Phase completion · Implementation PR. The separate error-propagation bug is fixed in #127.

  • Create complete large access and default ACL values through the documented on-disk format.
  • Preserve independent semantic, storage and filesystem checks.
  • Pass the unchanged large-ACL generation and verification path.
## Summary The ext4 ACL fixture fails during generation because its large access and default ACL attributes are not written. ## Reproduction On Integration `4d4521ad`, run `build_ext_image(path, 16777216, "ext4-acl-metadata")` with debugfs 1.47.3. The unchanged fixture uses 512 named entries for its large ACLs. ## Expected and actual behavior Both small and large ACLs must survive independent semantic and storage checks. Small attributes return the expected 44 bytes. Every large write reports `Invalid argument while setting extended attribute`, even though debugfs exits zero. The subsequent reads report missing keys and return empty files, causing `ACL version or complete entry count changed`. ## Environment and identity Integration `4d4521ad80f052375a344388995f10fc41d1d048`, debugfs/e2fsck 1.47.3, original 16 MiB ext4 parameters. The fixture fails before guest execution. [Run 2645](https://git.erikinkinen.fi/erix/integration/actions/runs/2645/jobs/1/attempt/1) also failed this verifier; that older log did not retain its actual ACL bytes. ## Evidence and prior checks The original host function reproduces the failure. Its image, exact input ACLs, completed tool output and seven attribute readbacks are retained. Small writes succeed and e2fsck exits zero; the large writes themselves are refused. Keep all 512 named entries, value-inode storage checks and the semantic oracle. ## Tracking [Phase completion](https://git.erikinkinen.fi/erix/integration/issues/65) · [Implementation PR](https://git.erikinkinen.fi/erix/integration/pulls/12). The separate error-propagation bug is fixed in [#127](https://git.erikinkinen.fi/erix/integration/issues/127). - [x] Create complete large access and default ACL values through the documented on-disk format. - [x] Preserve independent semantic, storage and filesystem checks. - [x] Pass the unchanged large-ACL generation and verification path.
Author
Owner

9c4b15c0 sends the complete ACL bytes through debugfs’s documented C-string input. The original 16 MiB fixture now retains all 512 named entries in both access and default ACLs and passes the unchanged semantic, storage and filesystem checks. A real shorter valid ACL still fails the complete-value check. Closing this host fixture defect; guest ACL behavior and the full VM matrix remain open.

[9c4b15c0](https://git.erikinkinen.fi/erix/integration/commit/9c4b15c0f0293c4a6d75b338b3ba99f5fcada763) sends the complete ACL bytes through debugfs’s documented C-string input. The original 16 MiB fixture now retains all 512 named entries in both access and default ACLs and passes the unchanged semantic, storage and filesystem checks. A real shorter valid ACL still fails the complete-value check. Closing this host fixture defect; guest ACL behavior and the full VM matrix remain open.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:17 +01:00
Sign in to join this conversation.
No milestone
No project
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
erix/integration#128
No description provided.