Switching old sysvinit Sid install to using runit-run?

Forum › Forums › News › Sid Upgraders › Switching old sysvinit Sid install to using runit-run?

  • This topic has 20 replies, 7 voices, and was last updated Oct 5-9:02 am by Brian Masinick.
Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #184409
    stevesr0
    Member

      Anybody tried runit-run on an existing Sid install?

      I understand that this enables use of runit on an existing Sid install that has sysvinit as its init.

      (Asking this, because I understand sysvinit is being likely being phased out and I don’t know whether upgrades in packages will be incompatible with an old sysvinit installed.)

      #184414
      rokytnji
      Forum Admin

        Me, running stable full iso runit can only show the difference in my install.

        $ locate runit
        /etc/runit
        /etc/runit-core
        /etc/default/runit-antix
        /etc/runit/1
        /etc/runit/2
        /etc/runit/3
        /etc/runit/ctrlaltdel
        /etc/runit/runsvdir
        /etc/runit/runsvdir/current
        /etc/runit/runsvdir/default
        /etc/runit/runsvdir/previous
        /etc/runit/runsvdir/single
        /etc/runit/runsvdir/solo
        /etc/runit/runsvdir/svmanaged
        /etc/runit/runsvdir/default/.forced-rescan
        /etc/runit/runsvdir/default/bluetooth
        /etc/runit/runsvdir/default/connman
        /etc/runit/runsvdir/default/cups
        /etc/runit/runsvdir/default/dbus
        /etc/runit/runsvdir/default/getty-tty1
        /etc/runit/runsvdir/default/getty-tty2
        /etc/runit/runsvdir/default/getty-tty3
        /etc/runit/runsvdir/default/getty-tty4
        /etc/runit/runsvdir/default/getty-tty5
        /etc/runit/runsvdir/default/getty-tty6
        /etc/runit/runsvdir/default/seatd
        /etc/runit/runsvdir/default/slimski
        /etc/runit/runsvdir/default/ssh
        /etc/runit/runsvdir/default/udevd
        /etc/runit/runsvdir/default/ufw
        /etc/runit/runsvdir/single/sulogin
        /etc/runit/runsvdir/single/sulogin/run
        /etc/runit/runsvdir/solo/getty-tty1
        /etc/runit/runsvdir/solo/getty-ttyS0
        /etc/runit-core/K13brightness
        /etc/runit-core/K14networking
        /etc/runit-core/K15live-changes
        /etc/runit-core/S01console-setup.sh
        /etc/runit-core/S01hostname.sh
        /etc/runit-core/S01mountkernfs.sh
        /etc/runit-core/S02udev
        /etc/runit-core/S03mountdevsubfs.sh
        /etc/runit-core/S04keyboard-setup.sh
        /etc/runit-core/S05hwclock.sh
        /etc/runit-core/S06checkroot.sh
        /etc/runit-core/S07cryptdisks-early
        /etc/runit-core/S08checkroot-bootclean.sh
        /etc/runit-core/S08kmod
        /etc/runit-core/S08nfs-common
        /etc/runit-core/S09cryptdisks
        /etc/runit-core/S10checkfs.sh
        /etc/runit-core/S11mount-configfs
        /etc/runit-core/S11mountall.sh
        /etc/runit-core/S12mountall-bootclean.sh
        /etc/runit-core/S13brightness
        /etc/runit-core/S13procps
        /etc/runit-core/S13resolvconf
        /etc/runit-core/S13urandom
        /etc/runit-core/S14networking
        /etc/runit-core/S15mountnfs.sh
        /etc/runit-core/S16mountnfs-bootclean.sh
        /etc/runit-core/S17alsa-utils
        /etc/runit-core/S17bootmisc.sh
        /etc/runit-core/S17lm-sensors
        /etc/runit-core/S17x11-common
        /home/harry/Wallpaper/antix-runit.jpg
        /usr/lib/runit
        /usr/lib/runit-helper
        /usr/lib/runit/async-timeout
        /usr/lib/runit/finish-default
        /usr/lib/runit/invoke-depend
        /usr/lib/runit/invoke-run
        /usr/lib/runit/run_sysv_scripts
        /usr/lib/runit/runit-init
        /usr/lib/runit/runlevel
        /usr/lib/runit/shutdown
        /usr/lib/runit/stop_sysv_scripts
        /usr/lib/runit/user-service-start
        /usr/lib/runit-helper/runit-helper
        /usr/local/bin/runit-service-manager.sh
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core/S01console-setup.sh
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core/S02udev
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core/S04keyboard-setup.sh
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core/S05hwclock.sh
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core/S08kmod
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core/S10checkfs.sh
        /usr/local/share/live-files/files/etc/init.d/debian/runit-core/S17lm-sensors
        /usr/local/share/live-files/general-files/etc/default/runit-antix
        /usr/sbin/runit
        /usr/share/runit
        /usr/share/antiX/FAQ/images/runit-service-manager.jpg
        /usr/share/applications/runit-service-manager.desktop
        /usr/share/doc/runit
        /usr/share/doc/runit-antix
        /usr/share/doc/runit-core-services-antix
        /usr/share/doc/runit-full-core-services-antix
        /usr/share/doc/runit-helper
        /usr/share/doc/runit-init-antix
        /usr/share/doc/runit-service-manager
        /usr/share/doc/runit-services-net-antix
        /usr/share/doc/runit/html
        /usr/share/doc/runit/html/benefits.html
        /usr/share/doc/runit/html/dependencies.html
        /usr/share/doc/runit/html/faq.html
        /usr/share/doc/runit/html/index.html
        /usr/share/doc/runit/html/install.html
        /usr/share/doc/runit/html/replaceinit.html
        /usr/share/doc/runit/html/runlevels.html
        /usr/share/doc/runit/html/runscripts.html
        /usr/share/doc/runit/html/upgrade.html
        /usr/share/doc/runit/html/usedietlibc.html
        /usr/share/doc/runit/html/useinit.html
        /usr/share/doc/runit-antix/FAQ
        /usr/share/doc/runit-antix/NEWS.Debian.gz
        /usr/share/doc/runit-antix/README
        /usr/share/doc/runit-antix/THANKS
        /usr/share/doc/runit-antix/buildinfo_amd64.gz
        /usr/share/doc/runit-antix/changelog.Debian.gz
        /usr/share/doc/runit-antix/changelog.gz
        /usr/share/doc/runit-antix/copyright
        /usr/share/doc/runit-core-services-antix/changelog.gz
        /usr/share/doc/runit-core-services-antix/copyright
        /usr/share/doc/runit-full-core-services-antix/copyright
        /usr/share/doc/runit-helper/copyright
        /usr/share/doc/runit-init-antix/NEWS.Debian.gz
        /usr/share/doc/runit-init-antix/buildinfo_all.gz
        /usr/share/doc/runit-init-antix/changelog.Debian.gz
        /usr/share/doc/runit-init-antix/changelog.gz
        /usr/share/doc/runit-init-antix/copyright
        /usr/share/doc/runit-service-manager/changelog.gz
        /usr/share/doc/runit-service-manager/copyright
        /usr/share/doc/runit-services-net-antix/copyright
        /usr/share/doc-base/runit-antix.runit
        /usr/share/icons/papirus-antix/24x24/apps/peerunity.png
        /usr/share/icons/papirus-antix/48x48/apps/peerunity.png
        /usr/share/lintian/overrides/runit-antix
        /usr/share/locale/ca/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/cs/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/de/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/el/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/es/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/es_ES/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/fi/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/fr/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/fr_BE/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/gl_ES/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/hu/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/it/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/ja/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/nb/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/nl/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/nl_BE/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/pt/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/pt_BR/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/ru/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/ru_RU/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/sl/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/sq/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/sv/LC_MESSAGES/runit-service-manager.mo
        /usr/share/locale/tr/LC_MESSAGES/runit-service-manager.mo
        /usr/share/man/man8/runit-init.8.gz
        /usr/share/man/man8/runit.8.gz
        /usr/share/runit/meta
        /usr/share/runit/sv
        /usr/share/runit/meta/acpid
        /usr/share/runit/meta/getty-hvc0
        /usr/share/runit/meta/getty-tty1
        /usr/share/runit/meta/getty-tty2
        /usr/share/runit/meta/getty-tty3
        /usr/share/runit/meta/getty-tty4
        /usr/share/runit/meta/getty-tty5
        /usr/share/runit/meta/getty-tty6
        /usr/share/runit/meta/getty-ttyS0
        /usr/share/runit/meta/ssh
        /usr/share/runit/meta/acpid/installed
        /usr/share/runit/meta/getty-hvc0/installed
        /usr/share/runit/meta/getty-tty1/installed
        /usr/share/runit/meta/getty-tty2/installed
        /usr/share/runit/meta/getty-tty3/installed
        /usr/share/runit/meta/getty-tty4/installed
        /usr/share/runit/meta/getty-tty5/installed
        /usr/share/runit/meta/getty-tty6/installed
        /usr/share/runit/meta/getty-ttyS0/installed
        /usr/share/runit/meta/ssh/installed
        /usr/share/runit/sv/acpi-support
        /usr/share/runit/sv/anacron
        /usr/share/runit/sv/avahi-daemon
        /usr/share/runit/sv/bluetooth
        /usr/share/runit/sv/connman
        /usr/share/runit/sv/cron
        /usr/share/runit/sv/cups
        /usr/share/runit/sv/dbus
        /usr/share/runit/sv/dhclient
        /usr/share/runit/sv/gpm
        /usr/share/runit/sv/haveged
        /usr/share/runit/sv/rpcbind
        /usr/share/runit/sv/rsync
        /usr/share/runit/sv/saned
        /usr/share/runit/sv/seatd
        /usr/share/runit/sv/slimski
        /usr/share/runit/sv/udevd
        /usr/share/runit/sv/ufw
        /usr/share/runit/sv/acpi-support/finish
        /usr/share/runit/sv/acpi-support/run
        /usr/share/runit/sv/anacron/finish
        /usr/share/runit/sv/anacron/run
        /usr/share/runit/sv/avahi-daemon/finish
        /usr/share/runit/sv/avahi-daemon/log
        /usr/share/runit/sv/avahi-daemon/run
        /usr/share/runit/sv/avahi-daemon/log/run
        /usr/share/runit/sv/bluetooth/finish
        /usr/share/runit/sv/bluetooth/run
        /usr/share/runit/sv/connman/finish
        /usr/share/runit/sv/connman/run
        /usr/share/runit/sv/cron/finish
        /usr/share/runit/sv/cron/run
        /usr/share/runit/sv/cups/finish
        /usr/share/runit/sv/cups/run
        /usr/share/runit/sv/dbus/check
        /usr/share/runit/sv/dbus/finish
        /usr/share/runit/sv/dbus/run
        /usr/share/runit/sv/dhclient/finish
        /usr/share/runit/sv/dhclient/run
        /usr/share/runit/sv/gpm/finish
        /usr/share/runit/sv/gpm/run
        /usr/share/runit/sv/haveged/finish
        /usr/share/runit/sv/haveged/run
        /usr/share/runit/sv/rpcbind/check
        /usr/share/runit/sv/rpcbind/finish
        /usr/share/runit/sv/rpcbind/run
        /usr/share/runit/sv/rsync/finish
        /usr/share/runit/sv/rsync/run
        /usr/share/runit/sv/saned/finish
        /usr/share/runit/sv/saned/run
        /usr/share/runit/sv/seatd/run
        /usr/share/runit/sv/slimski/finish
        /usr/share/runit/sv/slimski/run
        /usr/share/runit/sv/udevd/check
        /usr/share/runit/sv/udevd/finish
        /usr/share/runit/sv/udevd/run
        /usr/share/runit/sv/ufw/finish
        /usr/share/runit/sv/ufw/run
        /usr/share/zsh/functions/Completion/Unix/_runit
        /var/lib/dpkg/info/runit-antix.conffiles
        /var/lib/dpkg/info/runit-antix.list
        /var/lib/dpkg/info/runit-antix.md5sums
        /var/lib/dpkg/info/runit-antix.postinst
        /var/lib/dpkg/info/runit-antix.postrm
        /var/lib/dpkg/info/runit-antix.preinst
        /var/lib/dpkg/info/runit-core-services-antix.conffiles
        /var/lib/dpkg/info/runit-core-services-antix.list
        /var/lib/dpkg/info/runit-core-services-antix.md5sums
        /var/lib/dpkg/info/runit-core-services-antix.postinst
        /var/lib/dpkg/info/runit-full-core-services-antix.conffiles
        /var/lib/dpkg/info/runit-full-core-services-antix.list
        /var/lib/dpkg/info/runit-full-core-services-antix.md5sums
        /var/lib/dpkg/info/runit-full-core-services-antix.postinst
        /var/lib/dpkg/info/runit-helper.list
        /var/lib/dpkg/info/runit-helper.md5sums
        /var/lib/dpkg/info/runit-init-antix.list
        /var/lib/dpkg/info/runit-init-antix.md5sums
        /var/lib/dpkg/info/runit-service-manager.list
        /var/lib/dpkg/info/runit-service-manager.md5sums
        /var/lib/dpkg/info/runit-services-net-antix.list
        /var/lib/dpkg/info/runit-services-net-antix.md5sums
        /var/lib/dpkg/info/runit-services-net-antix.postinst
        /var/lib/dpkg/info/runit-services-net-antix.postrm
        /var/log/runit
        /var/log/runit/bluetooth
        /var/log/runit/connman
        /var/log/runit/ssh
        /var/log/runit/bluetooth/@40000000668c0746330e3a84.u
        /var/log/runit/bluetooth/@4000000066ec77a5082624bc.u
        /var/log/runit/bluetooth/@400000006758b1760216437c.u
        /var/log/runit/bluetooth/@400000006762fb18235e216c.u
        /var/log/runit/bluetooth/@40000000678abe31041a4524.u
        /var/log/runit/bluetooth/@40000000682a621c22507a2c.u
        /var/log/runit/bluetooth/current
        /var/log/runit/bluetooth/lock
        /var/log/runit/connman/@40000000682a621c2330b86c.u
        /var/log/runit/connman/current
        /var/log/runit/connman/lock
        $ 
        
        $ locate sysvinit
        /usr/share/doc/sysvinit-utils-antix
        /usr/share/doc/nftables/examples/sysvinit
        /usr/share/doc/nftables/examples/sysvinit/README
        /usr/share/doc/nftables/examples/sysvinit/nftables.init
        /usr/share/doc/sysvinit-utils-antix/copyright
        /var/lib/dpkg/info/sysvinit-utils-antix.list
        /var/lib/dpkg/info/sysvinit-utils-antix.md5sums
        

        Sometimes I drive a crooked road to get my mind straight.
        I don't suffer from insanity. I enjoy every minute of it.
        Motorcycle racing is rocket science.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #184428
        stevesr0
        Member

          Hi rokytnji,

          “No”, as you haven’t used runit with Sid?

          #184434
          anticapitalista
          Forum Admin

            Just keep running sysVinit on sid.
            I’s likely to be around for many years to come.

            Just to add that there are more likely to be potential issues for antiX-sid runit users down the line as we transition to using ProwlerGR’s runit-service scripts (using runit syntax) over my runit-core scripts that are sysVinit type scripts.
            The result will be an even purer runit set-up to what we have presently.

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #184438
            stevesr0
            Member

              Hi anticapitalista,

              Happy to do that. I was concerned with future Sid upgrades, Sid sysvinit installs would stop working.

              #184440
              anticapitalista
              Forum Admin

                Hi anticapitalista,

                Happy to do that. I was concerned with future Sid upgrades, Sid sysvinit installs would stop working.

                Our change at antiX is simply that we will no longer produce syVinit live media (iso files).
                It does not mean we won’t keep sysVinit updated on antiX installs.

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #184455
                Brian Masinick
                Moderator

                  Also I noticed that sysVinit has package updates in 2023 and 2024, so it is getting occasional changes, and if they are minor that is good.

                  I have two sysVinit images and they continue to work fine.

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

                  #184472
                  stevesr0
                  Member

                    Thanks anticapitalista for clarifying that.

                    #184480
                    olsztyn
                    Member

                      Just to add that there are more likely to be potential issues for antiX-sid runit users down the line as we transition to using ProwlerGR’s runit-service scripts (using runit syntax) over my runit-core scripts that are sysVinit type scripts.
                      The result will be an even purer runit set-up to what we have presently.

                      I am looking forward to ProwlerGR runit scripts in antiX 25. From what I understand they represent not only a purer way of runit but also more in line with Debian. Please anyone correct me if I am wrong…

                      Live antiX Boot Options (Previously posted by Xecure):
                      http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                      #184487
                      anticapitalista
                      Forum Admin

                        Just to add that there are more likely to be potential issues for antiX-sid runit users down the line as we transition to using ProwlerGR’s runit-service scripts (using runit syntax) over my runit-core scripts that are sysVinit type scripts.
                        The result will be an even purer runit set-up to what we have presently.

                        I am looking forward to ProwlerGR runit scripts in antiX 25. From what I understand they represent not only a purer way of runit but also more in line with Debian. Please anyone correct me if I am wrong…

                        Debian is not interested in alternative inits to systemd, despite their claims otherwise.
                        Debian runit is totally dependent on sysVinit.
                        antiX and ProwlerGR implementation of runit are not.

                        Philosophers have interpreted the world in many ways; the point is to change it.

                        antiX with runit - leaner and meaner.

                        #184488
                        olsztyn
                        Member

                          Debian is not interested in alternative inits to systemd, despite their claims otherwise.
                          Debian runit is totally dependent on sysVinit.

                          Thank you for pointing this out. Understood now.
                          So antiX way or ProwlerGR way it is the right way. As mentioned in another thread, antiX will transition to ProwlerGR way of runit, totally independent from sysvinit. As sysvinit will be out, I am looking forward to the most pure and most natural and independent runit implementation.
                          Hopefully dinit and s6-rc will be the two other viable options.
                          I greatly appreciate what ProwlerGR contributed to antiX and hopefully the idea of antiX shipping with runit as default and + s6-rc antiX 25 will come to us soon to test.

                          Live antiX Boot Options (Previously posted by Xecure):
                          http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                          #184489
                          anticapitalista
                          Forum Admin

                            Just to be clear that antiX runit implementation since 2022 (maybe earlier) has been totally independent of sysVinit.
                            The antiX core runit scripts were not dependent on sysVinit being installed. They were independent.
                            The only connection to sysVinit was in the style of the script.
                            ProwlerGR and abc-nix took a further step (in different ways) to make such core scripts use a ‘runit’ style syntax.
                            ProwlerGR has gone further by changing his s6 ‘core’ scripts that also had sysVinit syntax to ones now using s6 syntax.
                            Dinit and s6-66 on antiX have always used the upstream syntax.

                            Philosophers have interpreted the world in many ways; the point is to change it.

                            antiX with runit - leaner and meaner.

                            #184491
                            Brian Masinick
                            Moderator

                              @anticapitalista, thank you once again for explaining more about the infrastructure behind process initiation on antiX. I thank everyone, from @Xecure and @abc-nix, for their roles and assistance in developing and updating the techniques and methods. Special thanks to you and @ProwlerGR for further advancements to ensure both syntax consistency and current technology to continue a lean, efficient way to produce our systems.

                              When we were testing the init-diversity tools and methods, I did notice some improvements in syntax and consistency, which would appear to be maintained and improved as we move closer to the next release. Such details are not immediately obvious, but the detailed information reports did reveal important trade-offs between functionality, memory utilization and multiprocessor performance. The sysVinit method has always been memory efficient, but as we know, has not taken best advantage of multiple processors at start up time. For example, I noticed dinit traded off rapid process initiation for slightly greater initial memory use, a very fair trade-off with modern technology; it was still quite efficient despite using a few additional MB.

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

                              #184492
                              olsztyn
                              Member

                                Just to be clear that antiX runit implementation since 2022 (maybe earlier) has been totally independent of sysVinit.
                                The antiX core runit scripts were not dependent on sysVinit being installed. They were independent.
                                The only connection to sysVinit was in the style of the script.

                                Thank you anticapitalista…
                                I re-read the relevant thread of ProwlerGR and I think I understand now this distinction.
                                Looking forward to antiX 25 and testing.

                                Live antiX Boot Options (Previously posted by Xecure):
                                http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                                #184542
                                ProwlerGr
                                Member

                                  Anybody tried runit-run on an existing Sid install?

                                  I understand that this enables use of runit on an existing Sid install that has sysvinit as its init.

                                  (Asking this, because I understand sysvinit is being likely being phased out and I don’t know whether upgrades in packages will be incompatible with an old sysvinit installed.)

                                  I was able to convert the antix-25.a1 to a full init-diversity spin using the script I posted here, chances are it could be adapted to work on a current sid installation (with all precautions for a full backup & restore if something goes wrong).
                                  However a few things will have changed in sid since that release, & as @anticapitalista mentioned the runit version I have packaged & use in the init-diversity spin is a bit different to the official antiX implementation for stage1 services, but all main stage2 service scripts that have been developed by @anticapitalista @abc-nix @Xecure and all other developers during the course of the past few years, work just a fine in both runit implementations.

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