This is absolutely absurd on so many levels. There is a thread going around the desktop-devel mailing lists about the GnomeOS. I just don't get the rationale and, frankly, I think the Gnome community is being myopic and shortsighted.
However, I think there might be something more subtle at play here. Redhat. It's well known for some time that Redhat was providing the majority of funding for Gnome either in dollars or people hours. If Redhat could exert their influence over the rather influential Gnome project (Gnome is not known for strong internal leadership nor strong political/business acumen), it could potentially pull of something it has been trying to do for years: hurt Ubuntu.
That being said, it seems Ubuntu has been making the moves necessary to be less dependent on Gnome/GTK. I hate to sound all corporate espionagy but this really feels less about Gnome and more about the corporate players.
And leaving the tinfoil hat realm, if this is all about Gnome and what they want...I feel this is going to be a rough road and they don't have an idea what it really means to build an OS and being responsible for everything: upstream development, apps, drivers, hardware....the list goes on.
The Gnome developers bounce around between companies fairly frequently, and plenty of the Linux-as-primary-platform participants in that thread do not work for Red Hat. I have strong doubts that anyone cares more about Red Hat than they do about making Gnome better.
It hurts Ubuntu like it hurts other downstream distros: more work they have to do to use Gnome bits.
Check the thread on desktop-devel about adding something to control center. The common practice would be to fork something and carry patches, which is work and not something downstreams would be too keen on doing.
Yes, core gnome would still be "available", but it would be more work and harder to get to the interesting bits and break away from the stuff that, frankly, Gnome doesn't do well for which better alternatives exist. Gnome is going monolithic instead of modular, and that is bad for everyone that won't use a stock gnome.
Not that much. Ubuntu of course has its own init system, Upstart, and it's unlikely they'll abandon it for systemd after so much development and integration work. They also have Unity, which fills GNOME-Shell's role. If GNOME-Shell depends on systemd, it will be much harder for Ubuntu users to run GNOME-Shell, but the basic distribution won't be affected.
I'm not sure GNOME is becoming a Linux-only project, but if it were, I wouldn't see anything wrong with that. I think it is somehow similar to the window manager issue from a few years ago, where some people wanted GNOME to support lots of different window managers, which meant they had to work around the quirks in each of them, or limit the functionality to the lowest common denominator.
Sometimes, an issue in the desktop environment needs some deep digging for proper fixing. Having to dig deep into each of the supported platforms is daunting and will probably lead to a worse user experience. So I think they should just pick their platform and work on it.
Nobody expects Apple, for example, to support the Mac OS X UI on different kernels/platforms, even though Darwin is very Unix-like. Apple actually go one further and only support their own hardware. Why can't GNOME focus like Apple does?
"Open" is about accessibility to the development process and result products. It's not about conforming to the broadest possible "port" base.
Frankly, if there's something that Gnome needs (or just can get significant value from) that is available on Linux but not other platforms, I see nothing wrong with abandoning those other platforms until/unless they catch up. That's just progress.
That said, I don't see any evidence that this is actually happening. The systemd proposal was just that (a proposal), and while systemd is a pretty invasive change to linux boot and daemon management it really doesn't seem like something that couldn't be abstracted by FreeBSD in a way that would work with Gnome.
I'm not sure I understand you. How is focusing your own work on the one platform you care about the same as being closed? Everything is still open, and if a platform wants to support GNOME, they are free to do the work themselves; I'm sure patches would be accepted.
Being limited to only one operating system would make it more closed.
P.S. Quoting from Wikipedia: "Open systems are computer systems that provide some combination of interoperability, _portability_, and open software standards." [1]
Also the name GNOME is an acronym of GNU Network Object Model Environment. It refers to GNOME’s original intention of creating a distributed object framework similar to Microsoft's OLE. [2] If GNOME is considered an open system despite working only on Linux, the same could be said about OLE, but I doubt many would agree with this.
The question of portable code vs. taking advantage of the best possible system interfaces is a very hard problem indeed.
On the one hand, the number of people using non-Linux POSIX compliant OS's have dropped significantly in the last decade. As a percentage of the installed base, either by machine or by user, what's left? The *BSD's, where I'm not sure there is hard evidence that they are growing even by absolute numbers, never mind as a percentage of the total market. Solaris, which Oracle is busily killing by increasing support costs to the point where people are quickly bailing to other alternatives --- in the end I won't be surprised if aside from the one or two big iron databases servers, there are very few other Solaris installations left. AIX? HPUX? Don't make me laugh.
The only POSIX compliant OS that is growing is MAC OS X --- and Apple isn't afraid to add new incompatible features to their kernel, and then release software which only runs on MacOS --- and usually people don't wag their fingers at Apple complaining that they are releasing non-portable programs. Instead, Apple is usually lauded for keeping a solid eye on usability and writing programs that have a deep sympathy for the end user.
So why is it that a lot of people are kvetching at GNOME for wanting to use kernel-specific features in the name of improving the user experience, when the same complaints aren't leveled at Apple? I think there's a bit of a double standard being applied here....
I think the difference is "interoperability" v. "integration".
The OSS community has typically favored the former, while denigrating MS for the latter.
There's benefit to the integration path. MS' tools play very nicely with one another, and it would be nice to see improvements on the OSS side.
However, I don't think the Gnome project should go that route. Part of its success has been its modularity - it has been long-lived, and used in unlikely places. Choosing the integration route significantly reduces future options. Heck, what if Oracle decides they don't want the expense of Solaris, and spin it off into its own company (yea, yea, I know)?
If Canonical (or other downstream) chose to do something like this, I would think it was a great decision. Ubuntu could end up with a superior experience, if done right.
I don't see the point of a core project doing this. There's nothing about the current model which prevents implementing this downstream, or as an add-on for those that are interested.
Do you really think GNOME owes its "success" to it being able to be used in unlikely places? How are you defining "success"?
If you define success by its ability to run in obscure places, then sure, any change which limits this is going to cause GNOME to be a "failure". But that's not the only definition of "success" and "failure". Personally, I think the ability to run GNOME on obscure operating systems isn't all that interesting. For similar reasons, it really isn't impressive to me that NetBSD can run on ancient Amiga hardware. And in, fact, NetBSD's obsession of supporting legacy hardware slowed down their ability to run on modern hardware, I'd consider it bad and a direct cause of their "failure" in terms of market share as compared to say, Linux.
There's a similar issue going on here with GNOME and obscure/irrelevant operating systems. If that slows them down, then they should (IMHO) figure ways of not slowing them down. And in fact, it's not a complete abandonment of those lesser/legacy systems. There would be cut down systemd releases that would support what ever limited functionality that might be provided by that operating system. If Solaris doesn't have cgroups to provide resource isolation, then there's not much GNOME or the systemd/Solaris adapter layer can do to ameliorate the situation.
If you're going down the Gnome-as-an-OS rabbit hole, why not just build a distro? Integrate things as tightly as possible and provide the best possible user experience. This just seems like a poor choice otherwise.
"The argument in favour of just focussing on Linux exclusively goes like this: why should GNOME be held back by advances in technology simply because Solaris and the BSDs can't keep up with the fast pace of development in the Linux kernel?"
What on earth does systemd need that it can't get from solaris/bsd, or are systemd and the gnome team just lazy?
Systemd is inspired by Apple's launchd (which has an unfortunate license) and has a few really nice features:
- Many traditional init systems are based on a bunch of shell scripts with some metadata. Each service is started through a shell script that supports the start/stop/restart argument. While this makes the implementation very simple, it also makes it inefficient. To start a service the init system must create a new process (the shell script) which in turn invokes a bunch more processes (because almost anything you do in a shell script requires external commands) before finally invoking the service itself. This is expensive in terms of both CPU usage and disk I/O, and the latter really matters for boot time. Systemd accepts a bunch of service description files and handles the starting and stopping for you.
- Traditional init systems are about starting and stopping services. Systemd is also about keeping services running. For example if a daemon crashes, with most init systems you have to restart it manually or hook it to some external monitoring system. External monitoring systems usually rely on polling to check whether services are still alive. Systemd on the other hand just forks() the service, waitpids() on it, and gets notified by the kernel when the services crashes. No polling involved. Polling wastes CPU and reduces battery life. Polling also makes leaves a small time gap during which the service is temporarily dead but hasn't been restarted yet. This latter can be mitigated with a smaller polling interval but the smaller this interval the more CPU you use.
- Systemd supports on-demand starting of services. It starts a service as soon as a program needs it. This works by having systemd allocating server sockets and listening on them. When a client connects to a server socket, systemd will not accept() the client; instead systemd will figure out which service it belongs to, then starts that service, passing it the server socket. The service then accept()s the client. This is great for saving CPU, memory and disk I/O until it's really necessary. It saves battery life and reduces boot time. EDIT: It's not (x)inetd, see my reply.
Unfortunately most people slam GNOME and systemd for being NIH or crazy without understanding the reasons. I hope this post makes some people understand the rationale behind systemd.
Heh that is like people arguing that people should not drink petrol, and then you trying to counter that by saying how good petrol is for cars.
Systemd sounds great, more distros should use it or something like it. But why would something like gnome shell want to depend on it? Systemd starts programs at startup, gnome shell is a gui. I could almost understand something like GDM needing a dependency, (but would still consider such a dependency poor engineering and against the unix philosophy)
A decision like this, and other decisions gnome has been making lately will reduce its popularity.
What the hell, why is my post downvoted? I wrote a very informative post. If someone disagrees with me then come clean and give me a rational reason, not just clicking on the downvote button!
But to answer your question: no, it's not inetd. Inetd is very inefficient in terms of CPU and memory usage and has scalability issues thanks to the fact that it spawns a new process for every client. Systemd does not do that: it waits until someone connects to the socket, then starts the service and have the service handle all clients on the socket. Systemd then waits until the service has exited. The service can use I/O events or threads or whatever efficient mechanism to handle multiple clients on the server socket, all within a single process.
This in itself does not require Linux-specific features. However the GNOME discussion is about depending on systemd which happens to be Linux-specific at the time for other reasons, not about GNOME wanting to be Linux-only (which is sensationalist headline). One of the reasons systemd is Linux-only is because it uses cgroups, which I explained here: http://news.ycombinator.com/item?id=2565801
inetd does not need to spawn a new process for every client; that is what happens if you specify "nowait", but you can specify "wait" and it will pass the listening socket to the spawned process.
I can't speak for others, but I nearly downvoted you for the first sentence which was just a gratuitous snark. I ended up not downvoting you precisely because the rest of the post was informative.
The first sentence is not a snark, it is a clarification. The question why systemd was invented instead of just using launchd had been raised in the past. Distributions avoided launchd because of licensing.
Of these, some seem like they are linux-only features that are used, not linux-only features that are required (but I don't know specifics, maybe I'm wrong):
Yeah, I'm not going to lie, lots of the things in that list are trivial.
Lennart Poettering's position seems to be that it would be better for other systems to re-implement SystemD's interface than to port it, and in any case, he can't be bothered to do a port.
One thing you can say about current Linux windows managers is that they are held-back by the overall system's latency.
That is, some random script starts somewhere starts while you're in the middle of typing something and you're like "why am I suddenly crawling?"
In that sense, demanding that the graphic system have more control over services in general actually seems rational. Today, BSD, Linux and Solaris have lots of resources as server OSes but its pretty clear none of the server developers give a toss about the latency issues of the Linux Desktop. Concentrating on one OS would let them patch-to-suit so this might actually quite good.
At the same time, the reason the current Gnome panels main-menu takes umpteen seconds to appear is that they feel compelled to each time parse the pathological menus format specified by Freedesktop.org. And so there's lots of other stuff to do to go present to a desktop that "spritely".
This is exactly why I don't run gnome: I don't like running a bunch of code that only serves to slow me down. I ran gnome on freebsd for a while and it was noticeably faster. This is due in part to the fact that I wasn't running all the crap ubuntu installs these days (why am I running a couchdb server on my laptop?), but also due to the fact that freebsd I think does a lot of things better, including fairer scheduling, and it has a sane init system.
Speaking of scheduling, the author of systemd suggested something to improve this [1] and if I remember correctly it will be available by default on systems with systemd.
I think it's more that if the BSD guys are interested in keeping gnome available for BSD, they have the freedom to port it, or implement the interfaces that gnome requires/expects.
Why should it be bsd's job to port code they didn't write, when gnome can do it for far fewer man-months because they already know what will need porting? If gnome really wants some fancy linux feature, they can ask bsd to implement it. Is there a history of such requests going unserved? I doubt there is even a history of such requests.
Virtually all of the people who write GNOME use Linux; why should they spend any effort porting GNOME to a platform they don't use?
If GNOME really wants some fancy Linux feature, they can ask BSD to implement it.
And the BSD developers don't have the manpower to do that.
Is there a history of such requests going unserved?
See Project Utopia, ALSA, DRM, KMS, cgroups, etc.
BSD and Solaris cannot afford to keep up with Linux. They just can't. So the question is whether Linux people should subsidize OSes that they don't use or just let them fail.
It's not necessarily that systemd needs something available only under Linux, but it was designed from the start to run only on Linux. Its author didn't want to care about other operating systems and wanted to use all the nice things available under Linux, e.g. cgroups.
Let me elaborate. Good Programmers write Portable Code. This means checking for supported features and using them if they exist, falling back to less desirable methods otherwise. So either the systemd guys are too lazy to do this (and therefore I probably don't want to run their code even if my OS is supported) or there is something linux has exclusively, that is so damn awesome that systemd would suck if it didn't have it. To my knowledge, group scheduling is not that awesome. In fact, as far as I know, freebsd's kernel and userland apis are superior to linux's in many ways, and if this is false, I would like very much to know why.
I was tempted to call gnome and systemd lazy, but thought I should learn more first.
Full disclosure: I don't run gnome (apart from gtk) and probably never will, but only as a matter of personal preference, not philosophy.
Writing portable code slows you down. With every change you have to think "hey is this available on all the other OSes too, and if not, how do I fallback?". This distracts you from your main goal, especially if that main goal can be better implemented with platform-specific APIs. I can very much understand not trying to bother and instead relying on contributors to port things to other OSes.
Is there anything wrong with lazy? Remember that people have limited time and man power.
There's a very good reason for using cgroups: to completely clean up a service's process tree even in the face of abusive behavior. A service can spawn a child process that calls setsid(). By using cgroups systemd can kill that child process too. Traditional POSIX APIs like killpg() do not allow that and give processes the ability to escape supervision.
You say FreeBSD's kernel APIs are superior. It makes me wonder why you think that. There are only two things that I think are better on FreeBSD than on Linux: kqueue is better than epoll, and the OpenBSD firewall is easier to learn than iptables. As for everything else I've yet to see hard evidence that FreeBSD beats Linux.
Answering "is this available on other OSes and how do I fall back?" is a good way to think through your algorithm and ensure that it makes sense.
Didn't know that about cgroups. Has anyone tried to kill a process tree on bsd or solaris and failed?
I don't know a lot about freebsd, most is just hearsay. I have been happier with their libc though, it seemed like it had fewer gotchas and unimplemented features.
"Good Programmers write Portable Code" seems a bit of a hasty generalization. Good programmers write portable code if portability is a goal of the project. Portability, as you define it, comes at a direct cost of maintainability, and potentially the ability to add new function in a reasonable manner.
A large portion of "good programming" is about making tradeoffs, and making the correct decision. Prioritizing portability is a decision that can be made, but that the decision is made one way or the other within the scope of one project does not mean that the decision-maker is a "good" or "bad" programmer.
Ad hominem is not a good counter argument. I haven't had as bad of an experience with PulseAudio as apparently many other people do but surely he has learned from whatever mistakes he made. Surely you weren't a rock star programmer the day you were born?
Summary: Some Gnome devs would like to require systemd. Unfortunately, systemd is currently not ported to anything but Linux, so this would make Gnome Linux-only. However, porting systemd to Solaris and BSD does not look hard.
as someone who does not really understand it, it does look non trivial:
"""
Which Linux-specific functionality does systemd use and what's the advantage of this over a solution that is portable to other operating systems?
There's quite a bit of Linux-specific functionality we rely on. The first that comes to mind is probably cgroups (short for "Control Groups") which is a Linux kernel feature that may be used to create hierarchical groups of processes, label them, and optionally apply resource limits or other rules to them. But there's a lot more. Systemd tightly integrates with the Linux-specific udev system for hot-plug events. And then, the disk read-ahead solution we include in systemd uses the Linux-specific fanotify() call. Or we support spawning processes in their own file system namespaces or with limited capability sets, both of which are Linux specific features. Or we support the Linux-specific automounter and other mount APIs such as polling mount changes via /proc/self/mountinfo which do not exist on other OSes. Internally we use a lot of newer API calls, such as timerfd() or signalfd() which are not available outside of Linux. These latter calls could be emulated on other OSes, but using them greatly simplifies our own code. And many of the other Linux features we use have no suitable counterparts on other Unixes at all.
If Gnome transforms their product into it's own operating system, not only will the Gnome environment itself become more monolithic and less modular but the distribution they produce will suffer that same fate. It's not a given, but it's easy to imagine the non-negotiable dependencies for the Gnome OS growing over time and becoming even more obscure than which init system is used.
Personally, I like being able to make some of these choices about the components that make up my operating system. On the whole, I think modularity is feature that I find more compelling than the sort of tight integration that some other OS vendors (like Apple) are providing.
I agree that having a bunch of Lego bricks that you can combine at will is nice, but the disadvantage of that is that what you build with it always will be less streamlined (in software, there will have to be code to handle slight interface differences), and may fall apart easier (if there are zillions of ways to combine parts, the probability that your way to combine them has been tested can rapidly go to zero)
There must be an optimum somewhere in the middle. Big question is: where? For some things, the answer seems clear (sometimes after a couple of decades of experimentation). For example:
- there seems to be consensus that pluggable file systems are a good idea. But even there, there is no consensus on the interface, as shown by the VFS vs ZFS discussion.
- Pluggable printer drivers? I have never heard somebody argue that was a bad idea. On the other hand, there may be room for consolidation here, just as has happened on the terminal front (how many different terminal protocols are in active use?)
- Pluggable windowing systems? On Linux, it appears that X has won (for now).
For others, there is no agreement:
- Pluggable schedulers? At least a few years ago, there was disagreement about the question whether that was a good idea.
- Pluggable window managers? From what I read on the internet, these seem popular, but I think there is some selection bias there.
- Pluggable GUIs? I think that is a bad idea. You can build a system where, say, gnome apps and KDE apps and Java apps all look more or les the same, but I have never seen one where the Lego bricks did not shine through.
- Pluggable character sets (aka code pages)? Unicode has won that battle (because it is the best of all the abominations we can choose from :-))
In summary: I like flexibility, but I also think you cannot get a nice coherent system without limiting that. Designing is making choices. If I wanted to create a Linux system for the general public, I would probably have to sacrifice a lot of flexibility to get such a system in a reasonable timeframe.
>Lennart in follow ups to his proposal explains that systemd could be separated into a core set of interfaces which could take replacement backends that support e.g. FreeBSD so long as it implements the interfaces systemd cares about or as it was their init system.
So the idea is not to abandon non-Linux targets, but to offer varying levels of support for them.
However, I think there might be something more subtle at play here. Redhat. It's well known for some time that Redhat was providing the majority of funding for Gnome either in dollars or people hours. If Redhat could exert their influence over the rather influential Gnome project (Gnome is not known for strong internal leadership nor strong political/business acumen), it could potentially pull of something it has been trying to do for years: hurt Ubuntu.
That being said, it seems Ubuntu has been making the moves necessary to be less dependent on Gnome/GTK. I hate to sound all corporate espionagy but this really feels less about Gnome and more about the corporate players.
And leaving the tinfoil hat realm, if this is all about Gnome and what they want...I feel this is going to be a rough road and they don't have an idea what it really means to build an OS and being responsible for everything: upstream development, apps, drivers, hardware....the list goes on.