-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
proc-sys-fs-binfmt_misc.mount #574
Comments
+1 still exists |
getting this in my virtual box tests. |
It might be detected incorrectly as an error. It also happens on my machine that I have not setup with nixos:
Furthermore, on all the affected machines I see the following mount, so it seems to have an effect (or something else):
That said, other mount units look different:
|
Aaah, I understood a bit more about this. There is an accompanying
|
So, this doesn't look like it's affecting anything negatively, it is rather annoying though to see that in |
@devhell This removes the error, but it's not very satisfying, not sure what the right solution is:
|
I think you can avoid that altogether with this:
This looks like a fairly common systemd error. Might be worthwhile to open an issue there. |
The weird thing is that
so why does nixops report this unit as failed if it doesn’t even exist? |
Ohhh ok, so nixops does this:
Then ignores everything which is not a |
Filtering out /proc here seems reasonable to me. Can anyone think of a case where that would be undesirable? |
May be related to: NixOS/nixpkgs#87687 |
possible fix: NixOS/nixpkgs#87742 |
Also, remove the dangling systemd.services.systemd-binfmt.wants = [ "proc-sys-fs-binfmt_misc.mount" ]; in systemd.nix. If boot.binfmt.registrations != {}, systemd will install proc-sys-fs-binfmt_misc.automount, which will auto-mount `/proc/sys/fs/binfmt_misc` as soon as systemd-binfmt tries to access it. Fixes NixOS#87687 Fixes NixOS/nixops#574
@grahamc with NixOS/nixpkgs#87742 closed, can you close this too? |
Fixed in nixpkgs, closing! |
This is still happening for me |
I've noticed this on my own deployments and in other comments and dicsussions #465 and #391.
proc-sys-fs-binfmt_misc.mount [failed]
A manual restart clears the error.
The text was updated successfully, but these errors were encountered: