Skip to content

mkfifo: don't delete fifo and fail when --context is used without SELinux/SMACK#13313

Open
Chaganti-Reddy wants to merge 1 commit into
uutils:mainfrom
Chaganti-Reddy:mkfifo-context-warning
Open

mkfifo: don't delete fifo and fail when --context is used without SELinux/SMACK#13313
Chaganti-Reddy wants to merge 1 commit into
uutils:mainfrom
Chaganti-Reddy:mkfifo-context-warning

Conversation

@Chaganti-Reddy

Copy link
Copy Markdown
Contributor

mkfifo currently deletes the fifo it just created and exits with a fatal error if --context is used on a kernel without SELinux/SMACK. same root cause as the mkdir bug, GNU just creates the fifo and warns instead. added the missing branch so it only bails out for real SELinux errors now, not for "not enabled".

Fixes #12983

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/cut/bounded-memory (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tail/retry (passes in this run but fails in the 'main' branch)

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.

bug(mkfifo): when using --context in Non Selinux kernel, it does not warn

1 participant