Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed call to udev trigger in get_iscsi_device(). Fixes EUCA-4627

Originally called udev trigger to fix a problem with permissions not
being set on mounted devices, but the trigger did not solve the problem
and was never removed. Removed it now as it can cause unintended
side-effects.
  • Loading branch information...
commit a15631d179c43cf621aa28ec940bf0f8f1b3e079 1 parent 9a0f326
@zhill zhill authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  tools/iscsitarget_common.pl
View
2  tools/iscsitarget_common.pl
@@ -181,8 +181,6 @@ sub match_iscsi_session {
sub get_iscsi_device {
my ($netdev, $ip, $store, $lun) = @_;
- #Trigger udev explicitly
- run_cmd(0,0,"$UDEVADM trigger");
for $session (lookup_session()) {
if (match_iscsi_session($session, $netdev, $ip, $store)) {
if ($lun > -1) {
Please sign in to comment.
Something went wrong with that request. Please try again.