Compare commits
12 Commits
2.8.1-1mam
...
3.0.7-1mam
Author | SHA1 | Date | |
---|---|---|---|
b2c0f4f9c2 | |||
0d7b1ab9a8 | |||
0e978576cb | |||
0d14ba2431 | |||
3314d0c77c | |||
b280eab443 | |||
047f704404 | |||
2b01e7db40 | |||
587f520e6f | |||
dcf4e6fe81 | |||
da428f1075 | |||
4d05df0530 |
26
audit-2.8.4-rundir.patch
Normal file
26
audit-2.8.4-rundir.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
diff -Nru audit-2.8.4.orig/init.d/auditd.state audit-2.8.4/init.d/auditd.state
|
||||
--- audit-2.8.4.orig/init.d/auditd.state 2018-05-21 19:38:08.000000000 +0200
|
||||
+++ audit-2.8.4/init.d/auditd.state 2019-01-05 08:46:05.999451866 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||||
prog="auditd"
|
||||
-state_file="/var/run/auditd.state"
|
||||
+state_file="/run/auditd.state"
|
||||
. /etc/init.d/functions
|
||||
|
||||
printf "Getting auditd internal state: "
|
||||
diff -Nru audit-2.8.4.orig/src/auditd.c audit-2.8.4/src/auditd.c
|
||||
--- audit-2.8.4.orig/src/auditd.c 2018-05-21 19:38:08.000000000 +0200
|
||||
+++ audit-2.8.4/src/auditd.c 2019-01-05 08:44:18.153983329 +0100
|
||||
@@ -66,8 +66,8 @@
|
||||
/* Local data */
|
||||
static int fd = -1, pipefds[2] = {-1, -1};
|
||||
static struct daemon_conf config;
|
||||
-static const char *pidfile = "/var/run/auditd.pid";
|
||||
-static const char *state_file = "/var/run/auditd.state";
|
||||
+static const char *pidfile = "/run/auditd.pid";
|
||||
+static const char *state_file = "/run/auditd.state";
|
||||
static int init_pipe[2];
|
||||
static int do_fork = 1, opt_aggregate_only = 0, config_dir_set = 0;
|
||||
static struct auditd_event *cur_event = NULL, *reconfig_ev = NULL;
|
83
audit-3.0-usrsbin.patch
Normal file
83
audit-3.0-usrsbin.patch
Normal file
@@ -0,0 +1,83 @@
|
||||
diff -ru audit-3.0.orig/init.d/auditd.cron audit-3.0/init.d/auditd.cron
|
||||
--- audit-3.0.orig/init.d/auditd.cron 2020-12-16 21:44:34.000000000 +0100
|
||||
+++ audit-3.0/init.d/auditd.cron 2021-02-13 20:44:43.484919856 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
# based on a cron job.
|
||||
##########
|
||||
|
||||
-/sbin/service auditd rotate
|
||||
+/usr/sbin/service auditd rotate
|
||||
EXITVALUE=$?
|
||||
if [ $EXITVALUE != 0 ]; then
|
||||
/usr/bin/logger -t auditd "ALERT exited abnormally with [$EXITVALUE]"
|
||||
diff -ru audit-3.0.orig/init.d/auditd.service audit-3.0/init.d/auditd.service
|
||||
--- audit-3.0.orig/init.d/auditd.service 2020-12-16 21:44:34.000000000 +0100
|
||||
+++ audit-3.0/init.d/auditd.service 2021-02-13 20:44:43.484919856 +0100
|
||||
@@ -18,15 +18,15 @@
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/auditd.pid
|
||||
-ExecStart=/sbin/auditd
|
||||
+ExecStart=/usr/sbin/auditd
|
||||
## To not use augenrules, copy this file to /etc/systemd/system/auditd.service
|
||||
## and comment/delete the next line and uncomment the auditctl line.
|
||||
## NOTE: augenrules expect any rules to be added to /etc/audit/rules.d/
|
||||
-ExecStartPost=-/sbin/augenrules --load
|
||||
-#ExecStartPost=-/sbin/auditctl -R /etc/audit/audit.rules
|
||||
+ExecStartPost=-/usr/sbin/augenrules --load
|
||||
+#ExecStartPost=-/usr/sbin/auditctl -R /etc/audit/audit.rules
|
||||
# By default we don't clear the rules on exit. To enable this, uncomment
|
||||
# the next line after copying the file to /etc/systemd/system/auditd.service
|
||||
-#ExecStopPost=/sbin/auditctl -R /etc/audit/audit-stop.rules
|
||||
+#ExecStopPost=/usr/sbin/auditctl -R /etc/audit/audit-stop.rules
|
||||
|
||||
### Security Settings ###
|
||||
MemoryDenyWriteExecute=true
|
||||
diff -ru audit-3.0.orig/init.d/augenrules audit-3.0/init.d/augenrules
|
||||
--- audit-3.0.orig/init.d/augenrules 2020-12-16 21:44:34.000000000 +0100
|
||||
+++ audit-3.0/init.d/augenrules 2021-02-13 20:44:43.485919874 +0100
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
try_load() {
|
||||
if [ $LoadRules -eq 1 ] ; then
|
||||
- /sbin/auditctl -R ${DestinationFile}
|
||||
+ /usr/sbin/auditctl -R ${DestinationFile}
|
||||
RETVAL=$?
|
||||
fi
|
||||
}
|
||||
diff -ru audit-3.0.orig/audisp/plugins/remote/au-remote.conf audit-3.0/audisp/plugins/remote/au-remote.conf
|
||||
--- audit-3.0.orig/audisp/plugins/remote/au-remote.conf 2020-12-16 21:44:34.000000000 +0100
|
||||
+++ audit-3.0/audisp/plugins/remote/au-remote.conf 2021-02-13 21:27:18.038655845 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
active = no
|
||||
direction = out
|
||||
-path = /sbin/audisp-remote
|
||||
+path = /usr/sbin/audisp-remote
|
||||
type = always
|
||||
#args =
|
||||
format = string
|
||||
diff -ru audit-3.0.orig/audisp/plugins/syslog/syslog.conf audit-3.0/audisp/plugins/syslog/syslog.conf
|
||||
--- audit-3.0.orig/audisp/plugins/syslog/syslog.conf 2020-12-16 21:44:34.000000000 +0100
|
||||
+++ audit-3.0/audisp/plugins/syslog/syslog.conf 2021-02-13 21:27:06.886482221 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
active = no
|
||||
direction = out
|
||||
-path = /sbin/audisp-syslog
|
||||
+path = /usr/sbin/audisp-syslog
|
||||
type = always
|
||||
args = LOG_INFO
|
||||
format = string
|
||||
diff -ru audit-3.0.orig/audisp/plugins/zos-remote/audispd-zos-remote.conf audit-3.0/audisp/plugins/zos-remote/audispd-zos-remote.conf
|
||||
--- audit-3.0.orig/audisp/plugins/zos-remote/audispd-zos-remote.conf 2020-12-16 21:44:34.000000000 +0100
|
||||
+++ audit-3.0/audisp/plugins/zos-remote/audispd-zos-remote.conf 2021-02-13 21:26:36.495010422 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
active = no
|
||||
direction = out
|
||||
-path = /sbin/audispd-zos-remote
|
||||
+path = /usr/sbin/audispd-zos-remote
|
||||
type = always
|
||||
args = /etc/audisp/zos-remote.conf
|
||||
format = string
|
179
audit.spec
179
audit.spec
@@ -1,36 +1,27 @@
|
||||
Name: audit
|
||||
Version: 2.8.1
|
||||
Version: 3.0.7
|
||||
Release: 1mamba
|
||||
Summary: User space tools for kernel auditing
|
||||
Group: System/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://people.redhat.com/sgrubb/audit
|
||||
URL: https://people.redhat.com/sgrubb/audit/
|
||||
Source: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
||||
Patch0: libaudit-2.6.6-usrsbin.patch
|
||||
Patch0: audit-3.0-usrsbin.patch
|
||||
Patch1: audit-2.8.4-rundir.patch
|
||||
License: GPL, LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libgmp-devel
|
||||
BuildRequires: libgnutls-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: libe2fs-devel
|
||||
BuildRequires: libkrb5-devel
|
||||
BuildRequires: libltdl-devel
|
||||
BuildRequires: libnettle-devel
|
||||
BuildRequires: libnsl-devel
|
||||
BuildRequires: libopenldap-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libp11-kit-devel
|
||||
BuildRequires: libprelude-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libsasl2-devel
|
||||
BuildRequires: libtasn1-devel
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libwrap-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: trousers-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: gcc-go
|
||||
BuildRequires: libgo-devel
|
||||
@@ -38,8 +29,11 @@ BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: swig
|
||||
BuildRequires: libprelude-devel >= 5.2.0
|
||||
%systemd_requires
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: audit-plugins
|
||||
Obsoletes: audit-plugins < 3.0
|
||||
|
||||
%description
|
||||
The audit package contains the user space utilities for storing and searching the audit records generate by the audit subsystem in the Linux 2.6+ kernel.
|
||||
@@ -85,19 +79,12 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
The python-audit package containts Python 3 bindings to %{name}.
|
||||
The libaudit-devel package contains the header files needed for developing applications that need to use the audit framework libraries.
|
||||
|
||||
%package plugins
|
||||
Group: System/Tools
|
||||
Summary: Plugins for the audit event dispatcher
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libaudit = %{?epoch:%epoch:}%{version}-%{release}
|
||||
#Requires: openldap
|
||||
|
||||
%description plugins
|
||||
The audispd-plugins package provides plugins for the real-time interface to the audit system, audispd. These plugins can do things like relay events to remote machines or analyze events for suspicious behavior.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
|
||||
%build
|
||||
#autoreconf -v --install
|
||||
@@ -108,8 +95,13 @@ The audispd-plugins package provides plugins for the real-time interface to the
|
||||
--with-libcap-ng=yes \
|
||||
--with-python=yes \
|
||||
--enable-systemd=yes \
|
||||
--bindir=/bin \
|
||||
--sbindir=/sbin
|
||||
CFLAGS="%{optflags} -fcommon" \
|
||||
%ifarch arm
|
||||
--with-arm \
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
--with-aarch64 \
|
||||
%endif
|
||||
|
||||
%make
|
||||
|
||||
@@ -127,6 +119,8 @@ rm -f %{buildroot}%{python_sitearch}/_auparse.la
|
||||
rm -f %{buildroot}%{python_sitearch}/auparse.a
|
||||
rm -f %{buildroot}%{python_sitearch}/auparse.la
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/audit/rules.d
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
@@ -134,6 +128,10 @@ make check
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
if [ $1 -gt 1 ]; then
|
||||
# fix /sbin -> /usr/sbin paths on upgrade
|
||||
sed -i "s|path = /sbin/|path = /usr/sbin/|" %{_sysconfdir}/audit/plugins.d/*.conf
|
||||
fi
|
||||
%systemd_post auditd
|
||||
if [ $1 -eq 1 -o -e /etc/rc5.d/S11auditd ]; then
|
||||
systemctl -q daemon-reload
|
||||
@@ -159,36 +157,46 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%attr(750,root,root) %dir %{_sysconfdir}/audisp
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audispd.conf
|
||||
%attr(750,root,root) %dir %{_sysconfdir}/audisp/plugins.d
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/af_unix.conf
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/syslog.conf
|
||||
%attr(750,root,root) %dir %{_sysconfdir}/audit
|
||||
%config(noreplace) %{_sysconfdir}/audit/audisp-remote.conf
|
||||
%{_sysconfdir}/audit/plugins.d/af_unix.conf
|
||||
%{_sysconfdir}/audit/plugins.d/au-remote.conf
|
||||
%{_sysconfdir}/audit/plugins.d/audispd-zos-remote.conf
|
||||
%{_sysconfdir}/audit/plugins.d/syslog.conf
|
||||
%{_sysconfdir}/audit/zos-remote.conf
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/audit-stop.rules
|
||||
#%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/rules.d/audit.rules
|
||||
%dir %{_sysconfdir}/audit/rules.d
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audit/auditd.conf
|
||||
%dir %{_datadir}/audit/sample-rules
|
||||
%{_datadir}/audit/sample-rules/*.rules
|
||||
%{_datadir}/audit/sample-rules/README-rules
|
||||
%attr(644,root,root) %{_unitdir}/auditd.service
|
||||
%dir %{_libexecdir}/initscripts/legacy-actions/auditd
|
||||
%{_libexecdir}/initscripts/legacy-actions/auditd/*
|
||||
%attr(750,root,root) %dir %{_localstatedir}/log/audit
|
||||
%attr(750,root,root) /sbin/audispd
|
||||
%attr(750,root,root) /sbin/auditctl
|
||||
%attr(750,root,root) /sbin/auditd
|
||||
%attr(750,root,root) /sbin/augenrules
|
||||
%attr(750,root,root) /sbin/aureport
|
||||
%attr(750,root,root) /sbin/ausearch
|
||||
%attr(750,root,root) /sbin/autrace
|
||||
%attr(755,root,root) /bin/aulast
|
||||
%attr(755,root,root) /bin/aulastlog
|
||||
%attr(755,root,root) /bin/ausyscall
|
||||
%attr(750,root,root) /bin/auvirt
|
||||
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
|
||||
%{_mandir}/man5/audispd.conf.5*
|
||||
%attr(750,root,root) %{_sbindir}/audispd-zos-remote
|
||||
%attr(750,root,root) %{_sbindir}/audisp-remote
|
||||
%attr(750,root,root) %{_sbindir}/audisp-syslog
|
||||
%attr(750,root,root) %{_sbindir}/auditctl
|
||||
%attr(750,root,root) %{_sbindir}/auditd
|
||||
%attr(750,root,root) %{_sbindir}/augenrules
|
||||
%attr(750,root,root) %{_sbindir}/aureport
|
||||
%attr(750,root,root) %{_sbindir}/ausearch
|
||||
%attr(750,root,root) %{_sbindir}/autrace
|
||||
%attr(755,root,root) %{_bindir}/aulast
|
||||
%attr(755,root,root) %{_bindir}/aulastlog
|
||||
%attr(755,root,root) %{_bindir}/ausyscall
|
||||
%attr(750,root,root) %{_bindir}/auvirt
|
||||
%{_mandir}/man5/auditd.conf.5*
|
||||
%{_mandir}/man5/ausearch-expression.5*
|
||||
%{_mandir}/man5/auditd-plugins.5*
|
||||
%{_mandir}/man5/zos-remote.conf.5*
|
||||
%{_mandir}/man7/*.7*
|
||||
%{_mandir}/man8/audispd.8*
|
||||
%{_mandir}/man5/audisp-remote.conf.5*
|
||||
%{_mandir}/man5/libaudit.conf.5*
|
||||
%{_mandir}/man8/audispd-zos-remote.8*
|
||||
%{_mandir}/man8/audisp-remote.8*
|
||||
%{_mandir}/man8/audisp-syslog.8*
|
||||
%{_mandir}/man8/auditctl.8*
|
||||
%{_mandir}/man8/auditd.8*
|
||||
%{_mandir}/man8/augenrules.8*
|
||||
@@ -205,8 +213,8 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/libaudit.conf
|
||||
%{_libdir}/libaudit.so.*
|
||||
%{_libdir}/libauparse.so.*
|
||||
%{_mandir}/man5/libaudit.conf.5*
|
||||
#%doc AUTHORS COPYING
|
||||
%{_libexecdir}/audit-functions
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
@@ -219,9 +227,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_libdir}/libauparse.la
|
||||
%{_libdir}/pkgconfig/auparse.pc
|
||||
%{_libdir}/pkgconfig/audit.pc
|
||||
%ifnarch arm
|
||||
%dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit
|
||||
%{_prefix}/lib/golang/src/pkg/redhat.com/audit/audit.go
|
||||
%endif
|
||||
%{_datadir}/aclocal/audit.m4
|
||||
%{_mandir}/man3/*.3.gz
|
||||
%{_mandir}/man3/*.3*
|
||||
#%doc contrib/skeleton.c contrib/plugin
|
||||
#%doc ChangeLog README THANKS TODO
|
||||
|
||||
@@ -240,29 +251,55 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/_audit.*
|
||||
%{python3_sitearch}/audit.py
|
||||
%{python3_sitearch}/__pycache__/audit.cpython-33.pyc
|
||||
%{python3_sitearch}/__pycache__/audit.cpython-33.pyo
|
||||
%{python3_sitearch}/__pycache__/audit.cpython-*.pyc
|
||||
%{python3_sitearch}/auparse.*
|
||||
|
||||
%files plugins
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/audispd-zos-remote.conf
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/zos-remote.conf
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audisp-prelude.conf
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/au-prelude.conf
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/audisp-remote.conf
|
||||
%config(noreplace) %attr(640,root,root) %{_sysconfdir}/audisp/plugins.d/au-remote.conf
|
||||
%attr(750,root,root) /sbin/audispd-zos-remote
|
||||
%attr(750,root,root) /sbin/audisp-prelude
|
||||
%attr(750,root,root) /sbin/audisp-remote
|
||||
%{_mandir}/man5/zos-remote.conf.5*
|
||||
%{_mandir}/man8/audispd-zos-remote.8*
|
||||
%{_mandir}/man5/audisp-prelude.conf.5*
|
||||
%{_mandir}/man8/audisp-prelude.8*
|
||||
%{_mandir}/man5/audisp-remote.conf.5*
|
||||
%{_mandir}/man8/audisp-remote.8*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 25 2022 Automatic Build System <autodist@mambasoft.it> 3.0.7-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Nov 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.6-2mamba
|
||||
- audit: added versioned requirement for libaudit
|
||||
|
||||
* Sun Oct 03 2021 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Aug 24 2021 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 14 2021 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-2mamba
|
||||
- reapply /usr/sbin patch
|
||||
|
||||
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Dec 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.5-2mamba
|
||||
- rebuilt with debug package and libprelude 5.2.0
|
||||
|
||||
* Mon May 27 2019 Automatic Build System <autodist@mambasoft.it> 2.8.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-4mamba
|
||||
- apply path for /usr/sbin and rundir under /run
|
||||
|
||||
* Fri Jan 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-3mamba
|
||||
- other fix for auditd.service /usr/sbin path instead of /sbin
|
||||
|
||||
* Sun Dec 30 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-2mamba
|
||||
- install binaries under /usr/sbin and /usr/bin
|
||||
|
||||
* Wed Sep 12 2018 Automatic Build System <autodist@mambasoft.it> 2.8.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Mar 15 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.3-1mamba
|
||||
- update to 2.8.3
|
||||
|
||||
* Tue Dec 19 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.2-1mamba
|
||||
- update to 2.8.2
|
||||
|
||||
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
@@ -1,30 +0,0 @@
|
||||
diff -Nru audit-2.4.4.orig/init.d/auditd.conf audit-2.4.4/init.d/auditd.conf
|
||||
--- audit-2.4.4.orig/init.d/auditd.conf 2015-08-13 22:56:25.000000000 +0200
|
||||
+++ audit-2.4.4/init.d/auditd.conf 2015-12-01 19:54:24.403584662 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
freq = 20
|
||||
num_logs = 5
|
||||
disp_qos = lossy
|
||||
-dispatcher = /sbin/audispd
|
||||
+dispatcher = /usr/sbin/audispd
|
||||
name_format = NONE
|
||||
##name = mydomain
|
||||
max_log_file = 6
|
||||
--- audit-2.6.6/init.d/auditd.service.orig 2016-08-11 19:51:33.493168550 +0200
|
||||
+++ audit-2.6.6/init.d/auditd.service 2016-08-12 00:43:16.758055860 +0200
|
||||
@@ -9,12 +9,12 @@
|
||||
Documentation=man:auditd(8) https://people.redhat.com/sgrubb/audit/
|
||||
|
||||
[Service]
|
||||
-ExecStart=/sbin/auditd -n
|
||||
+ExecStart=/usr/sbin/auditd -n
|
||||
## To not use augenrules, copy this file to /etc/systemd/system/auditd.service
|
||||
## and comment/delete the next line and uncomment the auditctl line.
|
||||
## NOTE: augenrules expect any rules to be added to /etc/audit/rules.d/
|
||||
-ExecStartPost=-/sbin/augenrules --load
|
||||
-#ExecStartPost=-/sbin/auditctl -R /etc/audit/audit.rules
|
||||
+ExecStartPost=-/usr/sbin/augenrules --load
|
||||
+#ExecStartPost=-/usr/sbin/auditctl -R /etc/audit/audit.rules
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
# By default we don't clear the rules on exit. To enable this, uncomment
|
||||
# the next line after copying the file to /etc/systemd/system/auditd.service
|
Reference in New Issue
Block a user