Constantly failing systemd services

salve,

i was forced to new setup my system because execv errors but after re installation systemd services are failing:

tom@donar ~ % systemctl list-units --state=failed
  UNIT                      LOAD   ACTIVE SUB    DESCRIPTION                                               
● numad.service             loaded failed failed numad - The NUMA daemon that manages application locality.
● scx.service               loaded failed failed Start scx_scheduler
● wayfire-autologin.service loaded failed failed wayfire session for tom
tom@donar ~ % journalctl -u numad
[    3.095492] donar systemd[1]: Starting numad - The NUMA daemon that manages application locality....
[    3.103087] donar systemd[1]: numad.service: Control process exited, code=exited, status=203/EXEC
[    3.103151] donar systemd[1]: numad.service: Failed with result 'exit-code'.
[    3.103239] donar systemd[1]: Failed to start numad - The NUMA daemon that manages application locality..
tom@donar ~ % journalctl -u scx  
[    3.097737] donar systemd[1]: Started Start scx_scheduler.
[    3.127197] donar systemd[1]: scx.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
[    3.127256] donar systemd[1]: scx.service: Failed with result 'exit-code'.
[    3.232414] donar systemd[1]: scx.service: Scheduled restart job, restart counter is at 1.
[    3.233266] donar systemd[1]: Started Start scx_scheduler.
[    3.248967] donar systemd[1]: scx.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
[    3.249373] donar systemd[1]: scx.service: Failed with result 'exit-code'.
[    3.461618] donar systemd[1]: scx.service: Scheduled restart job, restart counter is at 2.
[    3.461945] donar systemd[1]: scx.service: Start request repeated too quickly.
[    3.461959] donar systemd[1]: scx.service: Failed with result 'exit-code'.
[    3.462076] donar systemd[1]: Failed to start Start scx_scheduler.
[tom@donar ~ % journalctl -u wayfire-autologin
[    3.102756] donar systemd[1]: Started wayfire session for tom.
[    3.181610] donar systemd[1]: wayfire-autologin.service: Control process exited, code=exited, status=208/STDIN
[    3.181733] donar systemd[1]: wayfire-autologin.service: Failed with result 'exit-code'.

any ideas to solve these problems?

It’s not that clear why numad is failing.

It’s obvious why scx is failing, you have misconfigured it.

wayfire-autologin seems to be false positive and it exited just fine. Autologin does work, right?

many thanks for your assistance :slight_smile:

scx and numad are running again, but my autologin keeps failing :frowning:

[    3.014483] donar systemd[1]: Started wayfire session for tom.
[    3.020553] donar systemd[1]: wayfire-autologin.service: Control process exited, code=exited, status=208/STDIN
[    3.020642] donar systemd[1]: wayfire-autologin.service: Failed with result 'exit-code'.
[    3.026110] donar systemd[1]: Started wayfire session for tom.
[    3.044902] donar systemd[1]: wayfire-autologin.service: Control process exited, code=exited, status=208/STDIN
[    3.044983] donar systemd[1]: wayfire-autologin.service: Failed with result 'exit-code'.
[    3.049115] donar systemd[1]: Started wayfire session for tom.
[    3.472401] donar (.service)[464]: wayfire-autologin.service: Failed to set up standard input: No such device or address
[    3.472417] donar (.service)[464]: wayfire-autologin.service: Failed at step STDIN spawning systemd-backlight@.service: No such device or address
[    3.472726] donar systemd[1]: wayfire-autologin.service: Control process exited, code=exited, status=208/STDIN
[    3.473665] donar systemd[1]: wayfire-autologin.service: Failed with result 'exit-code'.
[    3.479063] donar systemd[1]: Started wayfire session for tom.
[    3.510647] donar (.service)[573]: wayfire-autologin.service: Failed to set up standard input: No such device or address
[    3.510659] donar (.service)[573]: wayfire-autologin.service: Failed at step STDIN spawning systemd-backlight@.service: No such device or address
[    3.511076] donar systemd[1]: wayfire-autologin.service: Control process exited, code=exited, status=208/STDIN
[    3.511131] donar systemd[1]: wayfire-autologin.service: Failed with result 'exit-code'.
[    3.513905] donar systemd[1]: Started wayfire session for tom.
[    3.524465] donar (.service)[580]: wayfire-autologin.service: Failed to set up standard input: No such device or address
[    3.524476] donar (.service)[580]: wayfire-autologin.service: Failed at step STDIN spawning systemd-backlight@.service: No such device or address
[    3.525171] donar systemd[1]: wayfire-autologin.service: Control process exited, code=exited, status=208/STDIN
[    3.525238] donar systemd[1]: wayfire-autologin.service: Failed with result 'exit-code'.
[    3.526168] donar systemd[1]: wayfire-autologin.service: Start request repeated too quickly.
[    3.526175] donar systemd[1]: wayfire-autologin.service: Failed with result 'exit-code'.
[    3.526200] donar systemd[1]: Failed to start wayfire session for tom.

i was able to solve one of the failing reasons but a new on showed up:
[ 3.472417] donar (.service)[464]: wayfire-autologin.service: Failed at step STDIN spawning systemd-backlight@.service: No such device or address
and the journal doesn’t know anything about systemd-backlight@

journalctl -u systemd-backlight
-- No entries --
 tom@donar /usr/lib/systemd/system % systemd-analyze dot /usr/lib/systemd/system/systemd-backlight@.service > /home/tom/backlight.dot
Failed to get ID: Unit name /usr/lib/systemd/system/systemd-backlight@.service is neither a valid invocation ID nor unit name.
systemctl status systemd-backlight@intel.service
× systemd-backlight@intel.service - Load/Save Screen Backlight Brightness of intel
     Loaded: loaded (/usr/lib/systemd/system/systemd-backlight@.service; static)
     Active: failed (Result: exit-code) since Mon 2024-11-18 15:17:57 UTC; 1min 42s ago
 Invocation: 5a05d12cc81f4c0da843841783a355de
       Docs: man:systemd-backlight@.service(8)
    Process: 3330 ExecStart=/usr/lib/systemd/systemd-backlight load intel (code=exited, status=1/FAILURE)
   Main PID: 3330 (code=exited, status=1/FAILURE)
   Mem peak: 1.7M
        CPU: 4ms

Nov 18 15:17:57 donar systemd[1]: Starting Load/Save Screen Backlight Brightness of intel...
Nov 18 15:17:57 donar systemd-backlight[3330]: Requires a subsystem and sysname pair specifying a backlight or LED device.
Nov 18 15:17:57 donar systemd[1]: systemd-backlight@intel.service: Main process exited, code=exited, status=1/FAILURE
Nov 18 15:17:57 donar systemd[1]: systemd-backlight@intel.service: Failed with result 'exit-code'.
Nov 18 15:17:57 donar systemd[1]: Failed to start Load/Save Screen Backlight Brightness of intel.
1 tom@donar /usr/lib/systemd/system % systemd-analyze verify /usr/lib/systemd/system/systemd-backlight@.service > /home/tom/backlight.dot
systemd-backlight@i.service: Command 'man systemd-backlight@.service(8)' failed with code 1

the cause of this error Failed at step STDIN spawning was a typo in the service file
solution: correct the typo :wink: