Re: Firewalld + libvirt rules conflict
Nick <[email protected]> Wed, 29 Dec 2021 03:09:00 +0200
| Newsgroups | gmane.linux.debian.devel.firewall |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------5BDE995490053E8DCFCB7AAA
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
I don't see any difference, hook is not triggered after firewall-cmd
--reload.
Reading the https://www.libvirt.org/hooks.html#location
/etc/libvirt/hooks/network
Executed when a network is started or stopped or an interface is
plugged/unplugged to/from the network <-- this doesn't seem to be
exactly what is needed as no such events occur.
At this point systemctl restart libvirtd will trigger
/etc/libvirt/hooks/network and insert the desired rules which I think is
strange because there is /etc/libvirt/hooks/daemon for this.
--
*This server is power by 220V*
--------------5BDE995490053E8DCFCB7AAA
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I don't see any difference, hook is not triggered after
firewall-cmd --reload.</p>
<p><br>
</p>
<p>Reading the <a class="moz-txt-link-freetext" href="https://www.libvirt.org/hooks.html#location">https://www.libvirt.org/hooks.html#location</a><br>
</p>
<p>/etc/libvirt/hooks/network<br>
Executed when a network is started or stopped or an interface is
plugged/unplugged to/from the network <-- this doesn't seem to
be exactly what is needed as no such events occur.<br>
</p>
<p>At this point systemctl restart libvirtd will trigger
/etc/libvirt/hooks/network and insert the desired rules which I
think is strange because there is /etc/libvirt/hooks/daemon for
this.<br>
</p>
<div class="moz-signature">-- <br>
<b>This server is power by 220V</b></div>
</body>
</html>
--------------5BDE995490053E8DCFCB7AAA--