From f22f0f8de861be5af5fa133e472a864b31e2fd78 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Tue, 24 Sep 2019 13:50:17 +0100 Subject: [PATCH] open-vm-tools: fix udev rule --- .../patches/open-vm-tools-0101-PR371.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/sysutils/open-vm-tools/patches/open-vm-tools-0101-PR371.patch diff --git a/packages/sysutils/open-vm-tools/patches/open-vm-tools-0101-PR371.patch b/packages/sysutils/open-vm-tools/patches/open-vm-tools-0101-PR371.patch new file mode 100644 index 0000000000..f3e6632984 --- /dev/null +++ b/packages/sysutils/open-vm-tools/patches/open-vm-tools-0101-PR371.patch @@ -0,0 +1,22 @@ +From 81480daf43f5a42b268cc1c43d8c9e2164e5cd88 Mon Sep 17 00:00:00 2001 +From: MilhouseVH +Date: Tue, 24 Sep 2019 13:20:51 +0100 +Subject: [PATCH] stop systemd-243 udev complaints + +--- + udev/99-vmware-scsi-udev.rules | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/udev/99-vmware-scsi-udev.rules b/udev/99-vmware-scsi-udev.rules +index 053b59706..051040ef7 100644 +--- a/udev/99-vmware-scsi-udev.rules ++++ b/udev/99-vmware-scsi-udev.rules +@@ -2,6 +2,6 @@ + # + # This file is part of open-vm-tools + +-ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*", ATTRS{model}=="Virtual disk*", ENV{DEVTYPE}=="disk", RUN+="/bin/sh -c 'echo 180 >/sys$DEVPATH/device/timeout'" +-ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*", ATTRS{model}=="VMware Virtual S", ENV{DEVTYPE}=="disk", RUN+="/bin/sh -c 'echo 180 >/sys$DEVPATH/device/timeout'" ++ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*", ATTRS{model}=="Virtual disk*", ENV{DEVTYPE}=="disk", RUN+="/bin/sh -c 'echo 180 >/sys$env{DEVPATH}/device/timeout'" ++ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*", ATTRS{model}=="VMware Virtual S", ENV{DEVTYPE}=="disk", RUN+="/bin/sh -c 'echo 180 >/sys$env{DEVPATH}/device/timeout'" +