Skip to main content
Topic: scx-scheds, kernel opt depend needs systemd (Read 185 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

scx-scheds, kernel opt depend needs systemd

Code: [Select]
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (2)            Old Version  New Version  Net Change  Download Size

world/postgresql-libs  17.2-1       17.2-2         0.00 MiB       1.69 MiB
extra/scx-scheds       1.0.8-1      1.0.9-1        2.16 MiB       5.76 MiB

Total Download Size:    7.45 MiB
Total Installed Size:  46.26 MiB
Net Upgrade Size:       2.16 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 postgresql-libs-17.2-2-x86_64                     1728.2 KiB   597 KiB/s 00:03 [---------------------------------------------] 100%
 scx-scheds-1.0.9-1-x86_64                            5.8 MiB   477 KiB/s 00:12 [---------------------------------------------] 100%
 Total (2/2)                                          7.5 MiB   600 KiB/s 00:13 [---------------------------------------------] 100%
(2/2) checking keys in keyring                                                  [---------------------------------------------] 100%
(2/2) checking package integrity                                                [---------------------------------------------] 100%
(2/2) loading package files                                                     [---------------------------------------------] 100%
(2/2) checking for file conflicts                                               [---------------------------------------------] 100%
(2/2) checking available disk space                                             [---------------------------------------------] 100%
:: Processing package changes...
(1/2) upgrading postgresql-libs                                                 [---------------------------------------------] 100%
(2/2) upgrading scx-scheds                                                      [---------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Checking scx_scheduler...
/usr/share/libalpm/scripts/scx-systemd-restart: line 5: systemctl: command not found
The service is not active.
(2/2) Reloading system bus configuration...
Code: [Select]
pacman -Si scx-scheds
Repository      : extra
Name            : scx-scheds
Version         : 1.0.9-1
Description     : sched_ext schedulers and tools
Architecture    : x86_64
URL             : https://github.com/sched-ext/scx
Licenses        : GPL-2.0-only
Groups          : None
Provides        : None
Depends On      : bash  bpf  gcc-libs  glibc  jq  libbpf  libelf  zlib
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 5.76 MiB
Installed Size  : 37.61 MiB
Packager        : Peter Jung <[email protected]>
Build Date      : Wed 05 Feb 2025 11:12:00 AM EST
Validated By    : SHA-256 Sum  Signature

pacman -Sii scx-scheds
Repository      : extra
Name            : scx-scheds
Version         : 1.0.9-1
Description     : sched_ext schedulers and tools
Architecture    : x86_64
URL             : https://github.com/sched-ext/scx
Licenses        : GPL-2.0-only
Groups          : None
Provides        : None
Depends On      : bash  bpf  gcc-libs  glibc  jq  libbpf  libelf  zlib
Optional Deps   : None
Required By     : None
Optional For    : linux  linux-lts  linux-zen
Conflicts With  : None
Replaces        : None
Download Size   : 5.76 MiB
Installed Size  : 37.61 MiB
Packager        : Peter Jung <[email protected]>
Build Date      : Wed 05 Feb 2025 11:12:00 AM EST
MD5 Sum         : None
SHA-256 Sum     : 55fb49ac98449f219fc1da22835b04e50dcf915b1f90a6c763bd50808b36a34d
Signatures      : 3D4C5008BB5C8D29
Extended Data   : None

 

Re: scx-scheds, kernel opt depend needs systemd

Reply #1
It's an Arch package, unfortunately usage of systemd might happen.

Anyhow, that doesn't mean it actually needs systemd. That script just restarts the system service for /usr/bin/scx_*, so what you need to do is restart it on your own.

Ideally Artix would provide a per-init package with an equivalent hook.

Re: scx-scheds, kernel opt depend needs systemd

Reply #2
It's an Arch package, unfortunately usage of systemd might happen.

Anyhow, that doesn't mean it actually needs systemd. That script just restarts the system service for /usr/bin/scx_*, so what you need to do is restart it on your own.

Ideally Artix would provide a per-init package with an equivalent hook.
Agreed, but, as stated, it is an kernel (optional) dependency, right? As opposed to a random AUR thing.

Thank you for detailing the fix, which I should have done, for the reader.

My point was for Artix devs to consider what should be done in this case. That is still a question, right?