FreeBSD and Alternative Inits reddit / BSD ---------------------------------------------------------------------- frozenpicklesyt · 2022-02-09 00:35 Hello, Is there any way to get an alternative init system on modern FreeBSD or any of its derivatives? I tried using FreeBSD for some time with only rc.d. However, I found it immensely tedious to manage the different services past the boot-up process. I am open to literally any management system, from systemd to s6 - I am not concerned what it is, just that it manages services as the average Linux init daemon would and keeps the great repos from FreeBSD. Many thanks! ​ p.s. if you know that it doesn't exist, please feel free to let me know with a simple "nope!" ---------------------------------------------------------------------- zielonykid1234 · 2022-02-09 01:45 You can but its kinda dirty work. I recommend to stay with rc.d. ---------------------------------------------------------------------- frozenpicklesyt · 2022-02-09 01:50 Hm, fair enough. Do you know if there's any "service managers" that can alter services/daemons and automatically manage rc.d? That would be just as great. ---------------------------------------------------------------------- zielonykid1234 · 2022-02-09 01:53 Not sure but check [this](https://docs.freebsd.org/en/books/handbook/c onfig/#configtuning-rcd). ---------------------------------------------------------------------- [deleted] · 2022-02-09 02:14 [deleted] ---------------------------------------------------------------------- reddit_original · 2022-02-09 02:15 FreeBSD is a professional operating system. You want FreeBSD to act like Linux and that would be a downgrade and a disgrace. Sounds like you need to stick with Linux, kid. ---------------------------------------------------------------------- frozenpicklesyt · 2022-02-09 02:27 I was hoping for a normal discussion on init systems. Not sure why people still decide to waste their time on saying worthless things. Happy cake day, nonetheless. ---------------------------------------------------------------------- DiggyTroll · 2022-02-09 03:02 Do you have a tedious rc.d example in mind? Perhaps you’re just more comfortable with Linux systemd commands and syntax. In terms of configuration, I’ve found both styles to be quick and efficient. ---------------------------------------------------------------------- frozenpicklesyt · 2022-02-09 03:20 Not really - I just added the basics and missed having a more complete management solution. It doesn't seem like that's a thing right now, unfortunately. You're definitely right that I'm more comfortable with heavier inits. That said, any tips you can give would be great. ---------------------------------------------------------------------- karlthane · 2022-02-09 03:37 I know IX systems has done work with openRC. Jordan Hubbard was working on porting launchd and other MacOS stuff but seems to have fizzled. ---------------------------------------------------------------------- sehnsuchtbsd · 2022-02-09 03:59 You can [use runit](https://www.freshports.org/sysutils/runit-faster/) ---------------------------------------------------------------------- frozenpicklesyt · 2022-02-09 04:13 This is exactly what I was hoping for! Thank you! :) ---------------------------------------------------------------------- DiggyTroll · 2022-02-09 06:37 Configuration as Code is an important principle when administering more than one server. External tools like Ansible or SaltStack are used to level the administration surface. Because these tools exist, there’s even less pressure on BSD to provide a more “comfortable” environment (like some Linux distros do for SMB). A simple BSD system is also easier to integrate into products (e.g. SANs, switches and security appliances). There’s less cruft to disable, test and debug. ---------------------------------------------------------------------- _arthur_ · 2022-02-09 10:49 Sadly any discussion of init systems attracts the sorts of people who want to get very mad about systemd. ---------------------------------------------------------------------- reddit_original · 2022-02-09 12:09 You come in here, drag up an ages old topic about wanting to make FreeBSD act like Linux cause you think it's better and you don't expect push back? Especially in a case where you are obviously in the wrong? (Rhetorical. Please don't answer.) ---------------------------------------------------------------------- reddit_original · 2022-02-09 12:10 Because people are very mad about systemd. ---------------------------------------------------------------------- daemonpenguin · 2022-02-09 14:25 You could try OpenRC, the GhostBSD project used it until recently on their FreeBSD base. I'm a bit confused though about what specifically you want to do that you can't do with rc.d? I've been using both FreeBSD and various Linux distributions for years and the commands are almost all the same and work the same way. The only difference I tend to notice is most Linux distros automatically enable services which are newly installed and FreeBSD doesn't. ---------------------------------------------------------------------- 11B_Geek_with_gun · 2022-02-09 20:30 Real sysadmins may discourage it, but webmin provides a UI. It's what I use whenever I have a sys v OS (too lazy to learn sys v). ---------------------------------------------------------------------- dobbelj · 2022-02-10 10:42 That user is the alt of this user: /u/icantthinkofone They get irrationally angry if you suggest doing anything else but "professional work" on their preferred operating system. ---------------------------------------------------------------------- InactiveUserDetector · 2022-02-10 10:43 icantthinkofone has not had any activity for over 821 days, They probably won't respond to this mention ^Bot ^by ^AnnoyingRain5, ^message ^him ^with ^any ^questions ^or ^concerns ---------------------------------------------------------------------- shellmachine · 2022-02-12 15:27 You can simply install runit on top and start the runit supervision process from oldschool rc.d, then manage your post-boot stuff from within runit. That's what I do. :-) ---------------------------------------------------------------------- Squidonk · 2022-02-12 15:53 Put everything into /etc/rc.local