antiX s6-rc Service Manager – For Testers Only

Forum Forums antiX-development Development antiX s6-rc Service Manager – For Testers Only

  • This topic has 45 replies, 8 voices, and was last updated Mar 12-11:05 pm by calciumsodium.
Viewing 15 posts - 16 through 30 (of 46 total)
  • Author
    Posts
  • #133098
    Member
    ProwlerGr

      I think this is production! I would not optimize much further except to disable the
      dbus-log
      slimski-log
      udevd-log

      IMO, s6-rc is more “production” even than runit, as it is “pure” s6 (not relying on sysvinit at all).
      Obviously work needs to be done to add all service files that antiX (debian) supports.
      Also the official antiX dev team need to make a call if this proposed way of s6-rc init & service deployment will be the “official” deployment method adopted for antiX.

      I think I mentioned before that disabling the s6 logs is not recommended for s6 & should not be disabled by default.
      However it is straight for the user to disable them using the new gui if they please.

      #133131
      Moderator
      Brian Masinick

        I was able to access the service manager this morning; this time I DID see it in the preferences next to the runit service manager; for some reason I did NOT spot it there earlier. I removed a few more services today using the tool and here is my configuration shortly after boot and service modifications:

        pstree;sudo ps_mem.py ;inxi -zv8opy71
        s6-svscan─┬─conky───4*[{conky}]
                  ├─2*[dbus-daemon]
                  ├─2*[dbus-launch]
                  ├─devmon───udevil
                  ├─gconfd-2
                  ├─pipewire-pulse───2*[{pipewire-pulse}]
                  ├─pipewire-start───pipewire───2*[{pipewire}]
                  ├─roxterm───bash───pstree
                  ├─9*[s6-supervise───s6-log]
                  ├─s6-supervise───66-shutdownd
                  ├─s6-supervise───s6-fdholderd
                  ├─s6-supervise───s6-ipcserverd
                  ├─3*[s6-supervise───agetty]
                  ├─s6-supervise───udevd
                  ├─s6-supervise───dbus-daemon
                  ├─s6-supervise───seatd
                  ├─s6-supervise───slimski─┬─Xorg───9*[{Xorg}]
                  │                        └─desktop-session───icewm-session───icewm
                  ├─s6-supervise───connmand
                  ├─s6-supervise───nmbd
                  ├─s6-supervise───smbd─┬─cleanupd
                  │                     └─smbd-notifyd
                  ├─s6-supervise───bluetoothd
                  ├─startup───volumeicon───3*[{volumeicon}]
                  ├─wireplumber───4*[{wireplumber}]
                  ├─wpa_supplicant
                  └─zzzfm
         Private  +   Shared  =  RAM used	Program
        132.0 KiB +  22.5 KiB = 154.5 KiB	s6-ipcserverd
        140.0 KiB +  23.5 KiB = 163.5 KiB	seatd
        188.0 KiB +  23.5 KiB = 211.5 KiB	s6-svscan
        256.0 KiB +  38.5 KiB = 294.5 KiB	66-shutdownd
        324.0 KiB +  43.5 KiB = 367.5 KiB	s6-fdholderd
        268.0 KiB + 148.5 KiB = 416.5 KiB	pipewire-start
        260.0 KiB + 170.5 KiB = 430.5 KiB	startup
        356.0 KiB + 213.5 KiB = 569.5 KiB	udevil
        364.0 KiB + 213.5 KiB = 577.5 KiB	icewm-session
        452.0 KiB + 307.5 KiB = 759.5 KiB	agetty (3)
        664.0 KiB + 291.5 KiB = 955.5 KiB	devmon
        740.0 KiB + 232.0 KiB = 972.0 KiB	dbus-launch (2)
        796.0 KiB + 295.5 KiB =   1.1 MiB	desktop-session
        760.0 KiB + 389.5 KiB =   1.1 MiB	gconfd-2
          1.1 MiB + 229.5 KiB =   1.3 MiB	s6-log (9)
          1.1 MiB + 391.5 KiB =   1.5 MiB	dbus-daemon (3)
          1.0 MiB + 818.0 KiB =   1.8 MiB	sudo (2)
          1.5 MiB + 728.5 KiB =   2.2 MiB	pipewire-pulse
          2.0 MiB + 344.5 KiB =   2.3 MiB	bluetoothd
          2.0 MiB + 339.5 KiB =   2.4 MiB	bash
          1.7 MiB + 796.5 KiB =   2.5 MiB	connmand
          2.4 MiB + 632.5 KiB =   3.0 MiB	udevd
          2.8 MiB + 619.5 KiB =   3.4 MiB	s6-supervise (23)
          2.7 MiB + 748.5 KiB =   3.4 MiB	conky
          4.4 MiB +   1.4 MiB =   5.8 MiB	slimski
          4.8 MiB +   1.2 MiB =   6.0 MiB	pipewire
          2.6 MiB +   3.7 MiB =   6.3 MiB	nmbd
          7.0 MiB + 587.5 KiB =   7.5 MiB	wpa_supplicant
          3.7 MiB +   3.9 MiB =   7.6 MiB	volumeicon
          5.8 MiB +   2.3 MiB =   8.1 MiB	icewm
          8.3 MiB +   1.8 MiB =  10.1 MiB	wireplumber
          4.6 MiB +   8.9 MiB =  13.4 MiB	smbd (3)
         11.9 MiB +   5.1 MiB =  17.0 MiB	roxterm
         23.7 MiB +   3.7 MiB =  27.4 MiB	zzzfm
        106.1 MiB +   1.6 MiB = 107.7 MiB	Xorg
        ---------------------------------
                                248.7 MiB
        =================================
        System:
          Kernel: 6.7.4-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc
            v: 12.2.0 clocksource: tsc avail: hpet,acpi_pm parameters: audit=0
            intel_pstate=disable rcupdate.rcu_expedited=1
            BOOT_IMAGE=/boot/vmlinuz-6.7.4-1-liquorix-amd64
            root=UUID=3268b76a-29b0-4d73-8d06-658fbd70d51b ro quiet selinux=0
            init=/lib/s6-66/init
          Desktop: IceWM v: 3.4.5 tools: avail: slock,xlock dm: slimski
            v: 1.5.0 Distro: antiX-23.1_diversity bookworm February 05  2024
            base: Debian GNU/Linux 12 (bookworm)
        Machine:
          Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
            serial: <superuser required> Chassis: type: 10
            serial: <superuser required>
          Mobo: HP model: 887C v: 59.11 serial: <superuser required>
            part-nu: 51N12UA#ABA uuid: <superuser required> UEFI: AMI v: F.18
            date: 11/26/2021
        Battery:
          ID-1: BAT0 charge: 40.6 Wh (99.8%) condition: 40.7/40.7 Wh (100.0%)
            volts: 12.9 min: 11.3 model: HP Primary type: Li-ion
            serial: <filter> status: not charging
        Memory:
          System RAM: total: 8 GiB available: 7.1 GiB used: 661.2 MiB (9.1%)
          Message: For most reliable report, use superuser + dmidecode.
          Array-1: capacity: 32 GiB slots: 2 modules: 1 EC: None
            max-module-size: 16 GiB note: est.
          Device-1: Bottom - Slot 1 (left) type: DDR4 detail: synchronous
            unbuffered (unregistered) size: 8 GiB speed: 3200 MT/s volts:
            note: check curr: 1 min: 1 max: 1 width (bits): data: 64 total: 64
            manufacturer: Samsung part-no: M471A1K43EB1-CWE serial: <filter>
          Device-2: Bottom - Slot 2 (right) type: no module installed
        PCI Slots:
          Permissions: Unable to run dmidecode. Root privileges required.
        CPU:
          Info: model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64
            type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
            process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x68 (104)
            stepping: 1 microcode: 0x8608103
          Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
            L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
            L3: 8 MiB desc: 2x4 MiB
          Speed (MHz): avg: 561 high: 2341 min/max: 400/4056 scaling:
            driver: amd-pstate-epp governor: performance cores: 1: 400 2: 400
            3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 2341
            12: 400 bogomips: 50301
          Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx
            avx2 bmi1 bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero
            cmov cmp_legacy constant_tsc cpb cppc cpuid cqm cqm_llc
            cqm_mbm_local cqm_mbm_total cqm_occup_llc cr8_legacy cx16 cx8 de
            decodeassists extapic extd_apicid f16c flushbyasid fma fpu
            fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs irperf lahf_lm
            lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr
            mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
            pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc
            perfctr_nb pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru
            rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca
            smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm
            svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
            v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1
            xsave xsavec xsaveerptr xsaveopt
          Vulnerabilities:
          Type: gather_data_sampling status: Not affected
          Type: itlb_multihit status: Not affected
          Type: l1tf status: Not affected
          Type: mds status: Not affected
          Type: meltdown status: Not affected
          Type: mmio_stale_data status: Not affected
          Type: retbleed mitigation: untrained return thunk; SMT enabled
            with STIBP protection
          Type: spec_rstack_overflow mitigation: Safe RET
          Type: spec_store_bypass mitigation: Speculative Store Bypass
            disabled via prctl
          Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user
            pointer sanitization
          Type: spectre_v2 mitigation: Retpolines, IBPB: conditional,
            STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
          Type: srbds status: Not affected
          Type: tsx_async_abort status: Not affected
        Graphics:
          Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu
            v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20
            pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
            speed: 16 GT/s ports: active: eDP-1 empty: HDMI-A-1
            bus-ID: 03:00.0 chip-ID: 1002:164c class-ID: 0300 temp: 33.0 C
          Device-2: Chicony HP TrueVision HD Camera driver: uvcvideo
            type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3
            chip-ID: 04f2:b6f1 class-ID: 0e02 serial: <filter>
          Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
            unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
            display-ID: :0.0 screens: 1
          Screen-1: 0 s-res: 1920x1080 s-dpi: 96
            s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
          Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x1429
            built: 2020 res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 chroma: red:
            x: 0.592 y: 0.349 green: x: 0.329 y: 0.557 blue: x: 0.153 y: 0.118
            white: x: 0.314 y: 0.329 size: 309x173mm (12.17x6.81")
            diag: 354mm (13.9") ratio: 16:9 modes: 1920x1080, 1680x1050,
            1280x1024, 1440x900, 1280x800, 1280x720, 1024x768, 800x600,
            640x480
          EDID-Warnings: 1: parse_edid: unknown flag 2
          API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0
            drv: radeonsi device: 1 drv: swrast gbm: egl: 1.4 drv: kms_swrast
            surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
          API: OpenGL v: 4.6 vendor: amd mesa v: 22.3.6 glx-v: 1.4 es-v: 3.2
            direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM
            15.0.6 DRM 3.57 6.7.4-1-liquorix-amd64) device-ID: 1002:164c
            memory: 500 MiB unified: no
        Audio:
          Device-1: AMD Renoir Radeon High Definition Audio
            vendor: Hewlett-Packard driver: snd_hda_intel v: kernel pcie: gen: 3
            speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
            bus-ID: 03:00.1 chip-ID: 1002:1637 class-ID: 0403
          Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor
            vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel
            alternate: snd_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
            snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
            snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
            pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
            speed: 16 GT/s bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
          Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
            driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
            link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
            class-ID: 0403
          API: ALSA v: k6.7.4-1-liquorix-amd64 status: kernel-api
            with: apulse type: pulse-emulator tools: alsactl,alsamixer,amixer
          Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
            status: active 2: wireplumber status: active 3: pipewire-alsa
            type: plugin 4: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
        Network:
          Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae
            v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000
            bus-ID: 01:00.0 chip-ID: 10ec:a85a class-ID: 0280
          IF: wlan0 state: up mac: <filter>
          IP v4: <filter> scope: global broadcast: <filter>
          IP v6: <filter> scope: link
          WAN IP: <filter>
        Bluetooth:
          Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB
            rev: 1.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4
            chip-ID: 0bda:385a class-ID: e001 serial: <filter>
          Report: hciconfig ID: hci0 rfk-id: 1 state: down
            bt-service: stopped rfk-block: hardware: no software: yes
            address: <filter>
          Info: acl-mtu: 1021:6 sco-mtu: 255:12
            link-policy: rswitch hold sniff park link-mode: peripheral accept
        Logical:
          Message: No logical block device data found.
        RAID:
          Message: No RAID data found.
        Drives:
          Local Storage: total: 238.47 GiB used: 9.77 GiB (4.1%)
          SMART Message: Unable to run smartctl. Root privileges required.
          ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
            model: KBG40ZNV256G KIOXIA size: 238.47 GiB block-size:
            physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD
            serial: <filter> fw-rev: HP00AE00 temp: 19.9 C scheme: GPT
          Message: No optical or floppy data found.
        Partition:
          ID-1: / raw-size: 48.83 GiB size: 47.76 GiB (97.81%)
            used: 9.77 GiB (20.5%) fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:3
            label: rootantiX23 uuid: 3268b76a-29b0-4d73-8d06-658fbd70d51b
          ID-2: /sys/firmware/efi/efivars raw-size: N/A size: 128 KiB
            used: 34 KiB (26.6%) fs: efivarfs source: ERR-102
        Swap:
          Alert: No swap data was found.
        Unmounted:
          ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 47.85 GiB fs: ext4
            label: rootantiX23.1 uuid: d7b07fc0-6501-45fa-8de4-4669a6ebc35c
          ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 1.23 GiB fs: vfat
            label: N/A uuid: 6EDC-B440
          ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 48.83 GiB fs: ext4
            label: rootMX23 uuid: be9710bc-654b-4fc6-8401-fa3ff0d70b46
          ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 48.83 GiB fs: ext4
            label: rootantiX23 uuid: 1480170f-3bd2-4337-af59-015e667f24bc
          ID-5: /dev/nvme0n1p6 maj-min: 259:6 size: 7.81 GiB fs: swap
            label: N/A uuid: d5ee9225-6bf8-4ea5-9299-547b7272c289
          ID-6: /dev/nvme0n1p7 maj-min: 259:7 size: 35.1 GiB fs: ext4
            label: N/A uuid: acab5ff7-122e-4f43-95e7-e7949c655cda
        USB:
          Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
            speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
            class-ID: 0900
          Device-1: 1-2:2 info: KYE Systems (Mouse Systems) Trackbar Emotion
            type: mouse driver: hid-generic,usbhid interfaces: 1 rev: 1.0
            speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
            chip-ID: 0458:0007 class-ID: 0301
          Device-2: 1-3:3 info: Chicony HP TrueVision HD Camera type: video
            driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
            lanes: 1 mode: 2.0 power: 500mA chip-ID: 04f2:b6f1 class-ID: 0e02
            serial: <filter>
          Device-3: 1-4:4 info: Realtek Bluetooth Radio type: bluetooth
            driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s (1.4 MiB/s)
            lanes: 1 mode: 1.1 power: 500mA chip-ID: 0bda:385a class-ID: e001
            serial: <filter>
          Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
            speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1
            chip-ID: 1d6b:0003 class-ID: 0900
          Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
            speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
            class-ID: 0900
          Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
            speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1
            chip-ID: 1d6b:0003 class-ID: 0900
        Sensors:
          System Temperatures: cpu: 37.5 C mobo: N/A gpu: amdgpu temp: 34.0 C
          Fan Speeds (rpm): fan-1: 0 fan-2: 0
        Repos:
          Packages: pm: dpkg pkgs: 2003 libs: 988 tools: apt, apt-get,
            aptitude, nala, synaptic
          Active apt repos in: /etc/apt/sources.list.d/antix.list
            1: deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://mirrors.rit.edu/mxlinux/mx-packages/antix/bookworm/ bookworm main nonfree nosystemd
          No active apt repos in: /etc/apt/sources.list.d/bookworm-backports.list
          Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
            1: deb http://ftp.us.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
          No active apt repos in: /etc/apt/sources.list.d/debian-unstable.list
          Active apt repos in: /etc/apt/sources.list.d/debian.list
            1: deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free non-free-firmware
            2: deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
          Active apt repos in: /etc/apt/sources.list.d/experimental-s6.list
            1: deb http://deb-s6-rc-66-init-experimental.duckdns.org:8080/ experimental-s6 antix-s6
            2: deb-src http://deb-s6-rc-66-init-experimental.duckdns.org:8080/ experimental-s6 antix-s6
          Active apt repos in: /etc/apt/sources.list.d/librewolf.list
            1: deb [arch=amd64] http://deb.librewolf.net bookworm main
          Active apt repos in: /etc/apt/sources.list.d/liquorix.list
            1: deb [signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] http://liquorix.net/debian/ bookworm main
        Processes:
          CPU top: 5 of 330
          1: cpu: 1.3% command: xorg pid: 1177 mem: 113.1 MiB (1.5%)
          2: cpu: 0.4% command: icewm pid: 1291 mem: 17.2 MiB (0.2%)
          3: cpu: 0.3% command: [kworker/u32:0-phy0] pid: 10
            mem: 0.00 MiB (0.0%)
          4: cpu: 0.2% command: [irq/83-rtw89_pci] pid: 771
            mem: 0.00 MiB (0.0%)
          5: cpu: 0.2% command: conky pid: 1417 mem: 7.46 MiB (0.1%)
          Memory top: 5 of 330
          1: mem: 113.1 MiB (1.5%) command: xorg pid: 1177 cpu: 1.3%
          2: mem: 39.8 MiB (0.5%) command: zzzfm pid: 1370 cpu: 0.0%
          3: mem: 31.9 MiB (0.4%) command: roxterm pid: 1296 cpu: 0.0%
          4: mem: 21.4 MiB (0.2%) command: volumeicon pid: 1675 cpu: 0.0%
          5: mem: 19.2 MiB (0.2%) command: smbd pid: 1146 cpu: 0.0%
        Info:
          Processes: 330 Power: uptime: 6m states: freeze,mem,disk
            suspend: s2idle wakeups: 0 hibernate: platform
            avail: shutdown,reboot,suspend,test_resume image: 2.81 GiB
            Init: s6 v: N/A default: 5 tool: service
          Compilers: gcc: 12.2.0 Shell: Bash v: 5.2.15 running-in: roxterm
            inxi: 3.3.32

        --
        Brian Masinick

        #133136
        Moderator
        Brian Masinick

          I also disabled these logs:

          dbus-log
          slimski-log
          udevd-log

          for the purpose of testing the capability.

          Also, someone mentioned “instability” of 66 a few days ago, so the past couple of times I’ve used init-diversity, I spent the majority of my time running 66; I HAVE used all four of the versions. Like @calciumsodium I had some problems getting the sysVinit solution to reboot or shutdown at first on my HP-14, so I altered the poweroff.sh and reboot.sh scripts to use shutdown -hP now for poweroff and shutdown -r now for reboot and that works. Interestingly I ran the same image on my Lenovo X201. That’s where I found the “slowness” that I had in my mind previously; it’s SLOW to me because I’m used to using my newer systems, but the simple fact is that my installation there worked perfectly, INCLUDING an unmodified sysVinit configuration, so I must have done something wrong on the HP with my configuration OR for some strange reason it’s not recognizing some statement or setup in the sysVinit section on the HP-14.

          Other than that minor matter, everything else is working as expected; I’m not focusing on sysVinit because as a technology it’s been around forever and I’m sure we’ll have all the startup procedures clean in the final work anyway. So I think the s6 stuff is going well; I’ll do some more with s6-rc just to be sure; last time I used it the results were good; the big take-away between yesterday and today is that 66 is looking good too!

          --
          Brian Masinick

          #133143
          Moderator
          Brian Masinick

            @ProwlerGr I feel that I have exercised the current environment well; I went to grab the latest 0214 amd64 image; we don’t have a valid link in that reference; for some reason that one doesn’t have anything pointing to the Google Drive images. Please investigate and correct and I’ll continue testing with the brand new image and the service manager included directly in the image. Thanks!

            UPDATE: I found that the first post has the latest image as noted by @anticapitalista, so I was able to obtain the software and it has been working well; as you stated, both runit and s6-rc service managers are available after installation in the Preferences section of the IceWM menu.

            • This reply was modified 5 months ago by Brian Masinick.

            --
            Brian Masinick

            #133220
            Member
            anti-apXos

              As mentioned in the respin thread, I’m using the files from the 14-02-2024 ISO to boot into frugal mode from my main drive. My frugal entry for s6-rc has init=/lib/s6-rc/init added as a cmdline parameter and seems to boot well.

              However, I have not been able to properly disable services using the s6-rc Service Manager.

              I tried to disable connmand, dbus, seatd, and the extra ttys and they do get removed from the Service Manager window, but after a restart the services are still running according to pstree. Should the Service Manager work also in a live/frugal boot or only a full install?

              I did, of course, save the rootfs before rebooting and, like I said the services I disabled do look like they’re disabled in the Service Manager even after rebooting.

              #133223
              Moderator
              Brian Masinick

                As mentioned in the respin thread, I’m using the files from the 14-02-2024 ISO to boot into frugal mode from my main drive. My frugal entry for s6-rc has init=/lib/s6-rc/init added as a cmdline parameter and seems to boot well.

                However, I have not been able to properly disable services using the s6-rc Service Manager.

                I tried to disable connmand, dbus, seatd, and the extra ttys and they do get removed from the Service Manager window, but after a restart the services are still running according to pstree. Should the Service Manager work also in a live/frugal boot or only a full install?

                I did, of course, save the rootfs before rebooting and, like I said the services I disabled do look like they’re disabled in the Service Manager even after rebooting.

                I’m not certain that the disable feature carries between instances; removing a service probably would hold, but most of the services are required services, so unless the service is NOT required, it’s not a good idea to remove required services – “required” should be hint enough unless we’re not paying attention; hopefully required services will be blocked from removal.

                --
                Brian Masinick

                #133226
                Member
                anti-apXos

                  There is an option to disable startup for a service in the s6-rc Service Manager, is this not working?

                  The services I mentioned should not be required and I think the Service Manager does already block disabling or removing “VITAL” services, just like the runit Service Manager does.

                  Using the Startup: Disable button removes the entry from the list in s6-rc Service Manager, but I guess I’ll try re-adding them and then using the Remove button.

                  #133228
                  Moderator
                  Brian Masinick

                    seatd, dbus, and extra ttys may be disabled; I just disabled them. My guess is that if I reboot they will be back unless I delete them. I am assuming that is the main difference between disabling and removing them, but I’ll reboot and take another look myself.

                    --
                    Brian Masinick

                    #133233
                    Member
                    anti-apXos

                      Re-adding the services I’d disabled (and then rebooting just to be sure) and then using the Remove option doesn’t seem to have disabled startup for the services, either. AGain, just like when I used the Startup: Disable option, the service is removed from the list (even after a reboot), but it still starts according to pstree/htop.

                      I did notice that using the Startup: Disable option gives an error if you start the Service Manager from a terminal:

                      sudo: refresh_s6-db: command not found
                      

                      Using the Remove option doesn’t give any error, but still doesn’t work.

                      As mentioned, this is all on a frugal install. Can I get confirmation that the Service Manager is supposed to work on frugal/live and not just full install?

                      #133235
                      Moderator
                      Brian Masinick

                        Interesting; for me, once I disabled services, they remained disabled across a reboot, but could be re-added without any issue. Do you see this behavior now?

                        If not, I’d consider installing or reinstalling the 0214 image, and be sure to verify the checksum; I did and mine matched fine and the behavior is reasonable; I can re-enable anything I disable without an issue.

                        Hopefully that will be the case for you as well.

                        --
                        Brian Masinick

                        #133239
                        Moderator
                        Brian Masinick

                          I see this:

                          s6-rc-db help
                          s6-rc-db help
                          s6-rc-db check
                          s6-rc-db list all|services|oneshots|longruns|bundles
                          s6-rc-db type servicename
                          s6-rc-db [ -u | -d ] timeout atomicname
                          s6-rc-db contents bundlename
                          s6-rc-db [ -u | -d ] dependencies servicename...
                          s6-rc-db pipeline longrunname
                          s6-rc-db [ -u | -d ] script oneshotname
                          s6-rc-db flags atomicname
                          s6-rc-db atomics servicename...
                          s6-rc-db [ -u | -d ] all-dependencies servicename...

                          s6-rc-db is a command in the /usr/bin directory.

                          /etc/s6-rc
                          [antix-x64-init-diversity]/etc/s6-rc: > ls
                          compiled	  current		 s6-db-reload.conf  sv-release
                          compiled-active   helper-scripts	 s6-db-reload.sh
                          compiled-release  log-service-reload.sh  s6-rc-init
                          config		  rc.local		 sv
                          pwd; sudo find .
                          /etc/s6-linux-init
                          .
                          ./current
                          ./skel
                          ./skel/rc.shutdown.final
                          ./skel/rc.init
                          ./skel/runlevel
                          ./skel/rc.shutdown
                          ./current-release
                          ./current-release/env
                          ./current-release/bin
                          ./current-release/bin/telinit
                          ./current-release/bin/shutdown
                          ./current-release/bin/reboot
                          ./current-release/bin/poweroff
                          ./current-release/bin/halt
                          ./current-release/bin/init
                          ./current-release/scripts
                          ./current-release/scripts/rc.shutdown.final
                          ./current-release/scripts/rc.init
                          ./current-release/scripts/runlevel
                          ./current-release/scripts/rc.shutdown
                          ./current-release/run-image
                          ./current-release/run-image/uncaught-logs
                          ./current-release/run-image/service
                          ./current-release/run-image/service/s6-linux-init-runleveld
                          ./current-release/run-image/service/s6-linux-init-runleveld/notification-fd
                          ./current-release/run-image/service/s6-linux-init-runleveld/run
                          ./current-release/run-image/service/s6-linux-init-early-getty
                          ./current-release/run-image/service/s6-linux-init-early-getty/run
                          ./current-release/run-image/service/s6-svscan-log
                          ./current-release/run-image/service/s6-svscan-log/notification-fd
                          ./current-release/run-image/service/s6-svscan-log/fifo
                          ./current-release/run-image/service/s6-svscan-log/run
                          ./current-release/run-image/service/.s6-svscan
                          ./current-release/run-image/service/.s6-svscan/SIGTERM
                          ./current-release/run-image/service/.s6-svscan/SIGUSR2
                          ./current-release/run-image/service/.s6-svscan/SIGQUIT
                          ./current-release/run-image/service/.s6-svscan/SIGUSR1
                          ./current-release/run-image/service/.s6-svscan/SIGWINCH
                          ./current-release/run-image/service/.s6-svscan/finish
                          ./current-release/run-image/service/.s6-svscan/crash
                          ./current-release/run-image/service/.s6-svscan/SIGINT
                          ./current-release/run-image/service/.s6-svscan/SIGPWR
                          ./current-release/run-image/service/s6-linux-init-shutdownd
                          ./current-release/run-image/service/s6-linux-init-shutdownd/notification-fd
                          ./current-release/run-image/service/s6-linux-init-shutdownd/fifo
                          ./current-release/run-image/service/s6-linux-init-shutdownd/run
                          [antix-x64-init-diversity]/etc/s6-linux-init: > 

                          I’m not sure if there is a command with that name, but I DID
                          find /usr/local/bin/s6-db-reload and /usr/local/bin/s6-rc_service-manager.sh

                          Perhaps s6-db-reload is what you are looking for?

                          --
                          Brian Masinick

                          #133244
                          Member
                          anti-apXos

                            To be clear, it’s s6-rc Service Manager looking for refresh_s6-db, not me. The error shows in the terminal output when you start the service manager from a terminal and then try to disable a service.

                            s6-db-reload may be it indeed, but I don’t think that’s the cause of my issue since the Service Manager works as expected for you and also because I don’t get any error when I “Remove” a service, but still it’s not working.

                            I believe the failure to disable startup services may be related to the fact that I’m booting frugal with rootfs persistence. Is it possible that the rootfs layer hasn’t even been loaded yet when s6-rc is launching services? (But then it has been loaded once I’m in my session, which is why the services look like they’ve been disabled in s6-rc Service Manager.) It goes by fast, but it seems like the live boot sequence is different in some ways when starting antiX live with s6-rc compared to runit. Disabling or removing services in the runit Service Manager does work as expected even on a live/frugal system.

                            #133261
                            Member
                            ProwlerGr

                              s6-rc Service Manager looking for refresh_s6-db

                              ‘refresh_s6-db’ is just a subroutine function within the script itself.
                              A couple of posts about it in this same thread #post-133018 & #post-133082

                              Its odd you are getting that error.

                              #133359
                              Moderator
                              Brian Masinick

                                “I believe the failure to disable startup services may be related to the fact that I’m booting frugal with rootfs persistence.”

                                I believe that you are correct. At the moment the init-diversity image is best installed to take full advantage of it’s capabilities. The odd behavior and inconsistencies in a few cases are caused by the test image characteristics; @anticapitalista is aware of them and has commented on them elsewhere.

                                Though antiX is well-known for it’s excellence in running live and the Frugal mode is a fundamental feature in the majority of the builds in recent years, the init-diversity proof of concept – and it is still a proof of concept – has some things that will be fixed, hopefully in time for a future release. In the meantime, this image is best run installed or in recognizing the features that do not work in the typical ways (yet).

                                --
                                Brian Masinick

                                #133595
                                Member
                                calciumsodium

                                  Visiting the forum using s6-rc init that I installed from script OP2 starting with antiX23.1 runit pre-final as base.

                                  Testing the s6-rc service manager. Please see screenshot.

                                  With this service setup, I tested ytfzf, google chrome, antiXradio, antiXTV. All works good. Video and sound work good.

                                  Interestingly, the antiX23.1 runit as base has pulseaudio as sound. So the runit init and sysvinit (installed from OP2 script) as init uses pulseaudio.

                                  But the s6-rc and s6-66 (both installed from script) uses alsa as sound. This is strange because the ~/.desktop-session/startup file has pulseaudio -D enabled. But after booting to desktop is complete in these two installed systems, one can manually start pulseaudio -D in terminal. But the enabled pulseaudio -D in the startup file would not work.

                                  Not sure why this is so.

                                  Attachments:
                                Viewing 15 posts - 16 through 30 (of 46 total)
                                • You must be logged in to reply to this topic.