Originally posted by TeamBlackFox
View Post
Announcement
Collapse
No announcement yet.
FreeBSD Making Progress On Wayland Support, The Basics Are Working
Collapse
X
-
Originally posted by starshipeleven View PostUhm, wait, what? Then why the fuck does it offer its own compartimentalization, access restriction, and so on features (basically exposing kernel features, btw)? Sure you can decide to not use them, but that's your (server admin or distro mantainer) responsibility.
The process manager running at PID1 has the minimum functionality necessary for its function, all other stuff like say logind and friends are run as daemons with other PID and non-root privileges.
1. Init
2. Process manager (root)
3. Process manager (unprivileged)
I would prefer this setup - or even another setup utilizing some way to separate privileges further.
Also, don't take what I say out of context. What I mean is simple: PID1 runs as root. Because the process manager is running as the root process you have the following issue - any exploits or problems with the process manager extend to all of PID1. That's what I mean - runit and OpenRC both separate the process manager into a different process altogether.
You claim it's running under least privilege but it isn't. I don't care that logind and friends is a different binary from PID1, that is irrelevant to what I am talking about. The only benefit to having everything under the systemd umbrella is a unified communication architecture being used by all these secondary processes (dbus) which isn't in and of itself a bad thing.
Originally posted by starshipeleven View PostAfaik the script-based init systems have far more issues about random shit happening (not just race conditions, just about anything can happen in a script) and giving root access to everyone doing a simple exploit to a fucking database that was supposed to have no outside access (but is accessed by a website, of course).
True story, btw.
Originally posted by starshipeleven View Post
This is a distro issue, only binaries that are actually fused together are the init and the logger, everything else is a separate binary. If your distro decides to ship them as a package, complain with your distro's mantainers.
I don't know if you really get that systemd isn't perfect or not. But Linux is far from the end-all be all of OSes. Beyond Linux, BSD, UNIX etc. There's a lot more OSes out there and some of them that I've used do a fair amount better than UNIX ever could. For instance, half of the midsize (formerly 'minicomputer') operating systems I've used such as VMS have some form of system error recovery built in. So do the few mainframe OSes I've touched, including DEC's ITS and TOPS-20. Now you may be saying to yourself, "But those are apples and oranges from general purpose OSes" And you're right, except that the idea of things like error recovery without panics or crashes is nothing new to the desktop world. And if I were a better designer, I'd probably build a OS right now that could put all of UNIX, Linux, and BSD to shame. But I'm not. So in lieu of that, I say that we deserve better. I only use BSD because of the following reasons:
I disagree with the Marxist GNU philosophy of 'free software', including the GPL's viral and reciprocity clauses. I cannot completely eradicate GPL, but I can not use Linux.
Linux has featuritis and has made a laundry list of design choices I disagree with. My grievances with the BSDs is far shorter.
HP-UX, IRIX, AIX and Solaris are behind BSD in features - not to mention vendor locked-in to their hardware except for Solaris.
Windows I am stuck on 7 because I refuse to adopt 8 or 10 on the principle of un-removable NSA backdoors - and 7 is far from the most effective for software development or other applications outside of games.
MacOS is locked into overpriced, underpowered and bad quality hardware and Mach/XNU is a shitty kernel to base an OS on. Screw MacOS
UnixWare, SCO OpenServer etc. are dead.
Android is fine as a mobile OS but not practical for other things.
Thus I use BSD. You may consider my reasons invalid, but as a prerequisite for discussing this with me you have to respect my choice without insulting me over my choice.
Originally posted by Duve View Post
Comment
-
Originally posted by Duve View PostIt's going to be different to some degree since there is a urge in FreeBSD to build their own system from the ground up, but both systemd and launchd have been named as inspirations to such. I would expect some similarities to them when the solution does appear. It's not like they have anything else to work with...
OpenRC is more or less a non-starter due to the lack of documentation.
Originally posted by Duve View PostAll efforts to simply port launchd have ended in failure to some degree, mostly on the issue of licensing and binding.
Originally posted by Duve View PostThat said, there is a feeling that they need something to replace old SysV init since there are ways to do it better. I would expect something similar at this point since most of the research has headed in the direction of systemd, with it being one of the few things that they can openly look at in it's entirety. That said, assuming that it would be like OpenBSD's systembsd effort would be rather naive at this point, since copying systemd wholesale isn't really a good idea.Last edited by Luke_Wolf; 27 December 2016, 06:11 AM.
Comment
-
Originally posted by Luke_Wolf View PostWe'll see what the TrueOS guys do with it, I thought it an odd choice myself due to that reason.
Not strictly speaking true. FreeNAS is now successfully using it, however they grafted a Mach compatibility layer on in order to do so. So for that reason... I wouldn't imagine it making it upstream.
As things currently stand, I get the feeling it's going to be jobd. http://mheily.github.io/jobd/ https://github.com/mheily/jobd as it's heading in the direction FreeBSD seems to want to go and isn't calling for huge changes in the kernel or anything.
jobd I have some doubts about, namely I dislike the name, but hey, if it works, it works!
Comment
Comment