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

mig-manager is breaking ordering cycle #103

Closed
qmdafont opened this issue Jul 31, 2024 · 1 comment
Closed

mig-manager is breaking ordering cycle #103

qmdafont opened this issue Jul 31, 2024 · 1 comment

Comments

@qmdafont
Copy link

qmdafont commented Jul 31, 2024

Due to commit #ddf0b98 nvidia-mig-manager.service wants to start after systemd-resolved, but before sysinit.
systemd-resolved hower wants to run before sysinit -> break.

Please remove this commit.

Jul 25 10:03:28 hqc4020-sn5 systemd[1]: sysinit.target: Found ordering cycle on systemd-resolved.service/start
Jul 25 10:03:28 hqc4020-sn5 systemd[1]: sysinit.target: Found dependency on nvidia-mig-manager.service/start
Jul 25 10:03:28 hqc4020-sn5 systemd[1]: sysinit.target: Found dependency on sysinit.target/start
Jul 25 10:03:28 hqc4020-sn5 systemd[1]: sysinit.target: Job systemd-resolved.service/start deleted to break ordering cycle starting with sysinit.target/start
sudo systemctl cat systemd-resolved.service
[Unit]
After=systemd-sysctl.service systemd-sysusers.service
Before=sysinit.target network.target nss-lookup.target shutdown.target initrd-switch-root.target
-> means run after sysinit
sudo systemctl cat nvidia-mig-manager.service
[Unit]
After=sysinit.target local-fs.target
Before=basic.target nvidia-persistenced.service systemd-resolved.service
-> means run after systemd-resolved (which should run after sysinit), but before sysinit -> break
@klueska
Copy link
Contributor

klueska commented Aug 13, 2024

Fixed by #105

@klueska klueska closed this as completed Aug 13, 2024
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

No branches or pull requests

2 participants