[PATCH 2/2] docs: Move passt log file in our example XML

Michal Privoznik mprivozn at redhat.com
Mon Jun 12 08:15:09 UTC 2023


In our passt example XML we use /var/log/passt.log as path to the
log file. This is not optimal, because in case of unprivileged
daemon, neither libvirt nor passt has enough permissions to
create the file. Let's move the file under /tmp.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 docs/formatdomain.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index c3526439bf..ec154605fc 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -4896,7 +4896,7 @@ ports **with the exception of some subset**.
    <devices>
      ...
      <interface type='user'>
-       <backend type='passt' logFile='/var/log/passt.log'/>
+       <backend type='passt' logFile='/tmp/passt.log'/>
        <mac address="00:11:22:33:44:55"/>
        <source dev='eth0'/>
        <ip family='ipv4' address='172.17.2.4' prefix='24'/>
-- 
2.39.3



More information about the libvir-list mailing list