News for hackers. Stuff that matters.
Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by byuu on Saturday September 05, 2015 @09:04PM (#10176515)
As long as it's optional for Gnome only as they say, that's fine. I just hope other DEs like Xfce don't simply rely on this being available like with Consolekit, HAL, D-bus, etc that I now have to run on FreeBSD as well.

I'm perfectly content ignoring Gnome, but if every full desktop environment starts relying on this because it's available, then it's not really so optional anymore. (and of course, if the alternative is guaranteed to be no major DE running on BSD at all without this, then we similarly have our hand forced. It depends on who would flinch first.)

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by digi_owl on Saturday September 05, 2015 @09:45PM (#10176587)
Best i can tell, the reason Xfce seems to assume it is there is because the developers are short on time and thus make use of low level Gnome libs to get things out the door.

Essentially Gnome seem able to throw a whole lot more man hours at various topic than can the rest of the DEs, KDE included. This in turn seem to lever Freedesktop towards them (though Freedesktop may have overly favored Gnome from the get-go).

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by byuu on Sunday September 06, 2015 @12:23AM (#10176817)
Xfce already depends on it? :(

I was under the impression they had FreeBSD users on their dev team, and kept it alive, just with some limited features (like automounting not really working) and only relying on a few Linuxisms like Consolekit.

Still on 4.10 though, so perhaps that's no longer the case on the newer versions.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by purpleorange on Sunday September 06, 2015 @03:10AM (#10176996)
xfce will use systemd if it is available, but it can still be used without it

http://xfce.org/about/tour

the tour was taken using openbsd

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by simoncion on Saturday September 05, 2015 @09:11PM (#10176532)
I could be very, very, very wrong, but I remember hearing a while back that both Wayland and KDE had plans to become dependant on systemd for its "guaranteed-race-free" startup process.
Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by navaati on Saturday September 05, 2015 @09:41PM (#10176579)
Wayland is not a program, it's a protocol, so there is no way it could depend on systemd. Some compositors may choose to, some compositors may choose not to.
Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by digi_owl on Saturday September 05, 2015 @09:51PM (#10176605)
Compositors choose to, because they need a part of it, logind, to talk to polkit, to gain the proper access privileges to do what needs to be done.

Basically, with Wayland the compositor/Window Manager/toolkit gets elevated to the same level as X11. Meaning that it has to do pretty much everything that X11 used to do for it.

The alternative to using logind+polkit is to run the DE/WM/compositor as root. Not something often talked about, as wayland is supposed to be the secure choice vs X11.

Frankly it feels like Linux is turning into some kind of marketing mess, where stuff is being presented as one thing but is in essence something quite different for those in the know.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by byuu on Sunday September 06, 2015 @12:22AM (#10176813)
I would actually be somewhat okay with running the graphical stack as root inside a jail, if it meant bypassing all of the systemd emulation.

> Frankly it feels like Linux is turning into some kind of marketing mess

I feel it's just been becoming a mess in general. They're trying too hard to cater to every possible use case, and there's nobody really in charge of the whole end-product to say "NO" to things. So they completely miss the elegance that comes with simplicity and minimalism.

More and more, I feel the long-term solution for BSD is going to have to be a full split on the graphical stack. It's been lovely for transitioning to be able to take all of my Linux apps with me to BSD, and it's a huge hindrance to eg Haiku adoption, but ... with Linux becoming more and more insular with Linux-only dependencies all throughout the stack, it seems inevitable that this Frankenstein of Linux emulation is going to have to collapse at some point. We could still have GTK/Qt ports, so we could still run the truly portable stuff (Audacious, Pidgin, Transmission. etc.)

Or as a nice alternative, dedicate a TTY to running a virtual machine of a full Linux OS for your graphical desktop.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by toyg on Sunday September 06, 2015 @05:23AM (#10177180)
>So they completely miss the elegance that comes with simplicity and minimalism

For anyone following Linux since 2000 at least, this statement is so funny.

X11 was never simple nor minimal. The various init daemons were never simple nor minimal. The mess that is the collection of kernel drivers has never been simple nor minimal. Linux has always been about choice: if you like stripped-down, you go and strip it down; if you like full-featured, you go and pack everything. There is no one-size-fits-all, no single design. Anything else would not be Linux.

The un-linuxness of systemd is exactly that it's becoming less and less optional. We whined for years that X11/Xorg was really a non-optional piece of crap, and when it's finally seeing some competition, we're being saddled with a non-optional daemon that takes over the rest of your system -- and unlike X11, it's not even desktop-only.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by chousuke on Sunday September 06, 2015 @07:28AM (#10177365)
> Linux has always been about choice

This is wrong. Linux has never been about anything. It's always been only what people have made it; no less, no more.

Viewed like this, systemd is not at all "un-linuxy" (if that made sense in the first place). It is a set of tools written by a bunch of people to solve their problems, and has gained mindshare, users and developers faster than other alternatives, which is exactly what Linux (the kernel) did.

Your only choice is to use it, or not use it, but you don't get to complain if someone else decides to depend on it because they deem superior to alternatives. If you want to keep other software from depending on systemd, the onus is on you to provide a reasonable alternative. It will not work to simply demand that others must spend their effort maintaining code that they have no interest in because you want something.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by vezzy-fnord on Sunday September 06, 2015 @10:16AM (#10177696)
If you want to keep other software from depending on systemd, the onus is on you to provide a reasonable alternative.

You're saying it as if there aren't already plenty of them.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by chousuke on Sunday September 06, 2015 @10:49AM (#10177792)
I am. Currently I am not aware of any serious effort besides the systemd project to provide a coherent, modern core userland for Linux distros.

Previously, every distro built their own init systems and core tools to manage services, leading to meaningless differences in an area where heterogeneity is not a benefit, but hinders progress instead.

I don't really have an opinion one way or the other about the rest of the project's tools like networkd or the dhcp server and what have they, but having a working service manager out of the box (which means it actually gets used by default!) has already made my life easier compared to the old sysvinit thing that couldn't even reliably tell you if your services were running or not, never mind anything more advanced.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by vezzy-fnord on Sunday September 06, 2015 @12:10PM (#10178011)
Currently I am not aware of any serious effort besides the systemd project to provide a coherent, modern core userland for Linux distros.

There's your problem. You don't even have any defined scope. A "coherent, modern core userland" doesn't actually mean anything concrete - it covers enormous ground that no single package can obey.

Modern service managers are plentiful - nosh, s6 and perp probably being the most promising.

The "old sysvinit thing" has been replaced many times for over 15 years by now. Just because you didn't notice, well, that's your problem.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by chousuke on Sunday September 06, 2015 @01:12PM (#10178244)
You know what? I read the s6 page and found this: http://uselessd.darknedgy.net/ProSystemdAntiSystemd/

I found it rather enlightening and found myself agreeing with pretty much everything. Trying to argue for or against systemd is a waste of time, so I will stop.

All the time spent debating would likely be better used just spreading knowledge about your preferred methods so that people can make informed choices when solving their own problems.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by vezzy-fnord on Sunday September 06, 2015 @02:41PM (#10178531)
You should know I'm the author of that, then.

Trying to argue for or against systemd is a waste of time, so I will stop.

I have to agree.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by fortytw2 on Monday September 07, 2015 @11:06AM (#10181664)
'leading to meaningless differences in an area where heterogeneity is not a benefit, but hinders progress instead.' I would argue the exact opposite is true - there's utterly no reason for 'different' linux distributions to share anything in common other than the part where they all use the same kernel. Trying to have them be the same hinders innovation and invention on the early-userspace - exactly what has kept SysVinit in production for so long. If you want one coherent userland, use a single distro - don't try to say all distros should be the same
Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by generic_user on Sunday September 06, 2015 @07:11AM (#10177341)
Yes, I agree with this very much as a long time Linux and BSD user. Linux was never like a BSD. The only thing that 'IS' Linux is the kernel everything else is a choice. With BSD you get a kernel + system libraries + userland all in the base system. So linux has always been a mess but extremely flexible.
Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by simoncion on Sunday September 06, 2015 @05:34PM (#10179120)
> We whined for years that X11/Xorg was really a non-optional piece of crap...

Does the fact that sshd's X11 forwarding doesn't require to run an X11 -errm- client(?) to run X11 software on a remote machine make X11/Xorg more optional? (Obviously, you do need to run X11 on the machine that displays the GUI, and you do need X11 libs installed on the remote machine.)

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by toyg on Sunday September 06, 2015 @06:25PM (#10179315)
No, I was referring to the fact that there was basically no alternative graphics system in the mainstream.

You could choose among different windows servers, desktop systems etc, but all of these would only run on top of X11/Xorg. Compatibility with other implementations both at protocol and interface levels was barely even nominal. Whenever X11/Xorg development stalled or hit problems etc, the entire desktop ecosystem was screwed, often for long periods.

Now we're going to see this happen with basically the entire userland. If distributions keep pushing it, systemd is going to become "X11 for userland", regardless of its actual quality.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by generic_user on Saturday September 05, 2015 @10:05PM (#10176633)
The Wayland Protocol is simply a specification that is true. But there also has to be an actual implementation. The only implementation of Wayland Protocol at this point is the reference implementation that heavily uses Linux only system calls and is not practically portable to BSD or any other system. Therefor Compositors that use libwayland such as Weston and Gnome are also not portable. SystemD dependencies add another layer of incompatibility.

So yes Wayland Like X is in theory OS agnostic but in practical terms they are only as portable as there specific implementation.

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by simoncion on Sunday September 06, 2015 @01:17AM (#10176863)
Hnnh. I see that the Wayland folks have -perhaps inadvertently- subjected us to another round of "Do you mean Java-the-language, Java-the-VM, or Java-the-Runtime-Environment?" style confusion.

I've always heard things like "Wayland is going to be the replacement for X.org." and "Work on Wayland compositors is proceeding at pace.". Pardon my confusion.

To address my claim, do you know if there is currently a functional, non-toy Wayland compositor that doesn't plan to add a dependency on systemd?

Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by yrro on Sunday September 06, 2015 @08:42AM (#10177467)
Perhaps it would clarify things if you knew that Weston is the reference implementation of Wayland that is presumably going to depend on logind.
Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio... by generic_user on Saturday September 05, 2015 @09:09PM (#10176526)
You should try Lumina Desktop they are dedicated to a native BSD desktop experience and BSD technology, but it is also portable to Linux.