]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
stop systemd-243 udev complaints #371
authorOliver Kurth <okurth@vmware.com>
Mon, 28 Oct 2019 23:12:42 +0000 (16:12 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 28 Oct 2019 23:12:42 +0000 (16:12 -0700)
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

open-vm-tools/AUTHORS
open-vm-tools/udev/99-vmware-scsi-udev.rules
open-vm-tools/udev/Makefile.am

index 08cc28ef258ae36ef64b99e93e53766f0a6a2b12..026de07e6f7f65bfcca95a62285caceb3ecc4c1e 100644 (file)
@@ -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
+
index 053b59706f51ecc152b8cf14ecab154d289bc413..fb4ed6844377ffe18c3ced7cd6e72250ec19f6ae 100644 (file)
@@ -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'"
 
index 68fbc3e273afe42daa7e6ef548d7346e3050dc68..c3baadf1612b2b974bcc9ff8f95a38470286ff23 100644 (file)
@@ -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)