未加星标

Systemd should be better than it is, but it is still our best init system

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

It all started on Twitter:

@hirojin : unpopular opinion: systemd is the epitome of worse is better, and as such fits right into the unix philosophy.

@thatcks : Systemd has turned into the X windows of init systems.

Some people will see my tweet as a slam on systemd, which is fair, because it is. Some people will see it as sort of praise for systemd, which is also fair, because it is that too.Just like X, systemd is a good illustration of Rob Pike 's famous quote that "sometimes when you fill a vacuum, it still sucks".

Systemd didn't quite fill a vacuum, but then neither did X. Much like the aphorism that democracy is the worst form of government except for all the other forms, systemd is increasingly not particularly appealing while still being the best overall linux init system that we have. Systemd still gets plenty of things right that other init systems mostly don't , and it's improved in some of those areas since 2012, when I wrote that entry. But at the same time systemd has increasingly picked up bad habits andgotten flabby, among other issues (eg), and it always had an air of brute force 'we will get this done somehow' about it.

Like X, systemd is not elegant (or Unixy) and it has flaws, and time is magnifying those flaws. But also like X, systemd works and beats the currently available alternatives. I wish systemd was better than it is, but for all its issues and irritations I don't particularly want to go back to upstart or to System V init (or Solaris's SMF). I could, of course; I ran servers with both for years, and they worked okay. But systemd is generally nicer than they are. Even the systemd journal can be cool and useful periodically.

I care more about systemd's warts than I do about X's, but that's because as a sysadmin I work with systemd a lot more than I write X programs ( I actually did write one once ) or wrestle with window manager issues or the like.

As a corollary of this, I agree with @hirojin that systemd is a 'worse is better' system. I don't think that it fits into the Unix philosophy in one sense, but that's using the appealing and idealized version of the Unix philosophy. Systemd certainly fits into the philosophy of Unix that you can see exposed through its history in things like various of BSD Unix's changes, the kernel internals of V7 Unix, and so on, by which I mean that a great deal of Unix's history actually involves a bunch of pragmatism, getting things done, and brute force.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: LinuxWindowsTwitter
tags: systemd,Unix,init,like,but,than,Systemd
分页:12
转载请注明
本文标题:Systemd should be better than it is, but it is still our best init system
本站链接:http://www.codesec.net/view/529978.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(75)