diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-03 00:30:02 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-03 00:33:15 +0200 |
commit | 7c19b395ebb8e41d814c64970c3b70ef6377a55b (patch) | |
tree | a433801bf449b009736eac5b9df181cf36b701f6 /nixos/modules | |
parent | b05f991f5fd6cb6f03b2812bf59f425229f9b26d (diff) |
Explicitly specify the subsystem for /dev/vboxguest
Otherwise systemd gets confused and forgets about device units after reloading. https://github.com/NixOS/nixops/issues/391 https://github.com/systemd/systemd/issues/3423
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/virtualisation/virtualbox-guest.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/virtualbox-guest.nix b/nixos/modules/virtualisation/virtualbox-guest.nix index 3a10871ce8406..59bac24a75378 100644 --- a/nixos/modules/virtualisation/virtualbox-guest.nix +++ b/nixos/modules/virtualisation/virtualbox-guest.nix @@ -77,7 +77,7 @@ in KERNEL=="vboxuser", OWNER="root", GROUP="root", MODE="0666" # Allow systemd dependencies on vboxguest. - KERNEL=="vboxguest", TAG+="systemd" + SUBSYSTEM=="misc", KERNEL=="vboxguest", TAG+="systemd" ''; }; |