Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2020 07:39:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245616] security/jailaudit: Fix VNET jails (and IP-less jails in general)
Message-ID:  <bug-245616-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245616

            Bug ID: 245616
           Summary: security/jailaudit: Fix VNET jails (and IP-less jails
                    in general)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: grembo@FreeBSD.org

Created attachment 213385
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213385&action=
=3Dedit
Patch jailaudit to support VNET jails

jailaudit depends on parsing the output of jls based on positional paramete=
rs.

Unfortunately this falls apart with VNET jails, as they don't have an IP
address perceivable by the host system.

This patch fixes this by changing the invocation of jls so that required
parameters are passed explicitly to the command (jid, host.hostname, path).

I checked the man pages of jls(8), in theory this should work at least all =
the
way back to 8.4-RELEASE (assuming the name of params in the kernel didn't
change).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245616-7788>