Comment 2TG6 Re: Benefits servers and system admins the most

Story

Is it time to fork Debian?

Preview

Benefits servers and system admins the most (Score: 2, Insightful)

by evilviper@pipedot.org on 2014-10-19 18:37 (#2TFW)

I object to the frequently repeated assertion that system admins don't want systemd, and that it only benefits desktop users.

SysVinit scripts don't have any way to restart services that have quit/crashed. That is EXTREMELY important on servers, and it's absence is a notable missing feature on Linux. There are various add-ons that do this, like daemontools, but they can't replace SysVinit, so you're stuck maintaining two mutually incompatible methods for running services.

I don't care about boot-up times, but not being able to have all system services automatically restarted (without human intervention at 3am), should anything happen to them, is a glaring failure on Linux, putting it a couple decades behind its competitors.

Debugging a system, and/or rebooting it every time it comes up but a network file system didn't mount in-time... Getting paged at 3AM every day, because after 2 years of uptime, crond happened to crash and across hundreds of servers that's a daily occurrence... etc. These are all very important to any server admins, and hardly matter to desktop users.

And to preempt the common responses:

You would NOT want to be paged at 3am just because crond crashed after 2 years of uptime. It's crazy to claim someone needs to investigate every such happenstance. It's also crazy to claim you should rewrite all your startup scripts so every system service is run out of daemontools. After all.. ANY service that you need running is "critical" and failure can't be ignored. Right now, these system restarts are typically performed by poorly-paid NOC personnel, who understand less about the services in question than systemd does. And needing to have NOC folks working around the clock is prohibitive for small shops (who have system admins who would like to sleep through the night) and increases the TCO for large shops, who made need a large number of NOC employees because restarting services becomes a full-time job to the exclusion of other job duties, given enough servers.

Automatic service restarts are perfectly safe. If there was any such issue, it would be looming over daemontools since forever, and the widespread adoption of systemd by every distro out there just serves to show the experts just might know something. Those claiming systemd is bad and useless have to come up with vast conspiracy theories to explain away the enthusiastic and widespread adoption.

I hate to jump into the systemd flame war yet again, where typically the least-informed and least affected shout the loudest. After all, there's no benefit to interrupting the detractors, because every distro out there is already on the side of systemd, and the ranting and moaning on sites like this won't change that.

Re: Benefits servers and system admins the most (Score: 3, Insightful)

by Anonymous Coward on 2014-10-19 20:29 (#2TG1)

SysVinit scripts don't have any way to restart services that have quit/crashed. That is EXTREMELY important on servers, and it's absence is a notable missing feature on Linux.
When a daemon crashes on a production server, we want to know why. We investigate and fix the problem before restarting.
ANY service that you need running is "critical" and failure can't be ignored. Right now, these system restarts are typically performed by poorly-paid NOC personnel, who understand less about the services in question than systemd does
Funny... the only time I ever needed data center staff to intervene was after a botched systemd "upgrade".
Automatic service restarts are perfectly safe
Simple minded nonsense that will be easily countered by the first 0day exploit that takes advantage of it.

Re: Benefits servers and system admins the most (Score: 0)

by Anonymous Coward on 2014-10-19 22:08 (#2TG3)

That's what I was wondering. If a service is restarting itself all the time, how would you know? Oh, by monitoring logs and fixing the problem? How about you do that when it breaks and stops running the first time or two, when you actually notice because you DIDN'T have a Windows style service manager restarting it for you?

Re: Benefits servers and system admins the most (Score: 3, Insightful)

by evilviper@pipedot.org on 2014-10-19 23:24 (#2TG6)

If a service is restarting itself all the time, how would you know?
Because you have monitoring systems in place that report such status information, and because any decent admin will configure a service manager to only restart the process a few times in a short period, before giving-up. "Monitoring logs" is only something you do at home... It doesn't scale. You can't do system monitoring that way.
How about you do that when it breaks and stops running the first time or two
Already addressed this, TWICE, in my post. Look for 'crond'. The most rock-solid stable and reliable service will crash, on occasion, in ways that do not need nor would benefit from investigation. Across many hundreds of servers running numerous services, this is a daily occurrence.

Moderation

Time Reason Points Voter
2014-10-21 14:38 Informative +1 caseih@pipedot.org
2014-10-20 17:21 Insightful +1 skarjak@pipedot.org

Junk Status

Not marked as junk