Prevent logging of restricted file contents
Prevent logging of sensitive data in restricted files when privsep operations complete. Dell PowerFlex: password appears in plain text when - creating a volume from an image - attaching a volume - detatching a volume Closes bug #2003179 Change-Id: Ic26a355e65b3392df9fb970170c9dbb60bbf4606
This commit is contained in:
parent
f0c7eca61b
commit
463b4bf5fd
@ -496,8 +496,8 @@ class Daemon(object):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
reply = result.result()
|
reply = result.result()
|
||||||
LOG.debug('privsep: reply[%(msgid)s]: %(reply)s',
|
LOG.debug('privsep: reply[%(msgid)s]: has_reply? %(reply)s',
|
||||||
{'msgid': msgid, 'reply': reply})
|
{'msgid': msgid, 'reply': reply is not None})
|
||||||
channel.send((msgid, reply))
|
channel.send((msgid, reply))
|
||||||
except IOError:
|
except IOError:
|
||||||
self.communication_error = sys.exc_info()
|
self.communication_error = sys.exc_info()
|
||||||
|
14
releasenotes/notes/bug-2003179-f88922a47abcf07a.yaml
Normal file
14
releasenotes/notes/bug-2003179-f88922a47abcf07a.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
`Bug #2003179 <https://bugs.launchpad.net/cinder/+bug/2003179>`_: Fixed
|
||||||
|
Prevent logging of restricted file contents
|
||||||
|
|
||||||
|
Prevent logging of sensitive data in restricted
|
||||||
|
files when privsep operations complete.
|
||||||
|
|
||||||
|
Dell PowerFlex: password appears in plain text when
|
||||||
|
- creating a volume from an image
|
||||||
|
- attaching a volume
|
||||||
|
- detatching a volume
|
||||||
|
|
Loading…
Reference in New Issue
Block a user