systemd
外观

![]() | |
原作者 | Lennart Poettering |
---|---|
開發者 | Lennart Poettering等 |
首次发布 | 2010年4月30日 |
当前版本 | 216(2014年8月19日 | )
源代码库 | |
编程语言 | C[1] |
操作系统 | Linux |
文件大小 | ~2.8 MB |
类型 | init程序 |
许可协议 | GNU LGPL 2.1+ (自由软件)[2] |
网站 | freedesktop.org上的项目主页 |


systemd是Linux下的一种init软件,由Lennart Poettering带头开发,并在LGPL 2.1及其后续版本许可证下开源发布[2][3]。其开发目标是提供更优秀的框架以表示系统服务间的依赖关系,并依此实现系统初始化时服务的并行启动,同时达到降低Shell的系统开销的效果,最终代替现在常用的System V与BSD风格init程序。
起源
systemd这一名字源于Unix中的一个惯例:在Unix中常以“d”作为系统守护进程(英語:daemon,亦称后台进程)的后缀标识。除此以外,systemd亦是借代英文术语D体系,而这一术语即是用于描述一个人具有快速地适应环境并解决困难的能力[4]。
设计
与多数发行版使用的System V风格init相比,systemd采用了以下新技术:
从设计构思上说,由于systemd使用了cgroup与fanotify等组件以实现其特性,所以只适用于Linux[5]。有鉴于此,考虑到kFreeBSD分支的软件源无法纳入systemd,为与其他分支保持一致,Debian开发者尽力避免纳入systemd[6]。但Lennart Poettering本人对此并不在意,并称「Debian GNU/kFreeBSD不过是玩具系统」[7]。
应用
systemd已纳入众多Linux发行版的软件源中,以下简表:
- 默认init程序为systemd的发行版
- Arch Linux在2012年10月13日将systemd-sysvcompat纳入base软件组,自此Arch Linux默認安裝完即以systemd為init程序[13],同时也提供了与Arch自带启动脚本兼容用的systemd启动脚本包以方便用户,使用户能“开箱即用”[14]
- Chakra GNU/Linux,在2012.10的光碟映像檔發佈後預設使用systemd。[15]
- 可以使用systemd的发行版
- Debian GNU/Linux,于“testing”分支源中提供[16],並在2014年的技術委員會的init系統投票中決定在Debian 8 “Jessie”中將以Linux為核心的版本轉換到systemd[17] 。
除此以外,systemd已由Lennart Poettering提请纳入GNOME 3.2的外部依赖关系列表[21],而这意味着所有使用GNOME的发行版都应该使用systemd,最低限度来说也必须将其作为配置选项之一。
参见
参考资料
- ^ systemd, Analysis Summary (Ohloh), [2011-06-16]
- ^ 2.0 2.1 Lennart Poettering, systemd Status Update, 2012-04-21 [2012-04-28]
- ^ Lennart Poettering, FAQs, systemd (0pointer), [2011-06-16]
- ^ Lennart Poettering, Kay Sievers, Thorsten Leemhuis, Control Centre: The systemd Linux init system, 2012-05-08
- ^ Lennart Poettering, systemd FAQ, 2010-04-30 [2011-12-14]
- ^ Jake Edge, Debian debates systemd, 2011-07-27 [2011-12-14]
- ^ Un entretien avec Lennart Poettering), 2011-07-05 [2011-12-14]
- ^ Dj Walker-Morgan, Fedora 15's Lovelock released, The H, 2011-05-24 [2011-05-26]
- ^ Jake Edge, systemd and Fedora 14, LWN, 2010-08-25 [2011-02-03]
- ^ Fabian Scherschel, Mageia 2 arrives with GNOME 3 and systemd, The H, 2012-05-23 [2012-05-26]
- ^ Dj Walker-Morgan, Mandriva 2011 arrives with systemd, The H, 2011-08-29 [2011-08-29]
- ^ Chris von Eitzen, openSUSE 12.1 arrives with systemd and Btrfs, The H, 2011-11-16 [2011-11-16]
- ^ Bächler, Thomas. systemd is now the default on new installations. Arch Linux Official. [2012-10-16].
- ^ systemd, Archlinux Wiki, [2011-03-09]
- ^ Full switch to Systemd with Claire-2012.10 ISO released today, [2012-10-28]
- ^ systemd, Debian wiki, [2011-07-21]
- ^ Bdale Garbee. The Debian technical committee vote concludes. LWN.net. [2014-02-12].
- ^ Comment #210, systemd – bug #318365 (Gentoo's Bugzilla), [2011-07-05]
- ^ systemd, Gentoo's Documentation, [2011-07-05]
- ^ systemd, Gentoo wiki, [2012-08-26]
- ^ Lennart Poettering, systemd as an external dependency, desktop-devel mailing list (GNOME), 2011-05-18 [2011-05-26]
注释
外部链接
- 官方网站
- systemd, 0pointer
- systemd project, Fedora
- The road forward for systemd, LWN
- cgit, freedesktop