antiX-23.2 – init-diversity – 2025 remaster edition

Forum › Forums › antiX-development › antiX Respins › antiX-23.2 – init-diversity – 2025 remaster edition

  • This topic has 391 replies, 17 voices, and was last updated Nov 4-12:22 pm by Brian Masinick.
Viewing 15 posts - 31 through 45 (of 392 total)
  • Author
    Posts
  • #176708
    ProwlerGr
    Member

      Hi @anticapitalista

      Has there been a change in where 66 puts its scripts compared to earlier versions?

      Yes & No…
      https://web.obarun.org/software/66/v0.6.1.2/frontend/

      66 (in Obarun) has always intended for packaged services to go under /usr/share/66.
      The /etc/66 folder (which overrides the /usr/share/66) is intended for manual/local edits.

      In the original spin we pretty much created services manually & under /etc/66 once we saw that they worked we packaged them as-is.
      Now I have created (or ported) proper service debs which follow Obarun’s structure under /usr/share/66.

      What happened to the /etc/runit-core scripts and what has replaced them?

      I have not used these at all, I have repackaged the services separately (runit-service-xxxxx). These packages also include sysvinit blockers which is a much more elegant solution than removing sysvinit scripts.

      • This reply was modified 1 year, 4 months ago by ProwlerGr. Reason: typo
      #176709
      Brian Masinick
      Moderator

        I’m fortunate that I didn’t runinto a problem with runit because the system I started from already had a runit configuration; I ran the bash script.

        I tried doing the same thing from the Cana version; that didn’t work, probably because of the held packages.
        However the Cana version as it exists has a nice multi-init configuration too with an Xfce desktop and dinit installed.

        I’m running dinit with it now and sound works.

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

        #176710
        ProwlerGr
        Member

          @calciumsodium

          I got it fixed.

          sudo apt update && sudo apt -y upgrade runit-service-connmand

          Thanks for all the bug reports, I will shortly upload new iso’s soon that have all these resolved.

          #176711
          Anonymous

            @calciumsodium

            I got it fixed.

            sudo apt update && sudo apt -y upgrade runit-service-connmand

            Thanks for all the bug reports, I will shortly upload new iso’s soon that have all these resolved.

            Yes, it works.

            I see what you did:

            
            # Remove /etc/resolv.conf if it is a dead link
            if [ ! -e /etc/resolv.conf ]; then 
            	rm -rf /etc/resolv.conf 
            fi
            

            Remove the dead /etc/resolv.conf symlink first, then start connmand.

            I did not think about this.

            I thought it would overwrite the broken one during boot.

            But I will keep that in mind for future.

            Some other things to consider before publishing another iso:

            1. The shutdown in runit is very slow compared to the other inits.

            How to optimize this?

            2. The /etc/localtime symlink is broken.

            It currently points to /usr/share/zoneinfo/ETC.

            It should point out to the local time that I had accepted during install.

            How to fix this?

            #176725
            ProwlerGr
            Member

              New ISO’s created, the OP links have been updated

              #176728
              anticapitalX
              Member

                New ISO’s created, the OP links have been updated

                thank you for doing this . having multiple init choices is a big step forward for antiX.
                your efforts are highly appreciated 👍

                Let's accept antiX as it is
                Pure and Elegant by its nature

                #176766
                Brian Masinick
                Moderator

                  Thanks for the update @ProwlerGr.

                  More feedback:

                  1) I’m not sure if everything should “work” properly when running from USB;
                  I’m able to boot them; I was able to boot and reboot using OpenRC just fine.
                  That was not the case when I went to s6-66; I’m not sure why; the routines
                  were there, but I couldn’t get them to restart or poweroff my system.
                  2) One thing I should have also mentioned too; like antiX, I can’t run it from
                  boot and get networking without hacking in a kernel from another partition;
                  even that was a challenge the first time; I solved it by using the script
                  from a working system. If you’re willing, it’d be great to include a much
                  newer kernel for the 64-bit version; Cana, a.k.a. @calciumsodium, created
                  his own 6.15 Cana linux image; that works REALLY well for me; in fact, though
                  his “multi-init” respin has other issues that you’ve nicely resolved, his
                  version boots and loads easily on my newest system, so that’s what I’m using
                  now.

                  I will go back to an older system to give your image a closer look.
                  It appears that some things are better; I’d like to see if the items I highlighted
                  above are actually resolved when I run on older hardware.

                  Keep up the good work; it IS looking better than the previous build and
                  a definite upgrade over last year’s model; great concept, and the
                  implementation continues to improve. I’ll give more feedback once I get my
                  other system running.

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

                  #176767
                  Brian Masinick
                  Moderator

                    I’m pleased to report that antiX-23.2 – init-diversity – is booted to the desktop:
                    s6-66 –

                    ps ax | head -2; sudo ps_mem.py; inxi -zv4
                        PID TTY      STAT   TIME COMMAND
                          1 ?        Ss     0:00 /usr/bin/s6-svscan -t 0 -L 256 /run/66/scandir/0
                     Private  +   Shared  =  RAM used	Program
                    
                    152.0 KiB +  24.5 KiB = 176.5 KiB	seatd
                    228.0 KiB +  58.0 KiB = 286.0 KiB	s6-ipcserverd (2)
                    300.0 KiB +  25.5 KiB = 325.5 KiB	acpid
                    316.0 KiB +  65.0 KiB = 381.0 KiB	s6-svscan (2)
                    260.0 KiB + 167.5 KiB = 427.5 KiB	startup
                    272.0 KiB + 155.5 KiB = 427.5 KiB	network-check-a
                    396.0 KiB +  32.5 KiB = 428.5 KiB	66-shutdownd
                    376.0 KiB +  93.5 KiB = 469.5 KiB	dbus-launch
                    372.0 KiB + 118.5 KiB = 490.5 KiB	icewm-session
                    360.0 KiB + 155.5 KiB = 515.5 KiB	udevil
                    416.0 KiB + 114.0 KiB = 530.0 KiB	s6-fdholderd (2)
                    464.0 KiB + 252.5 KiB = 716.5 KiB	agetty (3)
                    668.0 KiB + 310.5 KiB = 978.5 KiB	devmon
                    816.0 KiB + 288.5 KiB =   1.1 MiB	desktop-session
                    944.0 KiB + 309.0 KiB =   1.2 MiB	dbus-daemon (2)
                      1.2 MiB + 213.5 KiB =   1.4 MiB	s6-log (9)
                    900.0 KiB + 741.0 KiB =   1.6 MiB	sudo (2)
                      1.8 MiB + 327.5 KiB =   2.1 MiB	bash
                      1.6 MiB + 613.5 KiB =   2.2 MiB	pipewire-pulse
                      2.1 MiB + 506.5 KiB =   2.6 MiB	conky
                      3.0 MiB + 579.5 KiB =   3.6 MiB	s6-supervise (25)
                      3.7 MiB + 137.5 KiB =   3.9 MiB	connmand
                      3.8 MiB + 561.5 KiB =   4.4 MiB	udevd
                      4.4 MiB + 909.5 KiB =   5.3 MiB	slimski
                      4.7 MiB + 582.5 KiB =   5.3 MiB	at-spi-bus-launcher
                      3.6 MiB +   2.7 MiB =   6.2 MiB	volumeicon
                      5.4 MiB +   1.2 MiB =   6.6 MiB	pipewire
                      7.7 MiB + 543.5 KiB =   8.2 MiB	wpa_supplicant
                      5.8 MiB +   2.5 MiB =   8.3 MiB	zzzfm
                      8.2 MiB +   1.5 MiB =   9.6 MiB	wireplumber
                      7.3 MiB +   4.0 MiB =  11.3 MiB	icewm
                      6.9 MiB +   5.6 MiB =  12.5 MiB	roxterm
                     51.3 MiB +  18.9 MiB =  70.3 MiB	cmst
                     58.9 MiB +  17.7 MiB =  76.6 MiB	Xorg
                    462.5 MiB + 129.1 MiB = 591.6 MiB	firefox-esr (10)
                    ---------------------------------
                                            842.0 MiB
                    =================================
                    System:
                      Kernel: 6.1.105-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc
                        v: 12.2.0
                      Desktop: IceWM v: 3.7.4 Distro: antiX-23.2_x64 May 12 2025 base: Debian
                        GNU/Linux 12 (bookworm)
                    Machine:
                      Type: Laptop System: Dell product: Inspiron 5558 v: N/A
                        serial: <superuser required>
                      Mobo: Dell model: 086DKN v: A00 serial: <superuser required> UEFI: Dell
                        v: A18 date: 12/30/2019
                    Battery:
                      ID-1: BAT0 charge: 30.1 Wh (100.0%) condition: 30.1/41.4 Wh (72.6%)
                        volts: 16.2 min: 14.8 model: Samsung SDI DELL 07G07587587 status: full
                    CPU:
                      Info: dual core model: Intel Core i7-5500U bits: 64 type: MT MCP
                        arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
                      Speed (MHz): avg: 1513 min/max: 500/3000 cores: 1: 1513 2: 1513 3: 1513
                        4: 1513 bogomips: 19157
                      Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
                    Graphics:
                      Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel
                        arch: Gen-8 bus-ID: 00:02.0
                      Device-2: NVIDIA GK208BM [GeForce 920M] vendor: Dell driver: N/A
                        arch: Kepler-2 bus-ID: 08:00.0
                      Device-3: Suyin Integrated_Webcam_HD driver: uvcvideo type: USB
                        bus-ID: 2-5:3
                      Display: server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
                        unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1366x768~60Hz
                      API: OpenGL v: 4.6 vendor: intel mesa v: 22.3.6 glx-v: 1.4
                        direct-render: yes renderer: Mesa Intel HD Graphics 5500 (BDW GT2)
                    Network:
                      Device-1: Intel Wireless 3160 driver: iwlwifi v: kernel bus-ID: 06:00.0
                      IF: wlan0 state: up mac: <filter>
                      Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
                        driver: r8169 v: kernel port: e000 bus-ID: 07:00.0
                      IF: eth0 state: down mac: <filter>
                    Drives:
                      Local Storage: total: 504.9 GiB used: 1.91 GiB (0.4%)
                      ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
                      ID-2: /dev/sdb vendor: PNY model: USB 3.2.1 FD size: 57.77 GiB type: USB
                    Partition:
                      ID-1: swap-1 size: 8 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
                    Info:
                      Memory: total: 8 GiB available: 7.67 GiB used: 1.3 GiB (16.9%)
                      Processes: 183 Uptime: 5m Init: s6
                      Packages: 2054 Compilers: gcc: 12.2.0 Shell: Bash v: 5.2.15 inxi: 3.3.36

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

                    #176774
                    Brian Masinick
                    Moderator

                      I’ve booted into another init – runit; had difficulty rebooting from s6-66; will try again WITHOUT first using the system logout dialogue; that may have caused the problem. Successfully updated inxi as one practical test:

                      ps ax | head -2; sudo ps_mem.py; inxi -zv4y68
                          PID TTY      STAT   TIME COMMAND
                            1 ?        Ss     0:00 runit
                       Private  +   Shared  =  RAM used	Program
                      
                      116.0 KiB +  14.5 KiB = 130.5 KiB	runit
                      132.0 KiB +  17.5 KiB = 149.5 KiB	runsvdir
                      160.0 KiB +  28.5 KiB = 188.5 KiB	seatd
                      300.0 KiB +  28.5 KiB = 328.5 KiB	acpid
                      264.0 KiB + 197.5 KiB = 461.5 KiB	startup
                      376.0 KiB +  87.5 KiB = 463.5 KiB	dbus-launch
                      372.0 KiB + 126.5 KiB = 498.5 KiB	icewm-session
                      364.0 KiB + 160.5 KiB = 524.5 KiB	udevil
                      664.0 KiB + 323.5 KiB = 987.5 KiB	devmon
                      820.0 KiB + 352.5 KiB =   1.1 MiB	desktop-session
                      840.0 KiB + 603.5 KiB =   1.4 MiB	at-spi-bus-launcher
                        1.0 MiB + 465.5 KiB =   1.4 MiB	getty (7)
                      816.0 KiB + 772.0 KiB =   1.6 MiB	sudo (2)
                        1.1 MiB + 486.5 KiB =   1.6 MiB	dbus-daemon (3)
                        1.5 MiB + 346.5 KiB =   1.9 MiB	runsv (17)
                        1.8 MiB + 427.5 KiB =   2.2 MiB	udevd
                        1.6 MiB + 620.5 KiB =   2.2 MiB	pipewire-pulse
                        2.1 MiB + 203.5 KiB =   2.3 MiB	bluetoothd
                        2.0 MiB + 356.5 KiB =   2.3 MiB	bash
                        2.1 MiB + 508.5 KiB =   2.6 MiB	conky
                        2.9 MiB + 425.5 KiB =   3.3 MiB	at-spi2-registryd
                        3.7 MiB + 120.5 KiB =   3.9 MiB	connmand
                        2.8 MiB +   1.5 MiB =   4.2 MiB	sshd
                        4.5 MiB + 988.5 KiB =   5.4 MiB	slimski
                        3.7 MiB +   3.0 MiB =   6.7 MiB	volumeicon
                        5.5 MiB +   1.4 MiB =   6.9 MiB	wpa_supplicant
                        6.8 MiB +   1.3 MiB =   8.1 MiB	pipewire
                        5.9 MiB +   2.8 MiB =   8.7 MiB	zzzfm
                       10.1 MiB +   1.6 MiB =  11.7 MiB	wireplumber
                        8.1 MiB +   3.8 MiB =  12.0 MiB	icewm
                        7.6 MiB +   5.7 MiB =  13.3 MiB	roxterm
                       52.3 MiB +  24.1 MiB =  76.4 MiB	Xorg
                      503.1 MiB + 136.0 MiB = 639.1 MiB	firefox-bin (10)
                      ---------------------------------
                                              824.1 MiB
                      =================================
                      System:
                        Kernel: 6.1.105-antix.1-amd64-smp arch: x86_64 bits: 64
                          compiler: gcc v: 12.2.0
                        Desktop: IceWM v: 3.7.4 Distro: antiX-23.2_x64 May 12 2025
                          base: Debian GNU/Linux 12 (bookworm)
                      Machine:
                        Type: Laptop System: Dell product: Inspiron 5558 v: N/A
                          serial: <superuser required>
                        Mobo: Dell model: 086DKN v: A00 serial: <superuser required>
                          UEFI: Dell v: A18 date: 12/30/2019
                      Battery:
                        ID-1: BAT0 charge: 30.1 Wh (100.0%)
                          condition: 30.1/41.4 Wh (72.6%) volts: 16.2 min: 14.8
                          model: Samsung SDI DELL 07G07587587 status: full
                      CPU:
                        Info: dual core model: Intel Core i7-5500U bits: 64 type: MT MCP
                          arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
                        Speed (MHz): avg: 500 min/max: 500/3000 cores: 1: 500 2: 500
                          3: 500 4: 500 bogomips: 19154
                        Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
                          vmx
                      Graphics:
                        Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915
                          v: kernel arch: Gen-8 bus-ID: 00:02.0
                        Device-2: NVIDIA GK208BM [GeForce 920M] vendor: Dell
                          driver: N/A arch: Kepler-2 bus-ID: 08:00.0
                        Device-3: Suyin Integrated_Webcam_HD driver: uvcvideo type: USB
                          bus-ID: 2-5:3
                        Display: server: X.Org v: 1.21.1.7 driver: X:
                          loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
                          resolution: 1366x768~60Hz
                        API: OpenGL v: 4.6 vendor: intel mesa v: 22.3.6 glx-v: 1.4
                          direct-render: yes renderer: Mesa Intel HD Graphics 5500 (BDW
                          GT2)
                        Info: Tools: api: eglinfo,glxinfo x11: xdriinfo, xdpyinfo,
                          xprop, xrandr
                      Network:
                        Device-1: Intel Wireless 3160 driver: iwlwifi v: kernel
                          bus-ID: 06:00.0
                        IF: wlan0 state: up mac: <filter>
                        Device-2: Realtek RTL810xE PCI Express Fast Ethernet
                          vendor: Dell driver: r8169 v: kernel port: e000 bus-ID: 07:00.0
                        IF: eth0 state: down mac: <filter>
                      Drives:
                        Local Storage: total: 504.9 GiB used: 1.91 GiB (0.4%)
                        ID-1: /dev/sda vendor: Kingston model: SA400S37480G
                          size: 447.13 GiB
                        ID-2: /dev/sdb vendor: PNY model: USB 3.2.1 FD size: 57.77 GiB
                          type: USB
                      Partition:
                        ID-1: swap-1 size: 8 GiB used: 0 KiB (0.0%) fs: swap
                          dev: /dev/sda2
                      Info:
                        Memory: total: 8 GiB available: 7.67 GiB used: 1.88 GiB (24.6%)
                        Processes: 170 Uptime: 15m Init: runit
                        Packages: 2052 Compilers: gcc: 12.2.0 Shell: Bash v: 5.2.15
                          inxi: 3.3.38

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

                      #176776
                      ile
                      Member

                        md5sum 5582bc254f8b8d94639b46a170c58e49
                        install. i will park in zzz-fluxbox dinit and poke around.

                        System:
                          Birth: 2025-05-13 09:47:20.000000000 -0700
                          Host: heap Kernel: 6.1.105-antix.1-amd64-smp arch: x86_64 bits: 64
                            compiler: gcc v: 12.2.0 clocksource: tsc avail: hpet,acpi_pm
                            parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.105-antix.1-amd64-smp
                            root=UUID=d97283c3-ecd1-48c2-ac81-033f85e3134c ro quiet selinux=0
                            init=/lib/dinit/dinit
                          Desktop: Fluxbox v: 1.3.7 tools: avail: slock,xlock dm: slimski v: 1.5.0
                            Distro: antiX-23.2_x64 May 12 2025 base: Debian GNU/Linux 12 (bookworm)
                        Info:
                          Memory: total: 4 GiB note: est. available: 3.63 GiB used: 1.08 GiB (29.9%)
                          Processes: 167 Power: uptime: 11m states: freeze,mem,disk suspend: deep
                            avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
                            suspend, test_resume image: 1.43 GiB Init: Dinit v: 0.19.4 default: 2
                            tool: rc-service
                          Packages: pm: dpkg pkgs: 2054 libs: 1001
                            tools: apt,apt-get,aptitude,synaptic Compilers: gcc: 12.2.0 Shell: Bash
                            v: 5.2.15 running-in: roxterm inxi: 3.3.36
                        #176779
                        Brian Masinick
                        Moderator

                          Back with s6-66; runit shutdown properly when I used the script in /lib/runit; I’ll use the script in /lib/s6-66 and hope for the same positive result.

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

                          #176780
                          ile
                          Member

                            dinit no poweroff. Attempt to kill init! exit 00008900
                            kernel5, kernel6, /lib/dinit/shutdown,

                            #176782
                            Brian Masinick
                            Moderator

                              dinit no poweroff. Attempt to kill init! exit 00008900
                              kernel5, kernel6, /lib/dinit/shutdown,

                              On my system, dinit core dumps when I attempt to shutdown or reboot using the menu.
                              SysVinit and runit shutdown and reboot correctly with the menu; s6-66 hangs the system’s reboot
                              menu and will not do anything when using /lib/init-diversity routines or lib/s6-66 routines.
                              I have to recheck the other options.

                              All of them seem to function OK, it’s the reboot/shutdown that’s having problems in a few of them.

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

                              #176783
                              Brian Masinick
                              Moderator

                                dinit no poweroff. Attempt to kill init! exit 00008900
                                kernel5, kernel6, /lib/dinit/shutdown,

                                On my system, dinit core dumps when I attempt to shutdown or reboot using the menu.
                                SysVinit and runit shutdown and reboot correctly with the menu; s6-66 hangs the system’s reboot
                                menu and will not do anything when using /lib/init-diversity routines or lib/s6-66 routines.
                                I have to recheck the other options.

                                All of them seem to function OK, it’s the reboot/shutdown that’s having problems in a few of them.

                                It looks like s6-rc and s6-66 have the reboot/poweroff issue – s6-rc just keeps dumping a reboot warning repeatedly without rebooting; dinit crashes, sysvinit, runit, and OpenRC function with the logout toolbar menu as expected.

                                These are the only issues I’ve uncovered today.

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

                                #176792
                                Brian Masinick
                                Moderator

                                  dinit no poweroff. Attempt to kill init! exit 00008900
                                  kernel5, kernel6, /lib/dinit/shutdown,

                                  On my system, dinit core dumps when I attempt to shutdown or reboot using the menu.
                                  SysVinit and runit shutdown and reboot correctly with the menu; s6-66 hangs the system’s reboot
                                  menu and will not do anything when using /lib/init-diversity routines or lib/s6-66 routines.
                                  I have to recheck the other options.

                                  All of them seem to function OK, it’s the reboot/shutdown that’s having problems in a few of them.

                                  It looks like s6-rc and s6-66 have the reboot/poweroff issue – s6-rc just keeps dumping a reboot warning repeatedly without rebooting; dinit crashes, sysvinit, runit, and OpenRC function with the logout toolbar menu as expected.

                                  These are the only issues I’ve uncovered today.

                                  All of this took place when I was running live from a USB Flash Drive.
                                  While that’s probably still a legitimate test case, previously I did
                                  NOT have any boot or reboot issues on an installed instance, so I’m
                                  going to install now using the bash script so that I don’t have to
                                  hack in a network usable kernel; old kernels only work on old systems.

                                  More once I try an installed instance.

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

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