From: Oliver Kurth Date: Wed, 30 Oct 2019 18:21:53 +0000 (-0700) Subject: stop systemd-243 udev complaints #371 X-Git-Tag: stable-11.0.5~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86d3256f2acccc066648e6b25e16b46930338406;p=thirdparty%2Fopen-vm-tools.git stop systemd-243 udev complaints #371 Address issues from pull request #371 on github: - fix substiution variables for systemd-243 - fix permissions of rules file See https://github.com/vmware/open-vm-tools/pull/371 --- diff --git a/open-vm-tools/AUTHORS b/open-vm-tools/AUTHORS index 08cc28ef2..026de07e6 100644 --- a/open-vm-tools/AUTHORS +++ b/open-vm-tools/AUTHORS @@ -49,3 +49,7 @@ Josh Paetzel Additional changes to vmmemctl.ko for FreeBSD 12.0 API changes. Haruki Tsurumoto Fix Asianux identification - https://github.com/vmware/open-vm-tools/pull/325 + +MilhouseVH stop systemd-243 udev complaints + - https://github.com/vmware/open-vm-tools/pull/371 + diff --git a/open-vm-tools/udev/99-vmware-scsi-udev.rules b/open-vm-tools/udev/99-vmware-scsi-udev.rules index 053b59706..fb4ed6844 100644 --- a/open-vm-tools/udev/99-vmware-scsi-udev.rules +++ b/open-vm-tools/udev/99-vmware-scsi-udev.rules @@ -1,7 +1,7 @@ -# Copyright (C) 2016 VMware, Inc. All rights reserved. +# Copyright (C) 2016,2019 VMware, Inc. All rights reserved. # # 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'" diff --git a/open-vm-tools/udev/Makefile.am b/open-vm-tools/udev/Makefile.am index 68fbc3e27..c3baadf16 100644 --- a/open-vm-tools/udev/Makefile.am +++ b/open-vm-tools/udev/Makefile.am @@ -1,5 +1,5 @@ ################################################################################ -### Copyright (C) 2016 VMware, Inc. All rights reserved. +### Copyright (C) 2016,2019 VMware, Inc. All rights reserved. ### ### This program is free software; you can redistribute it and/or modify ### it under the terms of version 2 of the GNU General Public License as @@ -17,5 +17,5 @@ install-data-local: $(INSTALL) -d $(DESTDIR)$(UDEVRULESDIR) - $(INSTALL) $(srcdir)/99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR) + $(INSTALL) -m 644 $(srcdir)/99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR)