antix-23-2-init-diversity-2025-remaster-edition

"prowler_gr.yahoo.gr via supervision" <[email protected]> Sat, 31 May 2025 15:42:20 +0000 (UTC)
Newsgroups gmane.comp.sysutils.supervision.general,gmane.linux.devuan.devel
Message-ID <[email protected]>
------=_Part_5738981_1060789942.1748706140665
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Main thread in the=C2=A0antiX forum but I thought I'd post here as well (fo=
r those interested)

I am proud to announce the release of my antiX-23.2 - init-diversity - 2025=
 remaster edition which includes 6 inits (sysvinit - s6-rc - s6-66 - OpenRC=
 - dinit - runit).

Download link:antiX-23.2_init-diversity_2025-remaster-edition

user: demo
passwd: demo
root passwd: root

A big thanks to @calciumsodium=C2=A0 @masinick=C2=A0 @ile from the antiX fo=
rum for testing & reporting bugs on the original 20250510 & 20250512 iso's.=
=C2=A0

A special thanks also to @eric from Obarun for providing guidance about get=
ting 66 properly working on antiX, which in my humble opinion is the pinnac=
le of this respin.

From a users point of view, you will not notice much of a difference from t=
he original spin apart from the presence of dinit & the new dialogbox GUI t=
hat I ported from runit & s6-rc - but from a developers/maintainers point o=
f view the leap is very huge:

This release is much more than just another respin as it includes a lot per=
sonal work from myself to port various packages and scripts from upstream &=
 other distro's.=C2=A0
I must mention that a lot of effort has been put to create a turnkey soluti=
on in terms of packaging the various services to handle dependencies & crea=
te the proper scripts to enable/start them.

To install from a clean antiX-23.2_x64-full.iso or antiX-23.2_386-full.iso=
=C2=A0you can use the following script & adapt to your taste=C2=A0

NOTE: Repo lines have changed from previous spin

#!/bin/bash

[ "$UID" -eq 0 ] || exec sudo bash "$0" "$@"

echo "adding ProwlerGr init-diversity repo"
wget http://init-diversity.duckdns.org:8080/--gpg-key/init-diversity-repo.g=
pg -O /etc/apt/trusted.gpg.d/init-diversity-repo.gpg
echo "deb http://init-diversity.duckdns.org:8080/ init-diversity antix
deb-src http://init-diversity.duckdns.org:8080/ init-diversity antix" > /et=
c/apt/sources.list.d/init-diversity.list
echo "renaming runit (if it exists) for a safe upgrade"
if [ -e /sbin/runit ]; then mv /sbin/runit /sbin/runit-bak; fi
sudo apt update && sudo apt -y dist-upgrade
echo "adding sysvinit related packages"
sudo apt -y install sysvinit-init-diversity
echo "adding s6-rc related packages"
sudo apt -y install s6-rc-init-diversity s6-rc-service-connmand s6-rc-servi=
ce-slimski s6-rc-dialogbox-manager
echo "adding s6-66 related packages"
sudo apt -y install s6-66-init-diversity 66-service-connmand 66-service-sli=
mski
echo "adding dinit related packages"
sudo apt -y install dinit-init-diversity dinit-service-connmand dinit-servi=
ce-slimski dinit-dialogbox-manager
echo "adding openrc related packages"
sudo apt -y install openrc-init-diversity
echo "adding development packages for compiling software from ProwlerGr rep=
os"
sudo apt -y install build-essential git-buildpackage dh-exec lintian libexe=
cline-dev libglib2.0-dev po4a lowdown dh-runit libaudit-dev libcap-dev libp=
am0g-dev meson dh-sysuser doc-base libdbus-1-dev libcryptsetup-dev libblkid=
-dev libmount-dev libfdisk-dev libpolkit-gobject-1-dev libfido2-dev antix23=
-desktop-files iso-template-init-diversity
echo "restoring runit (if it was renamed to runit-bak)"
if [ -e /sbin/runit-bak ]; then mv /sbin/runit-bak /sbin/runit; fi
echo "adding runit related packages - this is best to be done last"
sudo apt -y install runit-init-diversity runit-service-boot-module runit-se=
rvice-connmand runit-service-slimski runit-service-dbus runit-service-udevd=
 runit-service-manager

init-diversity_live-grub

Changelog:

Sysvinit:
 =E2=80=93 Bumped to 3.14-4 (backported from Trixie)
 =E2=80=93 A new metapackage sysvinit-init-diversity has been introduced to=
 allow sysvinit to be installed alongside other inits

 OpenRC
 =E2=80=93 Bumped to 0.56-1 (backported from Trixie) & modified dependencie=
s to remove conflicts with sysv-rc
 =E2=80=93 A new metapackage =E2=80=9Copenrc-init-diversity=E2=80=9D has be=
en introduced to allow OpenRC to be installed alongside other inits.
 =E2=80=93 Another metapackage =E2=80=9Copenrc-init=E2=80=9D has been intro=
duced for those who wish to use OpenRC as the sole or default init on their=
 system (or don=E2=80=99t care for other inits).

 Dinit:
 =E2=80=93 Bumped to 0.19.4 (built from upstream)
 =E2=80=93 A new metapackage =E2=80=9Cdinit-init-diversity=E2=80=9D has bee=
n introduced to allow dinit to be installed alongside other inits.
 =E2=80=93 A new metapackage =E2=80=9Cdinit-init=E2=80=9D has been introduc=
ed for those who wish to use dinit as the sole or default init on their sys=
tem (or don=E2=80=99t care for other inits).
 =E2=80=93 A new GUI =E2=80=9CDinit-Dialogbox-Manager=E2=80=9D has been dev=
eloped based on dialogbox (similar to the runit-service-manager)
 =E2=80=93 A few sample services have been packaged in a manner to handle s=
ervice & package dependencies.

 s6-66:
 =E2=80=93 Bumped to 66 version 0.8.0.2 (built from upstream) =E2=80=93 Thi=
s is an upgrade & incompatible to the previous 0.7.0.0 version which was pr=
esent in last years spin
 =E2=80=93 A new metapackage =E2=80=9Cs6-66-init-diversity=E2=80=9D has bee=
n introduced to allow s6-66 to be installed alongside other inits.
 =E2=80=93 Metapackage =E2=80=9Cs6-66-init=E2=80=9D is available for those =
who wish to use s6-66 as the sole or default init on their system (or don=
=E2=80=99t care for other inits).
 =E2=80=93 Numerous services have been packaged in a manner to handle servi=
ce dependencies =E2=80=93 package dependencies & compilations automatically=
 with updated maintainer scripts.

 s6-rc:
 =E2=80=93 Bumped to newer versions of skalibs =E2=80=93 execline =E2=80=93=
 s6 =E2=80=93 s6-rc =E2=80=93 s6-linux-init =E2=80=93 s6-linux-utils =E2=80=
=93 s6-portable-utils.
 =E2=80=93 A new metapackage =E2=80=9Cs6-rc-init-diversity=E2=80=9D has bee=
n introduced to allow s6-rc to be installed alongside other inits.
 =E2=80=93 Metapackage =E2=80=9Cs6-rc-init=E2=80=9D is available for those =
who wish to use s6-rc as the sole or default init on their system (or don=
=E2=80=99t care for other inits).
 =E2=80=93 The whole ecosystem has been reconfigured & therefore incompatib=
le with last years version due to the following reasons:
 =E2=80=93 A new optimised boot-module has been created which has dropped t=
he majority of the previous bash scripts (from sysvinit) that were present =
in last years spin.
 =E2=80=93 Everything now is mostly execline (which is lean & mean to steal=
  @anticapitalista=E2=80=99s line)
 =E2=80=93 The s6-db-reload script has been ported from Artix & is availabl=
e to handle database compilations.
 =E2=80=93 Numerous services have been packaged in a manner to handle servi=
ce dependenies =E2=80=93 package dependencies & compilations automatically =
with assistance of the above tool
 =E2=80=93 The s6-rc-dialogbox-manager (former s6-rc-service-manager) has b=
een reconfigured to utilise the same tool for compilations

 Runit:
 =E2=80=93 Bumped to 2.2.0-3 (backported from Trixie)
 =E2=80=93 A new metapackage =E2=80=9Crunit-init-diversity=E2=80=9D has bee=
n introduced to allow runit to be installed alongside other inits.
 =E2=80=93 The already available =E2=80=9Crunit-init=E2=80=9D is there for =
those who wish to use runit as the sole or default init on their system (or=
 don=E2=80=99t care for other inits).
 =E2=80=93 A new boot module has been created allowing for runit to be run =
pure without reliance on sysvinit folders or scripts
 =E2=80=93 A few services have been packaged in a manner to handle service =
& package dependencies.=20

A couple of notes on runit:

I understand the packaged services weren=E2=80=99t necessary for antiX as  =
@anticapitalista already includes the service files in packages.
However antiX has chosen to use post-install scripts to forcibly remove sys=
vinit scripts =E2=80=93 which is very bad for a multi init system & also br=
eaks the dpkg/apt database.

In other words if you have runit installed & you do an upgrade on a package=
 (eg slimski as an example), the post-install script will remove the sysvin=
it script if it detects /sbin/runit, so you won=E2=80=99t be able to enable=
 slimski for sysvinit or OpenRC.
As a workaround one should rename /sbin/runit to eg /sbin/runit-bak, do the=
 apt upgrade or apt install & then reinstate /sbin/runit to maintain the fu=
ll multi-init system.

The packaging format I have provided is my humble suggestion to the antiX d=
evelopers for future runit service packaging which includes sysvinit blocke=
rs instead of removing sysvinit scripts.
Refer to post-176918 about sysv blockers under /etc/runit/override-sysv.d
These runit-service packaged scripts (with their blockers) can be either be=
 absorbed by the main packages =E2=80=93 or =E2=80=93 neater to be kept sep=
arate & added as dependencies to the main packages.

More to come=E2=80=A6



------=_Part_5738981_1060789942.1748706140665--