summaryrefslogtreecommitdiffstats
path: root/recipes-ids/samhain/files/0003-fix-real-path-for-some-files-dirs.patch
blob: 222e1cf0d5a9e6f55b25b6a648768594067f11f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
From 041af4897336b0873cbac8d15b434638bf3aaf7e Mon Sep 17 00:00:00 2001
From: Wenzong Fan <wenzong.fan@windriver.com>
Date: Mon, 3 Mar 2014 01:50:01 -0500
Subject: [PATCH] fix real path for some files/dirs

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 samhainrc.linux | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/samhainrc.linux b/samhainrc.linux
index 5b6ec6a..ff6ddf1 100644
--- a/samhainrc.linux
+++ b/samhainrc.linux
@@ -93,7 +93,6 @@ dir = 99/etc
 ##
 file = /etc/mtab
 file = /etc/fstab
-file = /etc/adjtime
 file = /etc/motd
 file = /etc/lvm/lvm.conf
 
@@ -153,11 +152,11 @@ dir = 99/var
 
 [IgnoreAll]
 dir = -1/var/cache
-dir = -1/var/lock
-dir = -1/var/mail
-dir = -1/var/run
+dir = -1/run/lock
+dir = -1/var/spool/mail
+dir = -1/run
 dir = -1/var/spool
-dir = -1/var/tmp
+dir = -1/var/volatile/tmp
 
 
 [Attributes]
@@ -167,7 +166,7 @@ dir = -1/var/tmp
 file = /var/lib/rpm/__db.00?
 
 file = /var/lib/logrotate.status
-file = /var/lib/random-seed
+file = /var/lib/urandom/random-seed
 
 
 [GrowingLogFiles]
@@ -176,7 +175,7 @@ file = /var/lib/random-seed
 ## are ignored. Logfile rotation will cause a report because of shrinking
 ## size and different inode. 
 ##
-dir = 99/var/log
+dir = 99/var/volatile/log
 
 [Attributes]
 #
-- 
2.34.1