Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: n00b on 03 April 2025, 15:52:02

Title: scx_scheduler /scx-systemd-restart: line 5: systemctl: command not found
Post by: n00b on 03 April 2025, 15:52:02
(10/27) Qt6 Upgrade Warning
[WARNING] qt6-base was updated, qt6 applications will break until qt6gtk2 is rebuilt.
(11/27) Checking scx_scheduler...
/usr/share/libalpm/scripts/scx-systemd-restart: line 5: systemctl: command not found
The service is not active.

please advise.
Title: Re: scx_scheduler /scx-systemd-restart: line 5: systemctl: command not found
Post by: LemonPie on 03 April 2025, 16:29:16
scx is not an artix package. if you really want to use this package anyway, you can safely ignore the warning. but you need to start the scheduler some other way.
Title: Re: scx_scheduler /scx-systemd-restart: line 5: systemctl: command not found
Post by: n00b on 03 April 2025, 16:45:20
is part of the kernel, no?

https://github.com/sched-ext/scx
Title: Re: scx_scheduler /scx-systemd-restart: line 5: systemctl: command not found
Post by: Shoun2137 on 03 April 2025, 21:29:08
Not really, take a look here:
https://archlinux.org/packages/extra/x86_64/scx-scheds/
(https://i.imgur.com/yQkjatE.png)
Edit:
Take a look here too, I'd also check if there are some compiletime settings enables specifically for openrc systems:
https://github.com/sched-ext/scx/blob/f7b9c5d54823ad108561ff29e18b9efc52915265/libalpm/openrc/scx-openrc-restart
https://github.com/search?q=repo%3Asched-ext%2Fscx%20openrc&type=code

Below:
Probably? I don't think it's necessary, it's only for custom schedulers only? Please, someone, correct me if I'm wrong.
Title: Re: scx_scheduler /scx-systemd-restart: line 5: systemctl: command not found
Post by: n00b on 03 April 2025, 21:56:06
ah, it's a zen dependency.

I guess it is optional, so i can just remove it?