Skip to content
Snippets Groups Projects
Verified Commit 4b367a43 authored by Casey's avatar Casey :recycle: Committed by Clayton Craft
Browse files

postmarketos-initramfs: prevent busyloop in syslogd (MR 6013)


when stdin is /dev/null (e.g. when console=null is on the kernel
cmdline) syslogd will call read() over and over and never handle the
SIGTERM we send it, pinning a CPU core on every boot.

Hooking up syslogd std I/O to /dev/zero prevents this.

Co-authored-by: Richard Acayan's avatarRichard Acayan <mailingradian@gmail.com>
Co-authored-by: default avatarClayton Craft <clayton@craftyguy.net>
[ci:skip-build]: already built successfully in CI
parent dc3499fa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment