Change in vdsm[master]: Adding remove\disable verbs to vdsm-tool for admin usages

ybronhei at redhat.com ybronhei at redhat.com
Wed Nov 27 11:29:03 UTC 2013


Yaniv Bronhaim has posted comments on this change.

Change subject: Adding remove\disable verbs to vdsm-tool for admin usages
......................................................................


Patch Set 1:

(2 comments)

....................................................
File lib/vdsm/tool/configurator.py
Line 48: 
Line 49:     def isconfigured(self):
Line 50:         return True
Line 51: 
Line 52:     def removeConf(self, filename, beginField=None, endField=None):
I can you use "sed -i" explictly if it's simpler to understand. let me know
Line 53:         newfile = []
Line 54:         if not beginField and not endField:
Line 55:             return
Line 56:         else:


....................................................
File lib/vdsm/tool/seboolsetup.py
Line 65:     """Disable the required selinux booleans"""
Line 66:     setup_booleans(False)
Line 67: 
Line 68: 
Line 69: @expose("clear-selinux-policy")
sebool_unconfig does the same. I'll remove that
Line 70: def clear_selinux_policy():
Line 71:     """
Line 72:     Clear the changes of selinux policy
Line 73:     """


-- 
To view, visit http://gerrit.ovirt.org/21772
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie7f2c031436a6d202f856c24d9c9420c8bfdf6df
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list