SOLVED An odd topic for the antiX forum – but how do I add systemd to antiX 26?

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.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #201386
    andyprough
    Member

      I 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.
      #201388
      Brian Masinick
      Moderator

        Andy, 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 page

        #201389
        Robin
        Member

          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.

          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.

          #201390
          anticapitalista
          Forum Admin

            I’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.

            #201401
            Dave
            Forum Admin

              What 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

              #201405
              andyprough
              Member

                I’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.

                #201407
                Brian Masinick
                Moderator

                  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.

                  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 page

                  #201409
                  Brian Masinick
                  Moderator

                    forum.mxlinux.org/viewtopic.php?p=766560&sid=11e0a032f36a1aef50a250cc2bba978c

                    --
                    Brian Masinick
                    Alternate "Search B":
                    This search page

                    #201411
                    ProwlerGr
                    Member

                      Yes 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.

                      #201413
                      andyprough
                      Member

                        Yes 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.

                        #201415
                        sybok
                        Member

                          I 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.

                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • You must be logged in to reply to this topic.