]> git.pld-linux.org Git - packages/audit.git/commitdiff
- fixed audit.rules location in auditd.init script
authorSzymon Siwek <sls@pld-linux.org>
Sat, 22 Jan 2011 14:23:35 +0000 (14:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel. 2

Changed files:
    audit.spec -> 1.78
    auditd.init -> 1.7

audit.spec
auditd.init

index 38c21b29d28ec4adbe6bdaf28889954f3d4d7a7c..b14e1be3df5f9ef68bfd315ff7d1a9dd2770ada3 100644 (file)
@@ -8,7 +8,7 @@ Summary:        User space tools for 2.6 kernel auditing
 Summary(pl.UTF-8):     Narzędzia przestrzeni użytkownika do audytu jąder 2.6
 Name:          audit
 Version:       2.0.5
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Daemons
 Source0:       http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
index 0c35fd146f8c6276e4ea913d7b54f0f902991d4e..c5fc65a3e9bfe0ff83e24176a07bdce33de74da3 100644 (file)
@@ -17,6 +17,7 @@ PATH=/sbin:/bin:/usr/bin:/usr/sbin
 
 AUDITD_CLEAN_STOP=yes
 EXTRAOPTIONS=
+AUDIT_RULES=/etc/audit/audit.rules
 
 # Get service config - may override defaults
 [ -f /etc/sysconfig/auditd ] && . /etc/sysconfig/auditd
@@ -29,7 +30,7 @@ start() {
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/auditd
                # Load the default rules
-               [ -f /etc/audit.rules ] && /sbin/auditctl -R /etc/audit.rules >/dev/null
+               [ -f $AUDIT_RULES ] && /sbin/auditctl -R $AUDIT_RULES >/dev/null
        else
                msg_already_running auditd
        fi
This page took 0.112047 seconds and 4 git commands to generate.