Hello and thanks for making it possible to manage servers on other distros with Nix and sorry if this is not the right place to ask such questions!
I recently got two VMs from my institution and after some config copying I used Nix with system-manager to manage them. Since then, sometimes when I reboot the VMs, they go into emergency mode and I have to go to the VM program to press Ctrl+D making them boot.
The logs then show that there is a timeout waiting for one device and also some cyclic dependencies in systemd services.
As I already had a problem with one of system-manager's systemd services (after managing openssh with it, I suddenly got a post-quantum warning as it looks like the default config sets insecure algorithms. Setting the nix option to null removes the option from the generated config and enables openssh to freely choose, resolving the error.) I wanted to ask if this could be related to this project in some way (because of some systemd service definitions that collide with Ubuntu's).
If not, then I know that I have to search elsewhere, as I'm by now quite clueless how to resolve those sporadic errors.
May 12 17:36:56 vmName systemd[1]: var.mount: Found ordering cycle on systemd-fsck@dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dXCXZTuMnP0jNLoZCojkmzEgoRgS2pZz>
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on local-fs-pre.target/start
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on systemd-tmpfiles-setup-dev.service/start
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on userborn.service/start
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on var.mount/start
May 12 17:36:56 vmName systemd[1]: var.mount: Job systemd-fsck@dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dXCXZTuMnP0jNLoZCojkmzEgoRgS2pZzs9qeCDhdEfZr3WBGB5iy>
May 12 17:36:56 vmName systemd[1]: var.mount: Found ordering cycle on systemd-fsck@dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dXCXZTuMnP0jNLoZCojkmzEgoRgS2pZz>
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on local-fs-pre.target/start
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on systemd-tmpfiles-setup-dev.service/start
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on userborn.service/start
May 12 17:36:56 vmName systemd[1]: var.mount: Found dependency on var.mount/start
May 12 17:36:56 vmName systemd[1]: var.mount: Job local-fs-pre.target/start deleted to break ordering cycle starting with var.mount/start
May 12 17:36:56 vmName systemd[1]: srv.mount: Job srv.mount/start failed with result 'dependency'.
May 12 17:36:56 vmName systemd[1]: Dependency failed for systemd-fsck@dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dXCXZTuMnP0jNLoZCojkmzEgoRgS2pZzs69EENWS3fEmU>
░░ Subject: A start job for unit systemd-fsck@dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dXCXZTuMnP0jNLoZCojkmzEgoRgS2pZzs69EENWS3fEmUvfrdB7KPb8p4onnXFha2.ser>
░░ Defined-By: systemd
Hello and thanks for making it possible to manage servers on other distros with Nix and sorry if this is not the right place to ask such questions!
I recently got two VMs from my institution and after some config copying I used Nix with system-manager to manage them. Since then, sometimes when I reboot the VMs, they go into emergency mode and I have to go to the VM program to press Ctrl+D making them boot.
The logs then show that there is a timeout waiting for one device and also some cyclic dependencies in systemd services.
As I already had a problem with one of system-manager's systemd services (after managing openssh with it, I suddenly got a post-quantum warning as it looks like the default config sets insecure algorithms. Setting the nix option to null removes the option from the generated config and enables openssh to freely choose, resolving the error.) I wanted to ask if this could be related to this project in some way (because of some systemd service definitions that collide with Ubuntu's).
If not, then I know that I have to search elsewhere, as I'm by now quite clueless how to resolve those sporadic errors.