Artix Linux Forum

Init systems => dinit => Topic started by: n00b on 27 December 2024, 21:11:06

Title: dinit issue on community cinnamon, or not
Post by: n00b on 27 December 2024, 21:11:06
did a cinnamon dinit iso install. updated.

dinitcheck
Checking service: boot...
Unable to load service 'boot': service description not found.
Performing secondary checks...
Secondary checks complete.
One or more errors/warnings issued.

why?
how do i fix?

Thank you
Title: Re: dinit issue on community cinnamon, or not
Post by: n00b on 29 December 2024, 17:03:52
dinit
dinit: boot: could not find service description.


@nous ?
Title: Re: dinit issue on community cinnamon, or not
Post by: Wolzly on 29 December 2024, 17:08:53
Are you running dinitcheck as root? Or with sudo?

If not I get those same errors, but with sudo all is well.
Title: Re: dinit issue on community cinnamon, or not
Post by: n00b on 29 December 2024, 17:23:49
derp

Thank you

P.S
how do i get https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio to work?
Title: Re: dinit issue on community cinnamon, or not
Post by: Hitman on 29 December 2024, 17:38:21
With turnstiled-dinit and the pipewire*-dinit packages, enabling the system service first, then the user ones with dinitctl running as normal user.
Title: Re: dinit issue on community cinnamon, or not
Post by: n00b on 29 December 2024, 17:58:11
didn't have turnstile-dinit

How does one "enabling the system service first"

I should add to wiki?
Title: Re: dinit issue on community cinnamon, or not
Post by: n00b on 29 December 2024, 18:26:36
running your utils, in service manager, I get a flashing second top line utilities.sh line 681 find_usersvc command not found

Edit
https://wiki.artixlinux.org/Main/Dinit#userservices says TBA

I guess cinnamon-dinit artix does not have user services set up?
Title: Re: dinit issue on community cinnamon, or not
Post by: Hitman on 29 December 2024, 19:02:22
That means it hasn't found /run/turnstiled, and thanks for trying the script btw, i will make that find_usersvc function run differently so that it doesn't have the bug with the flashing line there.
If you execute
Quote
# dinitctl enable turnstiled
and maybe reboot, then you should have a functioning user dinitctl
Quote
$ dinitctl enable pipewire*/wireplumber
Title: Re: dinit issue on community cinnamon, or not
Post by: n00b on 29 December 2024, 20:07:39
Code: [Select]
dinitctl list
[[+]     ] boot
[{+}     ] system
[{+}     ] dbus (pid: 9370)

yay!
apparently the wildcard * does not work, but
Code: [Select]
dinitctl list
[[+]     ] boot
[{+}     ] system
[{+}     ] dbus (pid: 9370)
[{+}     ] pipewire (pid: 14830)
[{+}     ] pipewire-pulse (pid: 16835)
[{+}     ] wireplumber (pid: 1827)

so works

I thank you

put in wiki