Date: Sat, 27 Jun 2026 10:04:23 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 296315] reboot(8): LOG_CONS passed as facility instead of logopt in openlog(3) Message-ID: <bug-296315-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296315 Bug ID: 296315 Summary: reboot(8): LOG_CONS passed as facility instead of logopt in openlog(3) Product: Base System Version: 16.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: rbranco@suse.com reboot(8) is buggy on a Dell laptop and a GMKtec Nucbox while `shutdown -r` works. While trying to debug this I came across this issue: reboot(8), halt(8), etc. all call openlog(3) with LOG_CONS OR'd into the facility argument instead of logopt. shutdown(8) and init(8) both use the correct form: openlog("shutdown", LOG_CONS, LOG_AUTH); -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-296315-227>
