7 ms·
Containerization doesn't strike me as a common feature of an init system.
by jcranendonk 8y ago
Containerization doesn't strike me as a common feature of an init system.
- rspeer 8y agoAnd init systems are, unfortunately, not a common feature of containers so far. I really wouldn't mind seeing both of them in the same project. Both init systems and container systems are concerned with dependencies, logging, and managing the lifetime of processes, and systemd is way better at the last two than Docker, so I'm optimistic.
- dozzie 8y agoQR code generator is not a common feature of an init system, yet systemd includes one. Modern attempt at OS packaging (a.k.a. containerization) is not a weird thing in such a neighbourhood at all.
- tssva 8y agoThe systemd init system doesn't have a qrcode generator. This is typical anti-systemd FUD of trying to conflate the systemd init process and the other processes available as part of the systemd project. The separate journald log server available as part of the systemd project can generate qrcodes. journald can cryptographically sign logs so that future log tampering can be detected. This requires two keys, a sealing key and a verification key. The verification key must be stored off server. When the keys are generated systemd can display a qrcode to allow easy recording of the verification key.
- gsich 8y agoIt seems some people on HN love to hate sytemd. Even though they can't come up with an alternative that's better. Hint: It's not sysvinit.
- inferiorhuman 8y agoHint: both sysvinit and BSD init are better. They are more mature, have fewer moving parts, are easier to debug without specialized tools, and are better understood. Plus the decoupled nature of init systems reap bonuses for system stability (unlike systemd). Having a QR code parser as part of something that's tangentially related to the init system in concept but deeply embedded into systemd in practice is exactly what the post you were replying to is complainig about. It's unnecessarily complex.
- gsich 8y agoThey are not. >They are more mature what does that even mean? that they are older? Similar to "modern XYZ" this phrase doesn't mean anything. You seem to repeat what other people say like the "QR code" without even looking it up.
- inferiorhuman 8y ago> They are not. https://stackoverflow.com/questions/32924335/using-systemd-without-journal https://stackoverflow.com/questions/32924335/using-systemd-w... > The journal is the only mandatory component of systemd outside PID1. Seems pretty deeply embedded to me. > what does that even mean? that they are older? They are older, better understood, and there are fewer substantive bugs (e.g. malformed blob = run service as root). > You seem to repeat what other people say like the "QR code" without even looking it up. https://lists.fedoraproject.org/pipermail/devel/2012-October/172163.html https://lists.fedoraproject.org/pipermail/devel/2012-October... Not sure what else you're doing with a QR library, except maybe building tetris (which seems like a bad idea for something purported to be an init system).
- gsich 8y ago>They are older, better understood, and there are fewer substantive bugs (e.g. malformed blob = run service as root). You used the same argument ("They are more mature") again. It's still not saying anything.
- dogecoinbase 8y agoYou don't have to be a chef to know you're getting bad food.
- Karunamon 8y agoIn all honesty I've never yet administered a system where the addition of systemd solved a problem I actually had. I would gladly go back to Upstart (or hell, even sysv) in a heartbeat. Put another way, as a couple of anecdotes at $day_job, the boot time benefits (the one thing people always seem to bring up in defense of this ever-growing behemoth) were eaten up months ago in time troubleshooting, transitioning, and working around its corner cases. More humorously, the words "fucking" and "goddamn" used to be followed by the name of some internal program known for being clunky. After getting up to Ubuntu 16 and Cent 7 in the whole environment, those words tend to be followed by "systemd".
- gsich 8y agoI have found that systemd solves many problems. I couldn't care less about boot times, especially on servers. The service startup with dependencies is very nice and easy compared to sysv. You write like 10 lines and it just works. You get status output of the service without having to grep through the log file. Sometimes you don't need a logfile, which makes this even better, as you don't need to use screen/tmux workarounds. You see if a service is running or has exited. Same for timers. Debugging not running cronjobs is a pain in comparison. Writing sysv init scripts is so fucking shit, people started to dump everything in /etc/rc.local, especially for earlier RPi versions of Debian.
- emmelaich 8y agoI used to make sailors blush with the intensity of expletives about various sysvinit scripts. Do you know about Kafka, Spark, and Jenkins? They're all Java but they each have their batshit fucking insane quirks on starting up. One of them runs in foreground. One of them runs in background. Jenkins (actually as Hudson) had it's own fucking Unix daemon-isation inbuilt. For a Java program! Nuts! Thankfully pretty much popular Java server has a systemd unit file written for it which avoids any shell and Exec's Java directly.
- yrro 8y agoI can't fathom why it's so popular for Java programs to ship a slew of poorly-tested shell scripts that read environment variables and config files, and transform these into -D arguments to the java command. Why on earth don't they just o that with Java!?
- mdekkers 8y agoIt seems some people on HN love to hate sytemd. Even though they can't come up with an alternative that's better. I hated systemd before it was cool to hate systemd. I never had a problem with sysvinit as the root casuse, but I had many problems with systemd as the root cause.
- tomohawk 8y agosysvinit is a strawman. the real choice was between upstart and systemd, and upstart was clearly superior, especially for common use cases.
- deleted 8y ago[deleted]
- pseudalopex 8y agoI mostly like systemd, but judging the project as an init system with a bunch of other functionality tacked on is completely fair. The init daemon requires the logging daemon and vice versa, so they aren't really separate.
- dozzie 8y agoAh yes, this totally separate journald that you can replace with something else, except that you cannot, you can only run it in forwarding mode beside other logging daemon. Very modular. Totally not a part of an init system.
- xyzzyz 8y agoSystemd is more than simply init system and has been that since it’s beginnings.
- emmelaich 8y agoProcesses are though. And a container is just a bunch of processes. Or maybe one.