semanage node -a bug
PATCH 1/1 semanage node -a bug
This patch fixes a bug that causes semanage node -a to not work (failing with a python traceback). You can test the bug with any semanage node -a command, such as:
semanage node -a -t node_t -p ipv4 -M 255.255.255.0 192.168.1.0
Signed-off-by Chad Sellers <[email protected]>
--- policycoreutils/semanage/seobject.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
policycoreutils/semanage/seobject.py +1 -1
@@ -1038,7 +1038,7 @@ class nodeRecords(semanageRecords): def add(self, addr, mask, proto, serange, ctype): self.begin() - self.__add(self, addr, mask, proto, serange, ctype) + self.__add(addr, mask, proto, serange, ctype) self.commit() def __modify(self, addr, mask, proto, serange, setype):
Signature · 7 lines
1.6.2.5 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.