Thursday, October 2, 2014


What's really wrong with systemd?



Unless you've been living under a rock or on a park bench during the past two years, you've probably heard of systemd and the numerous issues and controversies involved. You probably also have also heard about some new alternatives.

Now instead of boring you with long lengthy arguments and debatable concepts and anecdotes, I'm going to boil the core problem with systemd down to two simple points:

  • The singular aim of systemd is to get other projects to depend on it.
  • The systemd developers have a track record for not knowing what they're doing, thereby creating very fragile and unwieldy problematic software.
Now if you're looking for proof of these two points, you're free to read through the aforementioned pages I linked to, as well as search online for more. I hope you've enjoyed my summary.

85 comments:

henke37 said...

Aw, but I like "long lengthy arguments and debatable concepts and anecdotes". I guess the links will have to supply those instead.

ava1ar said...

Do you have any issues with systemd? Have you tried it? Or you just posting links to the other people's boring posts about the topic they do not completely understand? Systemd just works and works good - I am using it on 3 different kind of systems, including embedded and have no issues with it at all.

Joe P. said...

ava1ar, your comment highlights perfectly the sheer idiocy of the masses. "It works correctly in my narrow set of ordinary cases, therefore it must be that it works correctly in all cases." Alternately, "It works correctly right now, so it'll probably still work correctly in future releases." Sorry, no, that's not how the world actually works. Unless something has been guaranteed to account for exceptional cases and designed in a way that the amount of complexity won't grow as it's developed, you cannot call it stable.

Engineering 101: The easiest way to ensure that something properly handles all cases now and in the future is to compartmentalize tasks into the smallest unit possible, so that the number of possible cases is limited, can be easily tested, and will limit the damage caused by any error to one small area. Do one thing and do it well.

systemd on the other hand, takes the approach of "do one thing in a mediocre fashion, and then while we're at it, let's do a bunch of other things equally poorly". This concept of "boot system and service manager" is nice in theory, but the way and place where it's implemented (e. g. PID 1, running as root) means that it needs to be assuredly bulletproof. If there's even a single error in this process that causes it to crash, the entire OS will go into kernel panic (this is aside from taking down ALL services). If there's even a single exploitable vulnerability, your system is now subject to a root-level attack. The amount of complexity in systemd's design practically assures that there will be an error somewhere. Even if by some grace of God Himself the current code is 100% flawless, the complexity is almost guaranteed to grow as more things are added. This makes it nearly impossible to fully test.

We've been shown time and time again that the more complex a system is, the more likely it is for things to fall between the cracks. We've been shown time and time again that mission-critical systems with too much complexity lead to terrible vulnerabilities. Look at the past year, look at Heartbleed, look at Shellshock, these things happened because systems were misdesigned in a way that made errors difficult to spot. systemd is no different. How long is it before they announce what will be known as the "systemdeath" bug?

Also, "works well", not "works good". Learn English.

insane coder said...

Hi Joe P.

The real question is "works well" at what exactly?

As I indicated in my first "problem point", its only goal is to get other software to depend on it. The way to gauge that working well is either by sheer amount of projects that depend on it, or percentage of projects that depend on it. Something which the sane among us will hope remains as low as possible, in other words, the less it achieves of its primary goal, the better.

Now if we look at what the sheep are saying it's supposed to accomplish, there's two objectives you hear discussed most:

1) System management:
It's supposed to manage the applications running on your system.

Now there's something we already have that does that, it's called an Operating System - Linux in this case. If the OS is lacking, expand it. If it's not the place of the OS, then the individual applications or system libraries they depend on should be dealing with the issues.

Even if there is a place for "system management" like this, based on the track record of those involved, they're the last people we'd want to be working on such a project.

2) Boot system:
It's supposed to handle system boot up, and a few related issues.

If this is the goal, then for this kind of project, it should be fairly straight forward and rather stable. You should rarely be seeing any kind of updates. Having dozens of people working on it constantly is very disconcerting.

Your concerns along the lines of Heartbleed and Shellshock are very well placed if this is supposed to be the intended goal of systemd.


Returning to my first point, and how this project is viewed by other projects is crucial. If this is supposed to be a new intelligent way for all system daemons to be designed, which is supposedly sane, then it should be standardized by POSIX or similar, and developed in a portable fashion, as it has a broad portable goal.

If this is supposed to be a special new major component of Linux based Operating Systems, then it should be viewed as such. Anything depending upon it should label itself as Linux-only.

You can't have it both ways, either it's Linux only, as is everything depending upon it. Or it has broad applicable everywhere goals, in which case the design should be standardized so it can be implemented everywhere, or the application suite itself should be as portable as possible so it can be used everywhere.

Right now, everything is up in the air. Aside from various propaganda, nothing is clear. Personally, unless the status quo changes, I'd define this as a new kind of virus, and one which is designed to trick inexperienced developers and system maintainers.

smihaila said...

Hi,

Your asprintf() custom implementation may have a small bug: missing a basic validation on the strp arg. If the caller happens to pass NULL for that double char pointer, the line with

else { *strp = 0; }

will cause a 'null pointer dereferencing' situation.

insane coder said...

Hi smihaila,

This is the wrong article to be making this comment.

In regards to your point, checking the non nullness of the pointers passed is deliberate, as pretty much all the C string functions do not do such checks, except for those as part of Annex K. Annex K is viewed by most as mostly ridiculous, because a null check still won't tell you if it's safe to write to, because it could be pointing anywhere.

In this case, it's also more than the failure condition, as the pointers from malloc would be assigned there as well. Proper usage for asprintf() should always follow the idiom of a local char * passed by address to the function.

If for your own needs you agree with the design of Annex K, and want such checks, by all means, add an if around the entire body of the function to do nothing but return -1 on failure, and perhaps set errno to EINVAL.

TechLovrz said...

Status4Everyone
http://gaana.site
Status4Everyone.com

SAP-course said...

SAP training course incorporates "Information by Experiments" procedure to get SAP training and performing continuous practices and ongoing adjustment. This additional conventional practices with live condition involvement in SAP Training confirms that you are prepared to apply your SAP-ERP learning in huge partnerships after the SAP training in Gurgaon finished.

For More Info:- SAP SCM Training Center in Gurgaon

Saad Amir said...

yES, usually its work for me at the time stuck. statuscaptions.com

Siddharth said...

This is very good information I like this blog keep it up

Telegram Porn Channel uk whatsapp group link 2020 indian whatsapp group link 2020

Anonymous said...

python training in bangalore | python online training
aws training in Bangalore | aws online training
artificial intelligence training in bangalore | artificial intelligence online training
machine learning training in bangalore | machine learning online training
data science training in bangalore | data science online training



Hindifly said...

Benificial for Ibps po, Clerk, SBI clerk, PO, RRB PO, Cler and Other Competitive Examination
English Comprehension 2020

Hindifly said...

What is NPA ( Non- Performing Assets )

Hindifly said...

Thanks for shairing this information
Statutory and Regulatory Provisions

sammer mark said...

Thanks for the post.
Get steps for Setup Hp Smart Tank Plus 651 Wireless All in one
Steps to Reset and Configure D-Link Wireless Router

Swari said...

Yes, usually its work for me from few monthss at the time stuck Short Christmas Wishes

Scott Stayris said...

You have shared very valuable information and knowledge that people should recognize. Thanks for sharing this article with us.Quickbooks For mac

Sarah Sadie said...

Good post thanks for share the information.

Pest control services
Rat control london

Anonymous said...

When you setup or connect your HP printer with your PC framework, the extremely essential thing you need is the unaffected HP printer driver to hard with the printing procedure. Like the vast majority of the minimal gadgets or machines, HP printer likewise requires reasonable drivers first to introduce inside your framework so as to perform. Be that as it may, you can without much of a stretch download and introduce printer driver from 먹튀검증

Anonymous said...

When you setup or connect your HP printer with your PC framework, the extremely essential thing you need is the unaffected HP printer driver to hard with the printing procedure. Like the vast majority of the minimal gadgets or machines, HP printer likewise requires reasonable drivers first to introduce inside your framework so as to perform 토토사이트

Anonymous said...

When you setup or connect your HP printer with your PC framework, the extremely essential thing you need is the unaffected HP printer driver to hard with the printing procedure. Like the vast majority of the minimal gadgets or machines, HP printer likewise requires reasonable drivers first to 안전놀이터

Anonymous said...

HP printer with your PC framework, the extremely essential thing you need is the unaffected HP printer driver to hard with the printing procedure. Like the vast majority of the minimal gadgets or machines, HP printer likewise requires reasonable drivers first to 스포츠사이트

Anonymous said...

When you setup or connect your HP printer with your PC framework, the extremely essential thing you need is the unaffected HP printer driver to hard with the printing procedure. Like the vast majority of the minimal gadgets or machines, HP printer likewise requires reasonable drivers first to introduce inside your framework so as to perform 토토사이트

Anonymous said...

I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site 먹튀검증

Anonymous said...

I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. 파워볼사이트

Anonymous said...

This is a very good site! great content, and thanks for sharing! 안전놀이터

Anonymous said...

I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. nba중계

Anonymous said...

I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. 온라인카지노

Anonymous said...

This is a very good site! great content, and thanks for sharing! 먹튀검증

oncaday said...


Just want to say your article is as astounding. The clearness in your post
is simply excellent and i can assume you’re an expert on this subject.
Fine with your permission let me to grab your feed to keep up to date with forthcoming post.

바카라사이트


(IVY)

unknown said...

That's a really impressive new idea! 메이저토토사이트추천 It touched me a lot. I would love to hear your opinion on my site. Please come to the site I run once and leave a comment. Thank you.


UnKnown said...

What a post I've been looking for! I'm very happy to finally read this post. 토토사이트 Thank you very much. Can I refer to your post on my website? Your post touched me a lot and helped me a lot. If you have any questions, please visit my site and read what kind of posts I am posting. I am sure it will be interesting.

MBBS in Philippines said...

Wisdom Overseasis authorized India's Exclusive Partner of Southwestern University PHINMA, the Philippines established its strong trust in the minds of all the Indian medical aspirants and their parents. Under the excellent leadership of the founder Director Mr. Thummala Ravikanth, Wisdom meritoriously won the hearts of thousands of future doctors and was praised as the “Top Medical Career Growth Specialists" among Overseas Medical Education Consultants in India.

Southwestern University PHINMAglobally recognized university in Cebu City, the Philippines facilitating educational service from 1946. With the sole aim of serving the world by providing an accessible, affordable, and high-quality education to all the local and foreign students. SWU PHINMA is undergoing continuous changes and shaping itself as the best leader with major improvements in academics, technology, and infrastructure also in improving the quality of student life.

Elesia said...

Here we gives you opportunity to show T20 World Cup 2021 Live Streaming

unknow said...

It's excellent. You will certainly really feel that your writing is unbelievable even if you consider it. I mored than happy to see your writing and also my sensations are still remaining. I wish you will certainly be impressed much like me when you see my writing. Would certainly you such as ahead and also see my blog post? click through the up coming website

luckybet964 said...

This really is such a awesome write-up. I’ve been looking for this information for quite a while now and then finally stumbled upon your internet site. Thanks so much for posting this, this has helped me out tremendously. By the way I love the style of the blog, looks good, did you create it all by yourself?



토토
스포츠토토

luckybet964 said...

Education is the key to every kind of success, and therefore seeing that students in doctorate of philosophy are increasing it clearly shows that people have indeed put much more effort in studying.


토토사이트
토토

luckybet964 said...

Hi Dear, are you actually visiting this website daily, if so after that you will without doubt take fastidious knowledge.


온라인카지노
카지노

luckybet964 said...

Terrific work! This is the type of info that are meant to
be shared across the web. Shame on Google for not
positioning this publish higher! Come on over and talk over with my site .



카지노사이트
바카라사이트

Easy Loan Mart said...

Hi.....
The real anger against systemd is that it's inflexible by design because it wants to combat fragmentation, it wants to exist in the same way everywhere to do that. ... The truth of the matter is that it barely changes anything because systemd has only been adopted by systems who never catered to those people anyway.
You are also read more Instant Loan Online

NT said...

I've been looking for photos and articles on this topic over the past few days due to a school assignment, 우리카지노 and I'm really happy to find a post with the material I was looking for! I bookmark and will come often! Thanks :D


Chirs Marc said...

To check the free programs Click here

yadongbizz said...

Very good blog post about plastering a one bed flat. I am very happy to see this post and interested to find another good post in coming days. Thanks for it 한국야동닷컴

Please visit once. I leave my blog address below
국산야동
한국야동닷컴

Unknown said...

How Do 스포츠중계 Make Money?

Anonymous said...

Why is there so much good information? l keep that in mind. 메이저사이트

Anonymous said...

I ve known about this place for a while and I ve been visiting. There are still only good words and they are helpful. 먹튀검증업체

Anonymous said...

I appreciate your information in this article. It’s smart, well-written and easy to understand. You have my attention on this subject. I will be back 토토

Anonymous said...

It’s really a great and helpful piece of info. I’m glad that you shared this helpful info with us. Please keep us up to date like this. 안전사이트

Captions said...

We really like what is wrong with your system. And we've learned a lot. Which we did not know before. We're really glad we got it right. Thank you very much

m̶g̶m̶카̶지̶노̶ said...

I love seeing blog that understand the value of providing a quality..




토토
프로토
안전놀이터

m̶g̶m̶카̶지̶노̶ said...


스포츠중계
스포츠토토티비
토토사이트

Hey There. I found your blog using msn. This is an extremely well written article.I will be sure to bookmark it and return to read more of your useful information. Thanks for the post

m̶g̶m̶카̶지̶노̶ said...

토토
배트맨토토
먹튀검증

Appreciate this post. Let me try it out.Feel free to visit my site

Bella Swan said...

Hi....
Most arguments against systemd are that it suffers from mission creep and bloat. Subsequent criticism also affects other software (such as the GNOME desktop) adding dependencies on systemd—complicating compatibility with other Unix-like operating systems, and making it hard to move away from systemd.
You are also read more Derivatives Trading Crypto

Unknown said...

Thanks for sharing with us this important Content. I feel strongly about it and really enjoyed learning more about this topic.
토토사이트웹

solococo daudomau said...

It has a good meaning. If you always live positively, someday good things will happen. 메이저사이트Let's believe in the power of positivity. Have a nice day.


badugisitenet said...

Wonderful website. I got a lot of good information here.바둑이사이트넷

keonhacai said...

oncainven

slotmachine777.site said...

I bookmarked it to my bookmark website list and will be checking back soon. 슬롯머신777사이트

texasholdemsite.info said...

Hard to ignore such an amazing article like this. 텍사스홀덤

casinosite24.com said...

This is really helpful post and very informative there is no doubt about it. 카지노사이트

baccaratsite.top said...

Thanks for such a valuable post. I am waiting for your next post, I have enjoyed a lot reading this post keep it up. 바카라사이트

casinositezone.com said...

Appreciate the effort and information you have given in writing this article . 안전카지노사이트

baccaratsite.biz said...

You must continue your writing. I’m sure, you’ve a huge readers’ base already! want to learn more?카지노사이트

Anitya said...

Janam TV live

Zugurwan said...

Legend of Hou Yi hero

As for the story of Legend of Hou Yi, the game's creators have taken the story of the legendary Chinese archer named "Hou Yi" and created an interesting slot game. pgslot เว็บตรง

slot gacor said...

The failure of judi online is obtained through the Cambodian server which increases wins, this high chance of winning has a very big impact because it has been clearly proven.

animasi said...

Disney is the best film and animation company in the world. there are thousands of types of films and animations produced by disney one of which is aniamsi remy from ratatouille

Bokep di bawah said...

the various games offered by slot88 one of which is a game that offers bigger wins and bonuses, which are very profitable when playing slot online,

mizasalsa said...

Our site is a well-known online gambling stall that offers you the best online gambling games from well-known providers who will bring you to the top of victory slot online terpercaya

slot gacor said...

Play online gambling by looking for the highest RTP slot, then make a deposit at Slot88 so that you are sure of your victory, so play the slot now and get the win slot777

situs gacor said...

site akun pro kamboja is the best online bookie in Indonesia will bring you to the peak of victory in playing online slot games will give you big profits in playing online slot games

gacor maxwin said...

Play mix parlay which is very exciting in the sportsbook ball game because you can play with a relaxed feeling here. Win or lose, you are paid, the more teams you lose and your wins, the more your winning pulses. situs slot mudah menang

situs gacor said...

Online gambling games have become one of the most interesting games in the world. click https://akdizayn.net and join our site which has the highest winrate giving you big advantages in playing online gambling games

jane robert said...

Your writing is exceptional, and I believe you already have a substantial readership. I strongly encourage you to continue writing and sharing your knowledge with the world. I am personally eager to learn more from you
Separation Agreement in Virginia

botolminum said...

The most reliable gaco slot game already comes with a very attractive winning license and gives crazy wins with a very high winning percentage slot online

casinositewiki 카지노사이트 said...

I really appreciate all the hard work you put into this great site

casinositetop 카지노사이트 said...

Pay a quick visit this website, it includes valuable Information here. Goodluck!

casinositeking 카지노사이트 said...

Great initiative taken as it makes researchers explore new ideas, thanks this blog.!

Janda PRofesional Main Slot 777 said...

the chance to win is big at this time, because the Cambodian server really really raises the dutunk level of embarrassment, let's play right now on the gacor dewa gacir site raja slot 777

gostopsite 고스톱사이트 said...

This is my first time i visit here.

19guide03 19가이드03 said...

So wonderful to discover somebody with some original thoughts on this topic.

sportstotozone 스포츠토토존 said...

Nice and informative post. I have subscribed to your posts and feed.

Alghubaiba said...

someone who has been following the financial markets for quite some time now, I must say that having the right platform for traders can make a world of difference. Whether you're a seasoned trader or just starting out, having a platform that is easy to use, reliable, and offers a wide range of tools and features can really help you stay ahead of the curve.

Alghubaiba said...

Transforming your backyard into a beautiful and functional oasis has never been easier with Lowes Fence Installation. I can confidently say that investing in a quality fence not only adds privacy and security but also enhances the overall aesthetic appeal of your outdoor space.

CMOLDS Mobile App Development Company in Dubai said...

Discover unparalleled expertise in app development with CMOLDS, home to the industry's top app development companies. From innovative design to seamless functionality, trust us to bring your vision to life with precision and creativity.