mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-30 09:22:38 +00:00
Need to delete all managed objects before readding them
This commit is contained in:
parent
4f63201788
commit
cc131892c7
@ -667,8 +667,9 @@ def setupDontauditParser(subparsers):
|
||||
def handleExport(args):
|
||||
manageditems=[ "boolean", "login", "interface", "user", "port", "node", "fcontext", "module"]
|
||||
for i in manageditems:
|
||||
OBJECT = object_dict[i]()
|
||||
print "%s -D" % i
|
||||
for i in manageditems:
|
||||
OBJECT = object_dict[i]()
|
||||
for c in OBJECT.customized():
|
||||
print "%s %s" % (i, str(c))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user