4 ms·
I like FreeBSD but after getting used to systemd I can't go back to systems without useful init systems anymore. Maybe at some point one of the BSDs will imple
by tazjin 10y ago
I like FreeBSD but after getting used to systemd I can't go back to systems without useful init systems anymore.
Maybe at some point one of the BSDs will implement a new, cleaner init system.
- cm3 10y agoThe strongest contender (which also happens to be cross-platform), from what I can tell, is nosh (https://news.ycombinator.com/item?id=10493926 https://news.ycombinator.com/item?id=10493926).
- e12e 10y agoLooks like the nosh homepage is gone? Do you happen to know if the project has moved, or is available anywhere? I find various outdated links, but nothing up to date on nosh anywhere.
- cm3 10y agoCan't find it either, might be worthwhile to contact Jonathan about it.
- JdeBP 10y agoIt has moved. There's an article on the new WWW site about what happened. There's a new version of nosh ready on the new WWW site. I'll be announcing in the usual places soon. I believe that it has a few things of interest to people, including (given what was said above) a slight further extension on the cross-platform front.
- cm3 10y agoAnnouncement: https://lists.debian.org/debian-user/2016/08/msg00116.html https://lists.debian.org/debian-user/2016/08/msg00116.html URL: https://jdebp.eu/Softwares/nosh/ https://jdebp.eu/Softwares/nosh/ > It has moved. There's an article on the new WWW site about what happened. Can't find the article though.
- JdeBP 10y agoI have another one for you: https://jdebp.eu./FGA/web-fully-qualified-domain-name.html https://jdebp.eu./FGA/web-fully-qualified-domain-name.html (-: That's not the nosh 1.28 announcement, by the way. I have yet to do that.
- cm3 10y agoWhat's (-:, by the way? > That's not the nosh 1.28 announcement, by the way. I have yet to do that. Okay, will that include the "article on the new WWW site about what happened"?
- JdeBP 10y agoNo. It's not germane to the softwares themselves. It's only germane rather to the people who've been variously asking me what happened to the old WWW site, whom I have been thanking for their patience until the new WWW site was up. As I said, it's on the new WWW site, and you can read it there. For want of a better place, I put it on the new WWW site in the "author" section. For now. The change of WWW site motivated me to do some restructuring of things that I laid out decades ago and tidy up stuff that was only there for some old URLs that were floating around (that don't point to the new WWW site of course, making the fixes for them irrelevant). I still haven't settled on the layout of the "author" section, and it might change. Any URL valid now might not be valid in months and years to come when this comment is still visible to the world. And I have just been tidying up the long-term consequences of stale URLs on discussion fora from years ago. So just follow an author hyperlink, from pretty much any page, to the (current) author section and proceed from there.
- laumars 10y agoI'm curious, what is it you find messy about FreeBSD's init system? Personally I prefer it to systemd. (I know these topics can get quite heated, but I'm genuinely not looking to start a flame war).
- cm3 10y agoPreviously service administration was different from linux distro to linux distro. This is of course no problem for FreeBSD, since there wasn't such a difference to begin with. One feature that FreeBSD may be missing is the dynamic behavior of desktop and mobile machines, which doesn't seem to map well to the existing init scripts. While systemd clearly helped consolidate and make administration more predictable across linux distros, there are deficiencies and regressions due to systemd which for the most part didn't exist in the pre-systemd era. It may be due to the scope of functionality systemd aims to cover, but some of the unconventional or missing command line options don't help either. However, it's used by enough mainstream distros that I expect the kinks to be fixed with time.
- laumars 10y agoI'm familiar with systemd. I've used it lots. Admittedly I'm not a fan of systemd but that's personal preference. I was more interested in why the OP didn't consider FreeBSD to have a "useful init system". Just wondered if it was a preference thing or if there were features s/he considered it to be missing or were perhaps unaware of.
- VLM 10y agoIts just trolling, thats why the original comment is content free.
- digi_owl 10y ago> One feature that FreeBSD may be missing is the dynamic behavior of desktop and mobile machines, which doesn't seem to map well to the existing init scripts. I keep seeing this argument, and i keep wondering what it is actually trying to say. Just about the only time i can think of that i want to spin up a daemon in response to hardware changes would be with a USB bluetooth dongle, as it would require certain daemons to get working. But the cost of just leaving a deamon idle in ram seems much lower than having to engineer a whole new init that monitor /dev changes so that it can start or stop a process or two in response to them. Then again, maybe i am not the laptop packing dev convention goer that seems to use their laptop more like an oversized phone than a laptop (never mind a desktop). Edit: damn keyboard ignored the copy command somehow, so i had the wrong quote pasted...
- nisa 10y agoIf you care that much about init just use nosh, s6,runit or daemontools... you don't have unit-files but a similiar short shellscript and some small helper tools, stdout, stderr and respawn behavoir are also very similiar (well systemd was inspired by this). runit also provides good logging capabilities. Socket activation is also possible with these tools and has been for almost 15 years. Could you eloborate where you had problems? The BSD init system is already quite clean, much cleaner than sysvinit. I'm not sure what systemd features you need but most if not all can be replaced by small unix tools - that's kind of the point of the BSD philosophy.
- mveety 10y agoHow is BSD init not useful? All it's supposed to do it start and maybe stop services, and it does that quite well. BSD init is pretty small and clean. I would argue systemd is much less so because of the large scope of the project. The more lines of code and features you have means there's going to be more bugs and more ugliness, and that's true for all large programs. New doesn't mean better either. If it isn't broken and still works well, then you don't need a replacement, which really is why systemd exists to begin with. Sysvinit was a god awful and byzantine program IMO.