Skip to content

sysusers: Reject empty mandatory entry types - #2574

Open
ddy314 wants to merge 1 commit into
bootc-dev:mainfrom
ddy314:fix/sysusers-empty-entry-type
Open

ddy314 wants to merge 1 commit into
bootc-dev:mainfrom
ddy314:fix/sysusers-empty-entry-type

Conversation

@ddy314

@ddy314 ddy314 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

An empty quoted entry type currently falls through as an unknown directive and is silently ignored. Reject it as a parse failure while continuing to allow empty optional fields.

Follow-up to #2534 and the maintainer-approved review discussion: #2534 (comment).

Validation: the added case fails before the fix; all 13 bootc-sysusers tests, targeted strict Clippy, formatting, and git diff --check pass. An independent code review found no actionable issues.

Assisted-by: AI. Implementation and tests were prepared with AI assistance. The contributor reviewed the patch and explicitly authorized DCO signoff and marking this PR ready for review.

@bootc-bot
bootc-bot Bot requested a review from jeckersb October 16, 2026 13:50
Reject an empty quoted entry type instead of silently ignoring the directive. Empty optional fields continue to preserve subsequent columns.

Follow-up to bootc-dev#2534.

Assisted-by: AI
Signed-off-by: Natsu <139412824+ddy314@users.noreply.github.com>
@ddy314
ddy314 force-pushed the fix/sysusers-empty-entry-type branch from eeef64e to b81d1b5 Compare October 16, 2026 13:52
@ddy314
ddy314 marked this pull request as ready for review October 16, 2026 13:52

This branch has not been deployed

No deployments
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.

2 participants