Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start daemon on Gentoo. #296

Closed
2 tasks done
justas2006 opened this issue Mar 29, 2024 · 4 comments · Fixed by #297
Closed
2 tasks done

Can't start daemon on Gentoo. #296

justas2006 opened this issue Mar 29, 2024 · 4 comments · Fixed by #297

Comments

@justas2006
Copy link

Checklist

Bug description

"rc-update add lactd default" works fine, but when i try to start it with "rc-service lactd start" it says "rc-service: No such file or directory".
LACT-sysfs-snapshot-20240329-180843.tar.gz

System info

- LACT version:5.13
- GPU model:6700xt
- Kernel version:6.6.21
- Distribution:Gentoo
@ilya-zlobintsev
Copy link
Owner

Does the daemon work if you run it manually with lact daemon (as root)?

I haven't used non-systemd distros, so I'm not too familiar with how the units are installed, you might be better of asking the distro package maintainers about this.

@justas2006
Copy link
Author

Does the daemon work if you run it manually with lact daemon (as root)?

I haven't used non-systemd distros, so I'm not too familiar with how the units are installed, you might be better of asking the distro package maintainers about this.

Yeah it actually works. The output i get is "lact_daemon::socket: listening on "/var/run/lactd.sock" "

@justas2006
Copy link
Author

Solved by doing a system link "ln -s /sbin/openrc-run /usr/bin/openrc-run".

@Username404-59
Copy link
Contributor

I haven't used non-systemd distros, so I'm not too familiar with how the units are installed, you might be better of asking the distro package maintainers about this.

This is because on the "split-usr" gentoo profiles /sbin is a separate directory whereas on the merged-usr ones and on other distributions /sbin and /usr/sbin both point to /usr/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants