zirias@
Developer
JFTR, I didn't say I want or need thatMeh, parallel startup? I'm not attacking your 'nice to have' opinion but it's overrated.

JFTR, I didn't say I want or need thatMeh, parallel startup? I'm not attacking your 'nice to have' opinion but it's overrated.
[...]
IMHO if an alternative init system is done right, it would neither hurt nor restrict you, but enable less skilled people to govern it.
Yes I understand that.JFTR, I didn't say I want or need thatOnly thing I was saying is that this is the only thing I could think of which *might* be improved in an init-system.
By n-amount do you mean parallel startup or disparate init systems? The latter would not happen since there's one FreeBSD. At least one FBSD-based distribution (TrueOS) used OpenRC IIRC, but TrueOS is history now.Your average user & even most kernel developers don't even touch their init system. On NetBSD we've had this same argument and it's (always) under misapprehension. If any one is impacted it's the porters, & believe me they don''t want to supports n-amount init systems.
See above: I'm not promoting systemd... In contrast, my concern is: it's reasonable to evalute runit vs. OpenRC as a replacement for the current BSD init, like e.g. is done here for Linux. Both allow for parallel services start, and they might be easier to manage for newbies (that's to be evaluated). Additionally, they supply service monitoring/supervision, which seems to be a demand of professional server plants. It should easily be possible to switch off parallel startup, I you want that. Likewise, it should be possible to not monitor a service. Both are reported to be fairly slim & KISS. Thus, you'll loose nothing, while others could benefit.Ibm/linux pushed this because there's hundreds of distributions that have disparate init systems that require greater work by distro developers and packagers; systemd init was born (and an ugly bastard it is!).
It does not, because the current BSD init does not have a feature that is demanded by many desktop users: parallel service startup. The only arguments against this so far were 1. added complexity, which I doubt; at least the added complexity will not be overly much IMHO; and 2. race conditions, i.o.w.: in most cases, it works well. There are race conditions in any system beyond a certain complexity, e.g. currently my wpa_supplicant(8) does not start automagically, but it does start w/o errors & warnings manually. If I want parallel startup, I would probably run into many issues right now. If it comes by default, I'd be happy.Contrarily, bsd has no such issue, thus rendering your argument moot.
FreeBSD is a simple tool. Just like a hammer, it is impossible to make it without replacing it with something else entirely. If people want a "fun" experience and to play, they don't use a hammer and they use Microsoft Windows instead.
All (?) the information needed for parallel startup is already present in the dependency hacks in the service scripts. Thus, it would very likely add very little complexity, maybe even none at all.Meh, parallel startup? [...], it's really only ever going to add complexity & huge chance of race conditions
There's a good chance that both runit & OpenRC are KISS enough that you won't have to worry about this. In fact, IMHO FreeBSD is MUCH simpler than Windows & Ubuntu, if you're a little bit curious & courageous.[...], but please, do not take me my OS away!
If the contents of the configuration is "use the default script", that would satisfy both, yours & my concerns, right?This wording (configuration) brings me to the next criticism: shell scripts. With mewburn rc, there's a large and useful library, so your init script for a "normal" service needs only a few lines. Dependencies also work rock solid. Still, with these scripts, I can do anything unforeseen by the designers of the init system. I personally wouldn't ever want to use a system that replaces scripts by some "configuration".
I know many ordinary, non-nerd people who switched from Windows to Linux for various reasons. If they see FreeBSD starting up, they call it computer-stone age.
Please come up with arguments against runit & OpenRC instead.
This might be the case indeed, but I'm still not convinced such a central part of the base system needs any change at all. Mewburn rc has (IMHO) a very elegant design and I personally don't miss anything. Changes are never free of risk (and FreeBSD tends to be much more aware of that than Linux), so to change something, you need good reasons. I see we just disagree about these "good reasons"If the contents of the configuration is "use the default script", that would satisfy both, yours & my concerns, right?
The great thing about FreeBSD compared to worse UNIX-like operating systems (such as Linux) is that we already have a solid init system. We don't need to worry about using non-standard alternatives![]()
They can decide for themselves... Ordinary people want a desktop computer system to write e-mail, chat, browse the internet, etc.pp. Note the act of writing. Other devices like tablets & smartphones, smart TV & game consoles do not have a keyboard and/or the display is too small. That's two of the reasons why laptops and mini computer desktop systems are still very popular. My assumption/assertion are:Non-nerd people honestly don't need real computers anymore. They need a telephone or a games console. It is impossible to cater for them without replacing FreeBSD with a different project entirely.
Your implication that I want FreeBSD to become like Windows or Linux is not right.I would even consider myself a "non-nerd" user. I am not an OS developer. Heck, I am a slow tech learner which is probably why I think Linux is defective. I just use FreeBSD to provide a platform to develop software and teach on. Windows and Linux have so much breakage daily that they no longer provide a solution to my needs. How is that user-friendly?
OK now I will suspend with automagic hibernation after 15 minutes, then reboot, and measure the times to startup the base system, and until the X11 login screen. I have to set up another boot env anyways, I'll try to replace it's init with runit(8). Anyone who's curious and open-minded to check such tool unbiased, can decide to do so as well.The sad truth is that these haven't seen much uptake because they don't offer more than systemd or existing standard init systems. There are a number of arguments why they are not popular, just do a search for the "systemd vs openrc" threads. In terms of FreeBSD they do not offer enough to justify the breakage they would cause.
That's why I came up with my suggestion. Iff - and only if - such replacement does not break reliable & proven BSD policies, this work would be done once in the base for those who want it, and not hurt you & the others.I expect zoujiaqing has a lot of work ahead of him![]()
At least ntpdate(8) can run in the background while other services are started.I like runit. But paralising init system will not speed up boot times, when hardware detection, e.g. USB, is the issue. Or an ntpdate which takes a few seconds.
They can decide for themselves... Ordinary people want a desktop computer system to write e-mail, chat, browse the internet, etc.pp. Note the act of writing.
I already answered this above. Because if FreeBSD was more widely deployed & known as a stable, reliable (in our opinion: superior) alternative to Windows & Linux, this would result in more developers & maintainers after a few years.If for these "ordinary people" FreeBSD is not good for that purposes, if they are unhappy with FreeBSD, then they should use Windows or Ubuntu that are made for them and are perfect
for their act of writing.
I do care as well. I am one of these.What about ordinary people that want stay conscious of what the system does and eventually
alter it? That want to write and run small programs, for example for technical, scientific,
commercial or other purposes? People that see in a classical computer a computer and not an
application box?
Why are you suspecting (accusing) me that I want to "take away my OS"? Please let's stay unemotional, factually. Provide me an argument why parallel service startup (off by default) would take away any of the beloved simplicity & rubustness of FreeBSD.Why are you zealously defining "ordinary people", insistingly speaking in their name, and ignoring
the existence and needs of other "ordinary people"?
rovide me an argument why parallel service startup (off by default) would take away any of the beloved simplicity & rubustness of FreeBSD.
Because if FreeBSD was more widely deployed & known as a stable, reliable (in our opinion: superior) alternative to Windows & Linux, this would result in more developers & maintainers after a few years.
Why are you suspecting (accusing) me that I want to "take away my OS"?
Many people told it: non deterministic behaviour, chance of race conditions, complexity, no need
to make startup faster and not at this price, system startup is a critical moment and should be
kept as simple as possible.
You are going emotional?That is a very primitive, one dimensional way of thinking: more deployed and known, then
superior, then more mantainers and developers. The more, the better. For people that think
that way there are more intelligent, and hence better operating systems that think for
them: for example Windows and Ubuntu.
many desktop users are asking for parallel service startup
Naturally, the number of whom I personally know is much lower of those I pretend to speak for. Friends & family. Collegues. Myself. People I do not really know well, but I see them using a Linux desktop. Observations on various forums. Yes, they do ask when I suggest FreeBSD as a superior alternative to Linux to them; either they want to move away from Windows or Mac to Linux, or they are not satisfied with their current Linux distro. Then two issues come up over and over again:How many desktop users you mean? From where you know them? Do they asked you for that?
And what services do these desktop users start at boot time? Or they asked for a feature without
knowing for what they need the feature?