shut down cannot unmount /nix/store #126
Comments
I already encountered too short systemd timeouts (my filesystems are quite fragmented). |
I think this was mentioned either in another issue, or in nix-dev. In any case, I experience this in every machine too. |
Btw, the error unmounting appears in a "[ OK ]" systemd line. |
I feel this issue might come from the upstream kernels as it is happening
|
We should probably just patch systemd to ignore /nix/store (which obviously cannot be unmounted because systemd is running from it). It already ignores / and /usr:
|
On Fri, Apr 12, 2013 at 03:31:21AM -0700, Eelco Dolstra wrote:
Ah so they are mounted ro already, at that point? |
Yes. However, remounting ro might not work correctly if people have /nix/store as a separate filesystem and nix.readOnlyStore enabled (since systemd won't be able to remount the underlying mount point). |
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
@edolstra Does still happen? Because I'm seeing this error too: NixOS/nixpkgs#3280 Maybe the fix is only in the master branch? |
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
They'll still be remounted read-only. NixOS/nixos#126
On several machines I get an error on shoutdown:
Could not unmount /nix/store: Device or resource busy
Not all file system unmounted, 1 left.
Cannot finalize remaining file systems and devices, giving up.
[ 859.088793] System halted.
And the computer do not turn off automatically.
The text was updated successfully, but these errors were encountered: