Re:System Down: A systemd-journald exploit
by tinus_hn on Thursday January 10, 2019 @10:52AM
(#18874693)
Was init?
[ Parent
| on HN ]
Re:System Down: A systemd-journald exploit
by lousken on Thursday January 10, 2019 @11:50AM
(#18875339)
No, but it's far less complex than systemd to the point where you can audit the code yourself and it's battle tested over the years. Also because it's so simple it was shown to us at the university so we've got essential understanding of how it works and I think they're still explaining it instead of systemd.
Re:System Down: A systemd-journald exploit
by josteink on Thursday January 10, 2019 @02:50PM
(#18877385)
But systemd is more than just init. It replaces for instance daemontools, restartd or monit.
Are you saying you can trivially audit those?
Re:System Down: A systemd-journald exploit
by lousken on Thursday January 10, 2019 @03:48PM
(#18877983)
Does it fully replace monit? Could you link me more info? From what I could find I didn't see anything like free disk space warnings, web interface etc.
Re:System Down: A systemd-journald exploit
by josteink on Friday January 11, 2019 @06:04AM
(#18882561)
> Does it fully replace monit?
Not fully, no but as far as I can tell, it has overlapping responsibilities.
My main thought when mentioning it, was automatic restart of services in the case of failure.
Re:System Down: A systemd-journald exploit
by maemilius on Thursday January 10, 2019 @03:51PM
(#18878007)
That's a fair point. However, the parent was responding to whether init - in particular - had been audited. So, bringing up other, larger projects that systemd subsumes is a bit disingenuous, imo.
Re:System Down: A systemd-journald exploit
by insertcredit on Thursday January 10, 2019 @11:09AM
(#18874863)
The complexity of Sysvinit is orders of magnitude less than that of systemd.
Re:System Down: A systemd-journald exploit
by dijit on Thursday January 10, 2019 @11:32AM
(#18875108)
The "sysvinit" binary package has had a total of 2 bug reports tagged "security" filed in Debian's bug tracker. That's over the entire history of the package that goes back to at least 2004.
If I extend the search to all packages built from the "sysvinit" source (which includes packages like initscripts and sysvinit-utils), the count increases to 8. (source: https://www.debian.org/Bugs. I'm not linking to exact queries since they take quite some time and HN has a tendency of taking down Debian's bug tracker)
Re:System Down: A systemd-journald exploit
by nailer on Thursday January 10, 2019 @11:38AM
(#18875192)
Also crond, atd, and various log manipulation tools that systemd replaces.
Re:System Down: A systemd-journald exploit
by zzzcpan on Thursday January 10, 2019 @11:40AM
(#18875211)
It doesn't replace them, it just doesn't use them.
Re:System Down: A systemd-journald exploit
by dijit on Thursday January 10, 2019 @11:41AM
(#18875223)
It supplants them with the same functionality.
That's literally the definition of replacement.
Re:System Down: A systemd-journald exploit
by nailer on Friday January 11, 2019 @08:33AM
(#18883450)
Indeed. Not complaining - I don't care for HN karma - but it is very odd that an easily searchable fact is being downvoted on a technical forum.
Re:System Down: A systemd-journald exploit
by yarrel on Thursday January 10, 2019 @01:20PM
(#18876403)
It provides inferior code and interfaces that are used instead of them.
So you're correct, in a way.