Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294352 Details for
Bug 431924
RuntimeError: Error running : Permission denied
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
iscsi.patch
iscsi.patch (text/plain), 1.25 KB, created by
James Laska
on 2008-02-08 13:48:21 UTC
(
hide
)
Description:
iscsi.patch
Filename:
MIME Type:
Creator:
James Laska
Created:
2008-02-08 13:48:21 UTC
Size:
1.25 KB
patch
obsolete
>diff --git a/iscsi.py b/iscsi.py >index cfa44dd..07409d8 100644 >--- a/iscsi.py >+++ b/iscsi.py >@@ -176,7 +176,7 @@ class iscsi(object): > self.initiatorSet = False > self.oldInitiatorFile = None > >- if self.fwinfo.has_key("iface.initiatorname"): >+ if self.fwinfo and self.fwinfo.has_key("iface.initiatorname"): > self._initiator = self.fwinfo["iface.initiatorname"] > self.initiatorSet = True > self.startup() >@@ -185,7 +185,7 @@ class iscsi(object): > if self._initiator != "": > return self._initiator > >- if self.fwinfo.has_key("iface.initiatorname"): >+ if self.fwinfo and self.fwinfo.has_key("iface.initiatorname"): > return self.fwinfo["iface.initiatorname"] > else: > return randomIname() >@@ -211,6 +211,9 @@ class iscsi(object): > > find_iscsi_files() > >+ if not has_iscsi(): >+ return >+ > retval = {} > > argv = [ "-m", "fw" ] >@@ -254,6 +257,9 @@ class iscsi(object): > os.kill(pid, signal.SIGKILL) > > def shutdown(self): >+ if not has_iscsi(): >+ return >+ > if flags.test: > if self.oldInitiatorFile != None: > f = open(INITIATOR_FILE, "w")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 431924
: 294352