TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Systemd 254 released, deprecating sysvinit scripts

44 pointsby abstractbeliefsalmost 2 years ago

13 comments

supriyo-biswasalmost 2 years ago
I simply don&#x27;t get the outrage&#x2F;criticism against this part of systemd. Instead of having to play around with `start-stop-daemon` and whatnot, a simple service is just these days:<p>```<p>[Unit]<p>Description=my app<p>[Service]<p>Restart=on-failure<p>User=webservices<p>Group=webservices<p>ExecStart=&#x2F;usr&#x2F;local&#x2F;bin&#x2F;my-web-service<p>[Install]<p>WantedBy=multi-user.target<p>```<p>It couldn&#x27;t really be any simpler.<p>There&#x27;s also <a href="https:&#x2F;&#x2F;github.com&#x2F;gdraheim&#x2F;docker-systemctl-replacement#">https:&#x2F;&#x2F;github.com&#x2F;gdraheim&#x2F;docker-systemctl-replacement#</a> for anyone who needs a &quot;lighter&quot; alternative for tests in Docker.
评论 #36908373 未加载
评论 #36917962 未加载
评论 #36908276 未加载
评论 #36908357 未加载
bananapubalmost 2 years ago
discussions like this are good reminders of how low quality most HN threads are. a huge mass of random whinging about the people involved, non-technical whinging about imagined architecture decisions (like &quot;systemd is a monolith&quot;) and then conspiracies about Microsoft like it&#x27;s a slashdot thread in 1998.<p>notably missing:<p>- discussions about how fucking shit PID files and things like start-stop-daemon are or how annoying it was writing a sh script for every daemon, or how in sysvinit things can become un-shut-downable<p>- discussion about how making containerisation&#x2F;chroot&#x2F;resource limits trivial is good actually<p>- reflections on how hard making a reliable good init system is, cf upstart&#x2F;launchd&#x2F;whatever solaris had and how nice it is that someone actually did it for linux<p>etc etc
评论 #36910419 未加载
评论 #36909068 未加载
cpachalmost 2 years ago
I think systemd is quite good.<p>For those who doesn’t like it: There are other service managers out there. IMHO the most sophisticated alternative is s6-rc.<p>It runs on both Linux and *BSD.<p><a href="https:&#x2F;&#x2F;skarnet.org&#x2F;software&#x2F;s6-rc&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;skarnet.org&#x2F;software&#x2F;s6-rc&#x2F;</a>
throwawa14223almost 2 years ago
Instead of complaining just drop anything that contains Systemd. I did and my frustration with IT related tasks has gone way down.
评论 #36908343 未加载
评论 #36908155 未加载
评论 #36908114 未加载
评论 #36908102 未加载
评论 #36908190 未加载
评论 #36908141 未加载
评论 #36908246 未加载
评论 #36908112 未加载
评论 #36917708 未加载
javajoshalmost 2 years ago
Can we all just take a moment to laugh at the fact that all of this complexity is, roughly speaking, the evolution of <i>AUTOEXEC.BAT</i>?<p>(Pedants: I know <i>AUTOEXEC.BAT</i> not a direct ancestor of systemd, but it&#x27;s a close cousin and serves the same purpose: run stuff when you boot.)
评论 #36908253 未加载
评论 #36910312 未加载
评论 #36908221 未加载
评论 #36909937 未加载
评论 #36909428 未加载
Arnavionalmost 2 years ago
Previous discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36513889">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36513889</a>
CogitoCogitoalmost 2 years ago
General question: what do most people here dislike about systemd now? Binary logs? Logind? I mean this out of general curiosity. I’ve used systemd a fair amount and I don’t really fight it, but I’m not in love with it or anything.
评论 #36908436 未加载
评论 #36908418 未加载
评论 #36914821 未加载
评论 #36910700 未加载
_jalalmost 2 years ago
Personally I&#x27;m much more annoyed by taking control of how I partition my fucking drives.<p>Yes, I know why. IBMHat makes me like FreeBSD more with every power grab.
评论 #36908339 未加载
photonbeamalmost 2 years ago
Is there a good systemd book to learn it all?
评论 #36908366 未加载
评论 #36908433 未加载
pwdisswordfishcalmost 2 years ago
What is it exactly that is being deprecated here? systemd-sysv-generator? If the unit generator interface is stable, what&#x27;s to stop downstream distributions from keeping using it regardless?
评论 #36910816 未加载
评论 #36909442 未加载
genmudalmost 2 years ago
Oh goodie, another way for shit to break and force maintainers to write systemd only service scripts.
评论 #36907893 未加载
评论 #36907958 未加载
评论 #36907924 未加载
评论 #36908412 未加载
throw7almost 2 years ago
Embrace, Extend, Extinguish.
评论 #36908285 未加载
评论 #36909389 未加载
j16sdizalmost 2 years ago
told you.<p>Just like pulsed, he won&#x27;t stop until every existing, non-default config breaks. Just like pipewire, he will start a &quot;better&quot; alternative and restart the stuff breaking cycle
评论 #36908287 未加载
评论 #36908074 未加载
评论 #36908453 未加载