Snorap has quit [Remote host closed the connection]
zorz has quit [Quit: leaving]
zorz has joined #crux
zorz has quit [Quit: leaving]
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux
braewoods__ has joined #crux
braewoods_ has quit [Ping timeout: 260 seconds]
jason123onirc has quit [Read error: Connection reset by peer]
jason123onirc has joined #crux
zorz has joined #crux
lavaball has joined #crux
ppetrov^ has joined #crux
braewoods__ has quit [Ping timeout: 252 seconds]
braewoods has joined #crux
kh1b has joined #crux
<kh1b>
Is changing the init system in CRUX common, and is it worth it
<zorz>
its up to you. personally no need to change it
<cruxbot>
[opt/3.7]: linux-firmware: updated to version 20240811
<cruxbot>
[opt/3.7]: gvim: updated to version 9.1.0672
<cruxbot>
[opt/3.7]: graphviz: updated to version 12.1.0
<cruxbot>
[core/3.7]: vim: updated to version 9.1.0672
<cruxbot>
[core/3.7]: libedit: updated to version 20240808-3.1
uwumeowmeow has joined #crux
<remiliascarlet>
kh1b: By default, CRUX doesn't really have an init system, which is similar to the BSD's. Something I personally prefer over having 20 different init systems, and every one of them sucking.
<uwumeowmeow>
How does it work then?
ppetrov^ has quit [Quit: Leaving]
<remiliascarlet>
BSD style init scripts.
<remiliascarlet>
Kind of similar to how Linux used to work until the 2010s, back when there was just SysV Init and nothing else.
<cruxbridge>
<jloc0> Basically crux is a O.G. init system and it’s better for it
DesRoin has quit [Ping timeout: 272 seconds]
DesRoin has joined #crux
<uwumeowmeow>
Why is it better if other init systems let a user to set up dependencies, for example?
<remiliascarlet>
I have never heard of init scripts being dependent on anything other than the user, binary, maybe config file, and shell.
<remiliascarlet>
Sounds very soydevvery to me to have a depencency system thrown in there as well.
<farkuhar>
remiliascarlet: I think what uwumeowmeow meant was the dependencies among the services. For example, you would want the network interface to come up before launching the service that syncs your hardware clock via NTP.
<uwumeowmeow>
Yes, I meant this.
<remiliascarlet>
Oh, like that.
<remiliascarlet>
I think it should be done by ordering the services in rc.conf, but not sure.
<remiliascarlet>
Never needed to deal with that.
<uwumeowmeow>
They are indeed run in order.
<uwumeowmeow>
But what if I want to run many services in parallel? Such thing requires init system to understand dependencies
<uwumeowmeow>
By running I mean starting.
<farkuhar>
zorz adapted the OpenBSD rcctl tool for CRUX, but currently it does not have any logic for determining where a new service should be inserted (with the `rcctl enable` command). I think it just appends the given argument at the end of the SERVICES array.
<remiliascarlet>
I don't think there's any parallelism in CRUX. Not like there's any need for it, because with the exception of wpa_supplicant and sometimes tor, everything just starts within a snap of a finger, even on hardware as old as a ThinkPad X200.
<remiliascarlet>
In comparison, I found Artix + runit to be a lot slower on this same machine.
<farkuhar>
interestingly, sysklogd is not an element of the SERVICES array, but is started earlier by rc.single. On CRUX-MUSL this service has a noticeable delay, in contrast to glibc-based CRUX where sysklogd does "start within a snap of a finger".
<farkuhar>
So on CRUX-MUSL I am often tempted to edit rc.single and change the line that starts sysklogd, to avoid the noticeable delay at startup.
<jaeger>
Like anything else an init system is a subjective choice. If you want to replace sysvinit with something else that has more features, you're of course free to do that on your own systems
<zorz>
syvinit of crux runs good. no need to change for myself.
<zorz>
as a matter of fact the best part of CRUX is that gives you the freedom to do whateveer you like with your system. Hassle-free
zorz has quit [Quit: leaving]
ppetrov^ has joined #crux
serpente has joined #crux
zorz has joined #crux
kh1b has quit [Remote host closed the connection]
_moth_ has quit [Ping timeout: 272 seconds]
darfo has quit [Ping timeout: 252 seconds]
ukky has quit [Ping timeout: 255 seconds]
darfo has joined #crux
ukky has joined #crux
brian|lfs has quit [Ping timeout: 252 seconds]
brian|lfs has joined #crux
_moth_ has joined #crux
lavaball has quit [Remote host closed the connection]
ppetrov^ has quit [Quit: Leaving]
chrcav has quit [Ping timeout: 252 seconds]
chrcav has joined #crux
zorz has quit [Ping timeout: 248 seconds]
zorz has joined #crux
uwumeowmeow has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]