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 ;)
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)
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.
What any of that has to do with the network time protocol?
FreeBSD folks do the same thing Debian did for some time before adopting the systemd: instead of the systemd, provide the teeny-tiny services, applications actually depend on.
All hope abandon ye who enter here.
``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.
Because systemd now has a replacement for ntpd.
The systemd people are (as far as I can tell) writing replacements for almost all the standard services that run on Linux because they want to take over the World bwahaha!
All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
So the rumors were true that in V2.0 systemd would finally offer integration with ntoskrnl.exe, along with rewrite to take full advantages of the CLR.
All hope abandon ye who enter here.
See previous reply to my comment.
The systemd-timedated is harmless - the systemd-timesyncd is a different story.
All hope abandon ye who enter here.
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 :)
Not sure about that, but they are inventing a new way to run services. They will have a new program called daemonhostd which can host multiple services. All you have to do is recompile sendmail and apache as shared object libraries and daemonhostd will dynamically load and run them in the same process to save resources.
As a further refinement, they are also writing kdaemonhostd which is exactly the same but it all runs in kernel space to improve performance.
All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
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.
Its actually a very old way to run services. Windows has been doing it this way for years.
Run process explorer on Windows, click on a svchost.exe process and see what services its running. It made more sense on Windows as a Windows process is more heavy than a Linux one, this is the same reason threads are more common on Windows compared to Linux's spawning processes to provide the same solution.
Anyway, one issue is reliability - if you want to restart a borked Apache, you can tell it to restart, and if it doesn't you can kill it. Systemd, you'll have to kill the daemonhost that hosts the Apache service, and kill all the other running services too. Assuming the security model allows you to do that.
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.
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 did do a quick scan of the web site to make sure the idea is not real. However, it's possible that I missed it.
All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
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.
Well of course you'd be absolutely insane to try to put sendmail and Apache in the same address space. In fact, sendmail forks (or at least used to fork when I last looked at it 10 years ago) to serve each incoming connection, so it's insane to try to restrict sendmail on its own to only one address space.
I thought my mention of kdaemonhostd (sendmail in the kernel, yay!) plus the fact that daemonhostd is derived from svchost(.exe) would be enough to show the post is not entirely serious.
All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
Woooosh.
Watch this Heartland Institute video
Frankly I don't see much in the new Gnome that makes it worth bringing to any platform.
it's a bummer to me because I love gnome 2, but I also want to have current support from the mainline. I may just jump ship to KDE land, and spend my time trying to stuff the widgets back into their packaging.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Both Gentoo and Slackware support systemd, and at least Slackware is likely to change to systemd in the future. Patrick Volkerding is holding the conversion back in the hope that some alternative may appear. But at the moment there is almost zero Linux development outside systemd, so at some point they will change to systemd in order to get e.g. Wayland support etc.
Because systemd now has a replacement for ntpd.
The systemd people are (as far as I can tell) writing replacements for almost all the standard services that run on Linux because they want to take over the World bwahaha!
Please notice that systemd-timesyncd is only a sNTP v4 client, not a full NTP server like NTPd.
A main focus for systemd is OS containers, and this sNTP client, like the DHCP client, was especially made for such OS containers: When starting 5000 OS containers in parallel the usual sNTP and DHCP clients wouldn't work properly (like in fast enough).
systemd's "timesync" isn't in any way mandatory, and it is easy to compile and run systemd without it.
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
oh sorry - I didn't get the joke, I thought kdaemonhostd was a real thing! That's how bad this systemd thing has become :-(
By what strange theory does Slackware support systemd? And how is the conversation being "held back"? At least on LQ, I think it's been discussed to death to the point where there's really nothing new to say about it.
I can say one thing for certain: you do not know that anything concerning systemd in Slackware is likely or not. Hell, *I* don't.
By what strange theory does Slackware support systemd? And how is the conversation being "held back"? At least on LQ, I think it's been discussed to death to the point where there's really nothing new to say about it.
I can say one thing for certain: you do not know that anything concerning systemd in Slackware is likely or not. Hell, *I* don't.
Some Slackers have been working on making systemd work on Slackware. It is not official supported packages, but what is on Slackware.
Patrick V. have clearly been expressing that he doesn't have a suicide pact with Slackware's init system, so he hasn't rejected shifting to systemd. Slackware is a tiny distro with few developers, it is totally unable to sustain itself when the rest of the Linux community have shifted to systemd. It is already clear, that without systemd there won't be any Wayland support, nor secure root-less X.org and more and more upstream projects are dropping e.g. ConsoleKit support.
There seem to be no coordinated non-systemd development at the moment, so at one point in the future, Patrick will have to choose between an ever decaying distro or systemd.
I am not in doubt that he will choose systemd, it is only software after all.
Whoosh! /blush/
Excuse me Mr. Volkerding, didn't notice your user name. Cheers. Slackware on floppies was my first real distro, so I have a soft spot for Slackware (but not for floppies as a distro media :-).
While I may not agree with some of your decisions on how to make a Linux distro, I respect your work very much. I think you are a smart guy, so I find it unavoidable that Slackware will change to systemd at some time in the future. Not perhaps as a first choice, but as a necessity, simply because no other real alternative seems to exist. Maybe some non-systemd community will emerge to make it possible for non-systemd Linux distros to survive on the long run, but it doesn't look like it at the moment.
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)
You know that was a joke, right?
Daemonhostd is clearly a play on Windows Service Host.
Well, at least I HOPE it was a joke. With systemd, I'm not sure anymore.
You mean "daemonhostd.exe" right? ;)
Clearly, they want to write replacements for anything that is connected to the network. My guess would be that the old stuff has gotten far to secure for the NSA's liking.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
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.
MATE? Xfce? LXQt?
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.
For small numbers of megabytes, and tens of kilobytes
in text size the systemd executable is about 1Mb and init about 30Kb. (systemd is bigger in reality as it uses more shared libraries.)
Running sizes: init (Debian, amd64)
john@cedric:~$ ps -lyp 1
S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD
S 0 1 0 0 80 0 532 2089 ? ? 00:00:32 init
And systemd:
john@celtic:~$ ps -lyp 1
S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD
S 0 1 0 0 80 0 3816 48691 ? ? 00:00:15 systemd
Systemd's resident size is less than 8 times init's.
(Fucking slashdot - why won't you get the spacing right)
Watch this Heartland Institute video
MATE has been disappointing, I've found it buggy. Xfce has a very poor file manager. LXDE, likewise. Haven't tried LXQt yet, so I guess I will try that next. Thanks.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"