[Bug 212728] ports-mgmt/jailaudit: breaks when auditdistd is running
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 16 13:25:20 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212728
Bug ID: 212728
Summary: ports-mgmt/jailaudit: breaks when auditdistd is
running
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: xavi.garcia at gmail.com
CC: cryx-ports at h3q.com
Flags: maintainer-feedback?(cryx-ports at h3q.com)
CC: cryx-ports at h3q.com
Created attachment 174831
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174831&action=edit
jailaudit patch
jailaudit fails when auditdistd is running in the server.
auditdistd creates several jails to isolate the processes in charge of
transmitting the audit traces generated by auditd. These jails have a setup and
naming convention that is not expected by jailaudit (namely, not having base
installed), causing it to fail.
See https://wiki.freebsd.org/auditdistd for more information
Exemple of the execution in 10.3-RELEASE:
# jailaudit generate
Downloading a current audit database:
pkgng support enabled, using /usr/local/sbin/pkg version 1.8.7.
jexec: execvp: ls: No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!
jexec: execvp: ls: No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!
jexec: execvp: ls: No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!
jexec: execvp: ls: No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!
You can find attached a patch that only accesses the jails when '/var/db/pkg'
exists.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list