Skip to content

Commit f4e9987

Browse files
committed
Remove udev rules for /dev/vhost-vsock and /dev/vhost-net
In [PR google#10 (2019)](https://www.github.com/google/android-cuttlefish/pull/10) we added a udev rule to put `/dev/vhost-vsock` in the `cvdnetwork` group. IIRC before that the `/dev/vhost-vsock` device was owned by both the `root` user and `root` group. systemd's [PR #18214](systemd/systemd#18214) (2021) added the `/dev/vhost-vsock` and `/dev/vhost-net` devices to the `kvm` group so we can probably drop our own udev rules now as we already require users to be in the `kvm` group. Issue brought up by @SeungJAEYOO@google.com in the team notes. Bug: b/514792751
1 parent 0163858 commit f4e9987

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

base/debian/cuttlefish-base.udev

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
ACTION=="add", KERNEL=="vhost-net", SUBSYSTEM=="misc", MODE="0660", GROUP="cvdnetwork"
2-
ACTION=="add", KERNEL=="vhost-vsock", SUBSYSTEM=="misc", MODE="0660", GROUP="cvdnetwork"
3-
41
ACTION=="add", SUBSYSTEM=="net", ENV{ID_NET_DRIVER}=="cdc_ncm", ENV{ID_VENDOR_ID}=="18d1", ENV{ID_MODEL_ID}=="4ef2", ENV{NM_UNMANAGED}="1", RUN+="/sbin/ip link set dev $env{ID_NET_NAME} master cvd-ebr up"
52
ACTION=="add", SUBSYSTEM=="net", ENV{ID_NET_DRIVER}=="cdc_ncm", ENV{ID_VENDOR_ID}=="18d1", ENV{ID_MODEL_ID}=="4ef3", ENV{NM_UNMANAGED}="1", RUN+="/sbin/ip link set dev $env{ID_NET_NAME} master cvd-ebr up"

0 commit comments

Comments
 (0)