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
This commit is contained in:
Eelco Dolstra 2016-06-03 00:30:02 +02:00
parent b05f991f5f
commit 7c19b395eb

View File

@ -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"
'';
};