@navi oooh, if you're willing to dip into Debian-land, I'll be following you š
@ska @navi contact the debian-init-diversity mailing list (or #debian-init on OFTC); there are people favouring openrc and/or s6 there as well
(tbh I have never had any interest in alternative inits myself, I even donāt really like sysvinit, I just use it on Debian because itās proven and I know where the downsides are)
might need to talk to a fellow DD about it.
I also want to create a minimal installation script with mmdebstrap, so I don't need to manually purge systemd and reinstall openRC.
- replies
- 2
- announces
- 0
- likes
- 0
next release will support installing scripts to /usr/libexec/rc and /etc/rc so that could also be a way to avoid sysvinit
but really why is debian still shipping sysvinit scripts i thought it had went all in on systemd
Unfortunately most heavily favour systemd, and even a (hidden) option in the installer is likely not happening.
having you come along would be nice i think, getting both openrc and s6 properly setup
currently iirc /etc/init.d is still first but i'm pretty sure we can change that, and that'd be for the best
@werdahias @navi @ska I do not run elogind
@werdahias @navi @ska long as it doesnāt break the current sysvinit setupā¦
@navi I'm thinking that we could work on the common declarative format first, then write sysvinit and systemd backends as well, so we could arrive with a migration plan already shrink-wrapped.
If things go well I may be funded to do the declarative format this summer.
i am a bit worried about the declarative format being way too limited by only being able to express the common subset of all service managers, and end up missing on stronger points of each individual one
but maybe we can design something that works well given the limitation
That said depends on goals but could be a way to make switching to new service managers easier, so like a distro doesn't suddenly needs to write thousands of scripts / figure a lengthy migration method.
it's annoying to rip systemd out but feasible
the resolution was to prioritize systemd but not remove other inits iirc (paraphrasing)
@werdahias correction because i just checked, the code on master currently goes
/etc/rc/init.d
/etc/init.d
/usr/local/etc/rc/init.d
/usr/local/etc/init.d
/usr/libexec/rc/init.d
meaning /etc/rc goes first, but the sysvinit ones would still go above the ones in the /usr tree (a lot of distros want to ship init scripts to /usr, so)
moving init script to /usr *one day* would be good... i wonder if eventually we could have a build-time opt to disable /etc/init.d as a whole
but that would mean the sysvinit ones would take priority, so we can't, and instead have to ship them in /etc/rc
but if we could one day remove /etc/init.d from the default search path, then libexec/rc is usable again