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

Get rid of 'systemctl preset <service>' lines in %post of nvidia-video-G06/nvidia-compute-G06 packages #51

Open
sndirsch opened this issue Nov 30, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@sndirsch
Copy link
Collaborator

For some reason on SUSE it's not sufficient to just add systemd preset files to enable a service. It's not getting enabled, not even after reboot. %systemd_post <service> in %post doesn't help either. Instead systemctl preset <service> is needed. Hopefully we can get rid of this workaround in the future. This is related to PR #50,

@sndirsch
Copy link
Collaborator Author

@scaronni-nvidia JFYI ...

@sndirsch sndirsch added the enhancement New feature or request label Nov 30, 2024
@scaronni
Copy link
Contributor

scaronni commented Dec 2, 2024

Bummer, adding all of that to the SPEC file kinda defeats the purpose of using a simple systemd preset...

I've made more tests on an opensuse VM, without the lines it seems the results are not really consistent, sometimes the services are not started, in some other cases (apparently random) they are.

@sndirsch
Copy link
Collaborator Author

sndirsch commented Dec 2, 2024

@scaronni Thanks for trying so hard. For now it's lower priority than the other open issues though. We may still find a solution until release of 570 next year.

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

No branches or pull requests

2 participants