Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 (r)syslog 而不是日志来运行 systemd? 这可能至少需要 (r)syslog 守护程序再次侦听 /dev/log 套接字并另外侦听 /run/systemd/journal/dev-log。此外,(r)syslog 守护程序必须能够处理本机日志日志消息。 是否有任何(r)syslog 扩展可以做到这一点?
日志是 systemd 在 PID1 之外的唯一强制性组件。
您可以使用任何您希望的 syslog 实现,并在 journald.conf 中设置 Storage=none 以最接近无日志系统。然而,这将使 systemctl 状态输出非常有限或无用。