Originally posted by interested
View Post
Yes they did. The technical committee did made the decision that systemd is the new default init system for Debian Linux. The decision was made exactly in accordance with the democratic processes as outlined in their rules. It is a clear decision: there is no doubt about the fact that systemd is the new default init system for Debian Linux.
You should have read on; the point is that it should be initiated and controlled by the init system in such a way that there will be logging info from all processes from the moment the system is boot strapped, until the exact last micro second the system shuts down. This is something systemd can do because of its design, but that script based init systems that rely on syslogd can't.
Don't believe me? Well, how about a Debian/Hurd developer:
"During gsoc last year I had to patch our procfs to finally be able to safely shut down Debian/Hurd systems using sysvinit. The problem was, that sysvinit at certain runlevel transitions (like shutting down, or I guess, switching to single user mode), sysvinit assumes that it is okay to stop and kill (almost) all processes on the system (that's what killall5 does). This might be okay on monolithic systems, but on (multiserver) microkernel systems like the Hurd, where your root filesystem and your network driver and stack are running as userspace processes, it is clearly not."
The fact is that even on Linux sysvinit systems, it requires hack upon hack to make sysvinit work. This is probably why the sysvinit code base is so bloated despite the fact it is only capable of doing simple things. (and not even doing them correctly).
"During gsoc last year I had to patch our procfs to finally be able to safely shut down Debian/Hurd systems using sysvinit. The problem was, that sysvinit at certain runlevel transitions (like shutting down, or I guess, switching to single user mode), sysvinit assumes that it is okay to stop and kill (almost) all processes on the system (that's what killall5 does). This might be okay on monolithic systems, but on (multiserver) microkernel systems like the Hurd, where your root filesystem and your network driver and stack are running as userspace processes, it is clearly not."
The fact is that even on Linux sysvinit systems, it requires hack upon hack to make sysvinit work. This is probably why the sysvinit code base is so bloated despite the fact it is only capable of doing simple things. (and not even doing them correctly).
The same thing as when a text file is corrupted; read as much as you can, which journalctl actually do very well. The systemd journal is exactly designed in such a way that if a process mangles and corrupt an entry, it doesn't affect the rest (append based). But unlike normal syslog files, there is actually a default log consistency check, so you can even know that corruption has happened. The journal file is a huge improvement in every way above the old text dumps. The power of the indexed journal and journalctl, even makes it much simpler to use standard Linux text tools such as "grep" to find what you need.
All this information and much more too is readily available on the systemd site:
"The systemd journal stores log data in a binary format with several features:
Fully indexed by all fields
Can store binary data, up to 2^64-1 in size
Seekable
Primarily append-based, hence robust to corruption
Support for in-line compression
Support for in-line Forward Secure Sealing
"
http://www.freedesktop.org/wiki/Soft...journal-files/
All this information and much more too is readily available on the systemd site:
"The systemd journal stores log data in a binary format with several features:
Fully indexed by all fields
Can store binary data, up to 2^64-1 in size
Seekable
Primarily append-based, hence robust to corruption
Support for in-line compression
Support for in-line Forward Secure Sealing
"
http://www.freedesktop.org/wiki/Soft...journal-files/
Leave a comment: