GSOC Project Works To Emulate Systemd For OpenBSD
An anonymous reader writes Through a Google Summer of Code project this year was work to emulate systemd on OpenBSD. Upstream systemd remains uninterested in supporting non-Linux platforms so a student developer has taken to implementing the APIs of important systemd components so that they translate into native systemd calls. The work achieved this summer was developing replacements for the systemd-hostnamed, systemd-localed, systemd-timedated, and systemd-logind utilities. The hope is to allow for systemd-dependent components like more recent versions of GNOME to now run on OpenBSD.
... there goes that refuge then ;)
Frankly I don't see much in the new Gnome that makes it worth bringing to any platform. I just wish the same effort being put into making broken UI concepts work on various gnu projects was put into GNUstep and GNU projects.
I would have expected that BSD would be deliriously happy that the evil gaze of Poettering hadn't alighted upon their operating system. Why would you voluntarily infest your system with his daemon spawn?
Why in God's name would you want to infect well designed OSs with Systemd ?
That's unbelievably stupid.
OpenBSD truly adheres to "KISS", especially regarding simple configuration files. Exactly of what systemd isn't. It may have (and I'm still not convinced) nice features, but for my uses what is presently being used suffices, both on Linux and especially on OpenBSD.
Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
ntp is where I draw the line in the sand.
I can put up with a lot, I've been putting up with NetworkManager already.
But replacing ntpd because NIH? Fuck that fuck them fuck all of this.
This needs to end. And this needs to end now.
Full props to the kid working on this though, the world can always use more duct tape even if we shouldn't build bridges out of the stuff.
Why the hell is a GUI system dependent on a low level system control daemon?
and rc.d it's so simple. I'm still struggling to understand why systemd is required - what problem it is actually solving. Am I missing something?
My ism, it's full of beliefs.
``Through a Google Summer of Code project this year was work to emulate systemd on OpenBSD.''
What?
``so a student developer has taken to implementing the APIs of important systemd components so that they translate into native systemd calls.''
What?
``systemd-hostnamed, systemd-localed, systemd-timedated, and systemd-logind utilities''
The `d' at the end of each of those stands for `utilities'?
Seriously, please do some editing before posing.
If BSD's emulation of those Linux systemd APIs is done in a reasonably portable manner, we could then backport the code over to Linux and gain the benefits without being dependent for those functions on the engineering disaster that Lennart has put into process slot 1.
The BSD folks aren't succumbing to systemd's problematic "kitchen sink in slot 1" approach, so their work could be valuable for those Linux distros that are fighting to keep systemd out of their hair.
Apart from all the useful stuff that one can do, why waste your time on this?
I gues this Poettring lad is aiming for the total world domination eh?
Maybe I should post a project next year to kill this systemd crap, donations are welcome :)
because Desktop Environments DO interact with the lower systems.
They need access to the DRM and input device, they need access to things like reboot/shutdown/hibernate.
If I understand it correctly one goal of logind is to run the X-server and the Desktop Environment without root, so they cannot do this directly... they use the logind API for it.
It was probably, intellectually, an interesting and challenging project. But that guy has just wasted his summer - and his code - building something no one actually wants. Have a look here - http://pipedot.org/story/2014-... where there's reporting about a growing systemd boycott taking place.
People don't like or want systemd and are increasingly organizing to avoid it. Non systemd distros - gentoo, slackware - plus FreeBSD, where I'll be migrating my home computer tonight after work - are starting to look pretty darned good to people again.
It's true there is a need for something more dynamic and responsive than the old init script system, but systemd is not it.
If this were Usenet, I'd killfile the lot of you.
...trying to sell Microsoft on systemd than trying to sell Theo DeRaadt on systemd. And that's before you take licensing issues into account. :p
Mebbe this will motivate some distro to do a similar; I, for one, would go for a distro without systemd nor Gnome, which I never use. Gnome is expendible. For those who like Gnome, why not do it this way?
On the one hand, it sounds like a cool project.
On the other hand, if they don't port it, they'll get the benefit of having neither Gnome 3 nor Systemd on BSD.
... doesn't mean you should.
Wait, who actually needs to do those things?
And if the services do not depend on systemd, why are they part of the package?
Sounds like a made-up scenario and some bad packaging. Not a real-world need.
Certainly fits the systemd reputation for taking over already-solved problems without any reason, though.
As long as you have widely supported, stable, widely available tools for reading them-- who cares?
The answer to that question depends on what tool you would consider using to troubleshoot the "widely supported, stable, widely available tools for reading them".
I'll just add to the other person's good reply that many of us are concerned not with maintaining Unix philosophy, but with maintaining the reliability that makes Unix such a good workhorse. That reliability stems directly from the lack of bugs, lack of change, lack of dependencies, and lack of large attack surface in the traditionally tiny init process that lives in process 1. (All the change happens elsewhere.)
For decades it has been the case that almost anything in a Unix system can die and can be restarted without the whole kaboodle collapsing, as long as the fault doesn't involve process 1. And because init has been so tiny and simple and unchanging, process 1 has been absolutely rock stable. All Unix-type operating systems have benefited enormously from this.
Systemd turns all that on its head and puts the kitchen sink in slot 1, a kitchen sink that is continuously undergoing change because so many complex subsystems have been built into it. It's not possible for it to reach stability even in principle, because the code for its complex functionality will necessarily have to evolve to keep abreast of security issues as well as the inevitable feature creep. There's no getting away from it.
And there's no getting away from the fact that large code size means bugs, and evolving code means unstable process 1, and unstable process 1 means unstable system. And as if that weren't enough, large complex code also means large attack surface. These are completely normal engineering considerations and tradeoffs that affect all systems, and systemd has lost sight of them.
In summary, among many of us with engineering backgrounds, the systemd debate is not about features nor boot speed nor certain developer's personalities, nor is it about Unix philosphy. It is however about preserving the key engineering element that gives Unix operating systems their high reliability, namely a KISS process 1. It's engineering vandalism to do otherwise.
Couldn't they use their time more effectively making sure Windows viruses run on non-Windows platforms? At least someone, the virus writer, gets benefit from that.
Implementing systemd APIs on OpenBSD benefits no one. Go back to sysvinit or openrc. I switched to Gentoo Linux, where I had a CHOICE to use openrc instead of systemd, and am very happy with it.
Xenix is still remains unpolluted. SUCK IT, heathens!
What possible good can come from this? What can it do that init.d cannot? Another example of "can" rather than "should".
All you need to read is here: http://boycottsystemd.org
Better use OS X than linux with these sh*t(pulseaudio and now systemd), or for the ones feeling adventurous go the *BSD way...
Is it April first? Theo will NEVER allow that monstrosity in. ROFLMAO
"Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
Upstream systemd remains uninterested in supporting non-Linux
BSDs are surfs to be exploited and stolen from then left to pick from our scraps
Could systemD be run as something else than pid 1?
It seems it has some nice process tracking features which could be used even if we do not uproot simple and reliable script-based boot process (at least on servers).
b.
Hmmm, it sounds like what's needed is a daemon that queries location from a GPS system as well as time, and automatically adjusts timezone and whatever (would you want it to change language? Seems like that's more of a user thing, and something you only change when you change users). Of course, it would require the system be hooked up to a GPS system, otherwise do things the old-fashioned manual way. There could be an app that puts up a map where you click on the location I suppose, instead of fiddling with configuration files.
I'm an old time unix user (going back to 4.2 BSD days). I like the idea of text configuration files for everything. But I wouldn't mind a front end app that was easier to use than constantly having to look at man pages on the formats of everything. A sort of IDE for all the text based config files the way an IDE is a helper for the text code files of a programming language. (But NOT a binary that bypasses the text configs! Which is what systemd seems to be doing, if I've been reading this right.)
In theory, theory and practice are the same; in practice they're different. (Yogi Berra & A. Einstein)
megabytes and kilobytes by comparison.
Crashed it quite often for me back in the late '90s/early '00s, but other than that, it's been pretty solid.
A sort of IDE for all the text based config files the way an IDE is a helper for the text code files of a programming language. (But NOT a binary that bypasses the text configs! Which is what systemd seems to be doing, if I've been reading this right.)
But you use a binary, even now to view the text files. Whether you us cat or less or vi or some other editor/viewer, human beings cannot read text files from a log without having to use a binary. That is because what we call text files are merely representational of a text file. Like a binary, though, they are just zeros and ones until some program interprets them for us.
Why is systemd bad?
The issues posed by adopting systemd to various distros are listed on the site: Boycott systemd.
Spread it around so people know ...
Mod this up!
2bits.com, Inc: Drupal, WordPress, and LAMP performance tuning.
It is amazing when I read all the crap that the systemd proponents claim is so wonderful about this software. This replacement for init.d has not only caused major disruptions in the re-write of Linux distributions, it is causing major head aches for system administrators and professionals. Init.d is elegant and simple. You can tell exactly when programs will start up or start. Everything is controlled by bash shell scripts. The directory /etc/init.d had a very simple way of launching and controlling deamons and background tasks. Actually, the quality of the scripts and how /etc/init.d was designed and laid out was the main factor in my decisions as to which Distro I would choose. Indeed, one reason I never pursued BSD as a distro of my choice is the lack of /etc/inittab and init.d. (although I've used it and ported it from scratch to hardware lacking unix). I prefer the systemV way. /etc/systemd which contains odd cofiguration files.
Systemd is just simply goofy! First
[Manager] ... etc.. etc 40+ more lines.
#LogLevel=info
#LogTarget=journal-or-kmsg
#CapabilityBoundingSet=
#DefaultStartLimitInterval=10s
What my complaint is, it's not at all clear what these parameters are for or what executable they will impact! In my distros I do not like secrets! user.conf, again it's not clear what it for, what executable it's modifying or how it impacts the system. In the case of user.conf it does get pulled in when the binary /usr/lib/systemd --user is run. Logind.conf is a real piece of work. Instead of spawning a /etc/getty this conf file controls how to turn on and off autoVTs.
Ok, but where are all the init.d scripts. Well they are still some for backward compatibility, but what makes systemd the total crap that it is is located in /usr/lib/systemd (why /usr/lib? What systemd controls the mounting of /usr/lib when the system is booting? Answer, that's in /lib/systemd! they are duplicates) So what's in /lib/systemd, /usr/lib/systemd? Binaries! Binaries! Lots and lots of binaries!
drwxr-xr-x 2 root root 28 Apr 25 11:21 catalog/ ... etc... etc.
-rwxr-xr-x 1 root root 1237 Jan 22 2014 fedora-autorelabel*
-rwxr-xr-x 1 root root 464 Jan 22 2014 fedora-configure*
-rwxr-xr-x 1 root root 338 Jan 22 2014 fedora-import-state*
-rwxr-xr-x 1 root root 244 Jan 22 2014 fedora-loadmodules*
All told 43 BINARIES! Systemd advocates must love binaries. 43 binaries, each with their own options, man-pages and configuration files. How does that simplify anything? 43 unmodifie-able binaries. It's a damn nighmare and it really complicates the build, customize and install processes. This stuff should not be controlling the linux system. I really wonder what Linus thinks of this thing.
Then below the 43 binaries, in the system directory are the controlling parameter files where 1000's of spaghetti references to configuration files that end in .services .sockets .slice. mount .target .automount and .wants exists in this collage of crap. It's not clear at all what anything does other than guessing that rsync.service has something to do with running rsync. But what does initrd-switch-root.service, when and why does it run? Look at something as old school as getty. /usr/lib/systemd/system/getty@.service
Compare that to 1:2345:respawn:/sbin/mingetty tty1 in /etc/inittab. Or sysinit runs /etc/rc.d/rc.sysinit for system init.
The bottom line is systemd is a odious smelly piece of software that serves no purpose other than to feed the egos of the twit coders that created it. So far every systemd machine I've used has been SLOW, daemon saturated, and unstable. Systemd needs a major redesign with the KISS principles, flexibility and removal of the of complexity that burdens systems adminstrators with more and more error prone crap.