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.

SystemE: A lightweight systemd replacement written in Emacs Lisp

162 pointsby jjwisemanover 5 years ago

17 comments

spudlyoover 5 years ago
I think this is really cool, but calling it a &quot;systemd replacement&quot; feels like click bait to me.<p>Systemd manages a huge number of things, and this doesn&#x27;t even reap zombies, which all good init programs do. It doesn&#x27;t support run levels, it doesn&#x27;t support &quot;resapwn&quot; (for getty processes) -- hell feature-wise this isn&#x27;t even a legit replacement for SysV init.<p>Having said that, I think this is a neat idea, and it&#x27;d be cool to have an emacs server process as a true pid 1 init, and when you SSH or go to the virtual terminals you&#x27;d get an &quot;emacsclient&quot;.
评论 #22123605 未加载
评论 #22126373 未加载
todd8over 5 years ago
Interesting. This runs on KISS Linux. <a href="https:&#x2F;&#x2F;getkiss.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getkiss.org&#x2F;</a><p>Linux has become so versatile and powerful, but I miss the days of simple OS’s. I used to be a Unix OS architect and would study kernel code professionally while working on virtual memory systems, distributed file systems, and so forth. Linux has gotten so big now that I don’t think I’d have the energy to dive into the kernel code anymore.<p>The KISS Linux distro looks interesting because of it’s extreme focus on simplicity.
评论 #22123336 未加载
评论 #22126745 未加载
评论 #22124051 未加载
评论 #22122552 未加载
评论 #22125849 未加载
评论 #22123726 未加载
m463over 5 years ago
So here&#x27;s this new kid, systemd, mindlessly gobbling os functionality and annoying the elders with binary log files.<p>And then the sleeping giants wake, Lisp and Emacs.<p>62-year old Lisp, based on Lambda calculus from 80-90 years ago, pretty much pioneered much of computer science.<p>And 44-year old emacs and 35-year old elisp, they pioneered subsuming.<p>I mean, there&#x27;s a church of emacs.<p><a href="https:&#x2F;&#x2F;upload.wikimedia.org&#x2F;wikipedia&#x2F;commons&#x2F;b&#x2F;bf&#x2F;Richard_Stallman_-_Preliminares_2013.jpg" rel="nofollow">https:&#x2F;&#x2F;upload.wikimedia.org&#x2F;wikipedia&#x2F;commons&#x2F;b&#x2F;bf&#x2F;Richard_...</a><p>by the way, emacs has already been used as init:<p><a href="http:&#x2F;&#x2F;www.informatimago.com&#x2F;linux&#x2F;emacs-on-user-mode-linux.html" rel="nofollow">http:&#x2F;&#x2F;www.informatimago.com&#x2F;linux&#x2F;emacs-on-user-mode-linux....</a>
评论 #22125150 未加载
评论 #22125151 未加载
评论 #22126944 未加载
chabad360over 5 years ago
As interesting as this is, SystemD replacement seems to be the wrong term, as it doesn&#x27;t seem to support SystemD service, target, etc. files.<p>Maybe a better term might be &quot;Init System&quot;...
评论 #22124759 未加载
评论 #22126409 未加载
gumbyover 5 years ago
On the old fsf machine* I used Emacs as my login shell (in &#x2F;etc&#x2F;passwd), but this takes it to a whole new level. Outstanding!<p>* yes there was a time when the fsf’s only computer was a fax 750 (“soon to be running gnu”)
评论 #22124515 未加载
kbumsikover 5 years ago
I&#x27;m curious if it is actually more &quot;lightweight&quot; than Systemd in terms of memory consumption or CPU load, especially it depends on emacs PID2. Less lines of code does not always means lightweight.
steve1977over 5 years ago
When something written in Emacs Lips is the lightweight alternative... we&#x27;re living in marvelous times indeed...
评论 #22125976 未加载
评论 #22128877 未加载
评论 #22125892 未加载
评论 #22125960 未加载
themckmanover 5 years ago
If you’re looking for a service manager written in a lisp, there’s always GNU Shepherd. Written in and configured with Guile scheme.
Koshkinover 5 years ago
See also <a href="http:&#x2F;&#x2F;www.informatimago.com&#x2F;linux&#x2F;emacs-on-user-mode-linux.html" rel="nofollow">http:&#x2F;&#x2F;www.informatimago.com&#x2F;linux&#x2F;emacs-on-user-mode-linux....</a>
dredmorbiusover 5 years ago
Zawinski&#x27;s Law, updated: All software attemps to expand until it can replace systemd.
idoubtitover 5 years ago
I now expect a few features from anything that aims at replacing my init and service manager. Beyond booting the system, I want to manage daemons:<p>* ease of use: I don&#x27;t want to deal with background&#x2F;foreground processes, storing PID in files and hacks like the old start-stop-daemon.sh.<p>* reliable services: if it stops, restart it automatically. But stop hammering if it fails repeatedly.<p>* sandboxing: this service must have no access to the network nor to &#x2F;home, etc.<p>This &quot;lightweight replacement&quot; does not have this small subset of features, so it&#x27;s more an alternative init than a replacement of systemd.
JdeBPover 5 years ago
&quot;emacs is a great operating system lacking only a decent text editor&quot;, goes the old joke. It&#x27;s amusing that people are doing this. I wonder what text editor M. Schaefers will end up using. (-:
bilekasover 5 years ago
This is pretty interesting but sketchy..<p>Also.. Lets be cautious about getting Emacs reapable.. Do we really want to witness hoard of abominations (nice things too ofc) that would surface! :D
Aardwolfover 5 years ago
Lightweight, but written in EMACS aka &quot;Eats Memory And CPU Superbly&quot;?<p>Just kidding, I know EMACS is lightweight for todays standards, at least compared to electron apps :)
评论 #22127442 未加载
whalesaladover 5 years ago
Pretty soon you&#x27;ll be able to set your init process to just be emacs.
ngcc_hkover 5 years ago
As it is based on kiss, no pi 4 ver I guess?
lilyballover 5 years ago
This is fascinating, but I just have to ask <i>why</i>?
评论 #22123178 未加载
评论 #22125432 未加载
评论 #22123362 未加载