Artix Linux Forum

Init systems => dinit => Topic started by: nahian_adnan on 07 July 2023, 05:29:19

Title: Something wrong with zramen and cpupower service.
Post by: nahian_adnan on 07 July 2023, 05:29:19
i am on dinit, everything works expect 2 services zramen and cpupower. it should work out of the box because i've installed dinit versions like ( zramen-dinit ).
Title: Re: Something wrong with zramen and cpupower service.
Post by: Arch_user on 07 July 2023, 08:27:00
does zramen service run manually ?
Title: Re: Something wrong with zramen and cpupower service.
Post by: nahian_adnan on 07 July 2023, 15:39:48
what do you mean by run manually?
Title: Re: Something wrong with zramen and cpupower service.
Post by: Arch_user on 07 July 2023, 19:02:10
after login as user , run these
Code: [Select]
 dinitctl start zramen
Code: [Select]
dinitctl status zramen
Title: Re: Something wrong with zramen and cpupower service.
Post by: nahian_adnan on 08 July 2023, 05:29:35
oh now i get it, yes it does run manually
Code: [Select]
Service: zramen
    State: STARTED
    Activation: explicitly started
and this is cpupower
Code: [Select]
Service 'cpupower' failed to start.
Reason: service process terminated before ready: exited - status 1
Code: [Select]
Service: cpupower
    State: STOPPED (failed to start; exited - status 1)
Title: Re: Something wrong with zramen and cpupower service.
Post by: davmac on 10 July 2023, 08:00:53
The error message indicates that (most likely) the logfile setting specifies a file in a directory that doesn't yet exist when the service first tries to start. My guess would be that zramen is missing a dependency; it needs to depend on whatever creates the log directories.
Title: Re: Something wrong with zramen and cpupower service.
Post by: nahian_adnan on 11 July 2023, 05:47:35
hey davmac, thanks for dinit.
The error message indicates that (most likely) the logfile setting specifies a file in a directory that doesn't yet exist when the service first tries to start. My guess would be that zramen is missing a dependency; it needs to depend on whatever creates the log directories.
if its true then artix dev should fix this.
Title: Re: Something wrong with zramen and cpupower service.
Post by: yellowbus on 14 June 2024, 17:27:43
About the cpupower error message, see https://forum.artixlinux.org/index.php/topic,6568.0.html