Create qubes_iptables_error xenstore file in FwVM and set its permissions.
This commit is contained in:
parent
ca81f0103d
commit
fd8ecca9bd
@ -943,6 +943,14 @@ class QubesFirewallVm(QubesNetVm):
|
|||||||
return
|
return
|
||||||
|
|
||||||
super(QubesFirewallVm, self).create_xenstore_entries(xid)
|
super(QubesFirewallVm, self).create_xenstore_entries(xid)
|
||||||
|
retcode = subprocess.check_call ([
|
||||||
|
"/usr/bin/xenstore-write",
|
||||||
|
"/local/domain/{0}/qubes_iptables_error".format(xid),
|
||||||
|
""])
|
||||||
|
retcode = subprocess.check_call ([
|
||||||
|
"/usr/bin/xenstore-chmod",
|
||||||
|
"/local/domain/{0}/qubes_iptables_error".format(xid),
|
||||||
|
"r{0} w{1}".format(xid,xid)])
|
||||||
self.write_iptables_xenstore_entry()
|
self.write_iptables_xenstore_entry()
|
||||||
|
|
||||||
def write_iptables_xenstore_entry(self):
|
def write_iptables_xenstore_entry(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user