Forum › Forums › General › Software › SOLVED An odd topic for the antiX forum – but how do I add systemd to antiX 26?
- This topic has 10 replies, 7 voices, and was last updated Apr 10-12:04 am by sybok.
-
AuthorPosts
-
April 9, 2026 at 1:27 pm #201386
andyproughMemberI have a couple of programs on my work computers that require they be installed and updated in a systemd session, although they then run fine on a daily basis in non-systemd sessions. This is most obvious when using MX Linux – I can reboot into a systemd session to install and update the programs, but then reboot again into a sysvinit session to run them during the long months when there are no updates. I’d like to try this on antiX as I would prefer to run s6 on certain systems over running sysvinit. It would be interesting to see if the programs would install with systemd and then run on a daily basis with s6.
Maybe @ProwlerGr can tell me if this is at all possible.
- This topic was modified 5 months, 2 weeks ago by andyprough.
April 9, 2026 at 2:18 pm #201388
Brian MasinickModeratorAndy, I am confident that as long as a program is properly built, it should run on any system capable of running the execution image.
--
Brian Masinick
Alternate "Search B":
This search pageApril 9, 2026 at 2:29 pm #201389Robin
MemberI can reboot into a systemd session to install and update the programs, but then reboot again into a sysvinit session to run them during the long months when there are no updates.
Then no need to force systemd upon antiX. If so, the proper path to follow is simply to remove the false systemd dependencies from the installer packages… @anticapitalista could possibly help, if you let us know what programs you are talking about.
Windows is like a submarine. Open a window and serious problems will start.
April 9, 2026 at 2:40 pm #201390
anticapitalistaForum AdminI’m guessing that the apps are non-free
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 9, 2026 at 6:05 pm #201401
DaveForum AdminWhat is the method of installation for these programs.
Normally for .deb files that have systemd as a dependency you can make a directory with the same name as the deb package, minus the .deb portion, extract the deb file into that folder with dpkg -x *.deb ./pkgname and dpkg -e *.deb ./*pkgname*/DEBIAN/. Then in that folder edit the DEBIAN/control file removing the systemd components from the dependency list. Save the file. Then in the directory containing the directory you named the same as the deb file; run dpkg -b *pkgname*. After it builds install the package.Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
April 9, 2026 at 6:59 pm #201405
andyproughMemberI’m guessing that the apps are non-free
Non-free in terms of $$$$. Which means Andy is not supposed to get all hacky with them, because apparently our vendors don’t like supporting software that Andy’s been hacking on for some strange reason.
I told @ProwlerGr a few months ago that I would be bringing up this question about getting s6 and systemd playing together, so that s6 could do most of the day-to-day heavy lifting. To which @ProwlerGr at the time responded, “hold that thought until antiX 26 is released”, or something of that nature. And now antiX 26 is released, and here I am.
The other idea, which is also attractive in its own odd way, is adding s6 to MX. Actually, that would probably be a great thing for MX, to begin to see a possible future with something with more features/functions than sysvinit.
April 9, 2026 at 7:30 pm #201407
Brian MasinickModeratorThe other idea, which is also attractive in its own odd way, is adding s6 to MX. Actually, that would probably be a great thing for MX, to begin to see a possible future with something with more features/functions than sysvinit.
I could be wrong but I thought that @ProwlerGr at one point offered init-diversity to MX and maybe Debian.
If that’s actually the case perhaps it’s still available. Is this true or is it just my imagination?
--
Brian Masinick
Alternate "Search B":
This search pageApril 9, 2026 at 7:38 pm #201409
Brian MasinickModeratorforum.mxlinux.org/viewtopic.php?p=766560&sid=11e0a032f36a1aef50a250cc2bba978c
--
Brian Masinick
Alternate "Search B":
This search pageApril 9, 2026 at 8:28 pm #201411ProwlerGr
MemberYes I had kinda promised an MX-25 init-diversity respin after the dust settles with the antiX-26 official release.
I just need to find some time to get around to it.April 9, 2026 at 8:51 pm #201413
andyproughMemberYes I had kinda promised an MX-25 init-diversity respin after the dust settles with the antiX-26 official release.
I just need to find some time to get around to it.Excellent news, looking forward to it! You’re truly the best.
April 10, 2026 at 12:04 am #201415
sybokMemberI have a couple of programs on my work computers that require they be installed and updated in a systemd session
0) Repack the package without ‘systemd’ as suggested by @dave – probably the safest way concerning the OS, if feasible.
1) Modify content of ‘/etc/apt/preferences.d/00systemd’ (comment out or set a very low positive priority) and install systemd (carefully observing what gets pulled in as a result).
I noticed that some init-diversity scripts contained ‘systemd’ in them as an option (in an if-elif-else block), fingers crossed.
Once done, remove ‘systemd’ because it could mess up your system’s other inits by pulling in versions tied to ‘systemd’ and restore the modified preferences to the original value.HACK: If you have a sufficiently strong HW and licencing of the $$$$ programs permits it, try 1) in a virtual machine (with a shared folder) first, copy the content of updated packages (found through ‘apt-file search’) to your bare-metal antiX install.
-
AuthorPosts
- You must be logged in to reply to this topic.