diff options
author | Li Xin <lixin.fnst@cn.fujitsu.com> | 2015-10-30 11:39:40 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2015-10-30 11:56:15 -0700 |
commit | 36feac0d9d318200208da19543acfdca5fe61573 (patch) | |
tree | 87a9a906a6576b2c988e70874889a5acf4417ece /recipes-security/samhain | |
parent | d539506f785e4ab1cc7e6d4ba6799ade31439d66 (diff) | |
download | meta-security-36feac0d9d318200208da19543acfdca5fe61573.tar.gz |
Fix an error when samhain -t check
Fixes an error when "samhain -t check" is executed.
The error is like this:
'ERROR: msg=<Record with bad version number in file signature database>,
subroutine=<sh_dbIO_getdataent>, path=<(null)>'
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/samhain')
-rw-r--r-- | recipes-security/samhain/samhain-client_4.1.0.bb | 3 | ||||
-rw-r--r-- | recipes-security/samhain/samhain.inc | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/recipes-security/samhain/samhain-client_4.1.0.bb b/recipes-security/samhain/samhain-client_4.1.0.bb index c671b48..bb47449 100644 --- a/recipes-security/samhain/samhain-client_4.1.0.bb +++ b/recipes-security/samhain/samhain-client_4.1.0.bb | |||
@@ -8,7 +8,8 @@ EXTRA_OECONF += " \ | |||
8 | --with-logserver=${SAMHAIN_SERVER} \ | 8 | --with-logserver=${SAMHAIN_SERVER} \ |
9 | --with-port=${SAMHAIN_PORT} \ | 9 | --with-port=${SAMHAIN_PORT} \ |
10 | --with-config-file=/etc/samhainrc \ | 10 | --with-config-file=/etc/samhainrc \ |
11 | --with-data-file=/var/lib/samhain/samhain_file \ | 11 | --with-data-file=/var/samhain/samhain.data \ |
12 | --with-pid-file=/var/samhain/samhain.pid \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | 15 | ||
diff --git a/recipes-security/samhain/samhain.inc b/recipes-security/samhain/samhain.inc index b73a3a2..8114f42 100644 --- a/recipes-security/samhain/samhain.inc +++ b/recipes-security/samhain/samhain.inc | |||
@@ -87,4 +87,5 @@ do_install_append () { | |||
87 | install -d ${D}${docdir}/${PN} | 87 | install -d ${D}${docdir}/${PN} |
88 | cp -r docs/* ${D}${docdir}/${PN} | 88 | cp -r docs/* ${D}${docdir}/${PN} |
89 | cp -r scripts ${D}${docdir}/${PN} | 89 | cp -r scripts ${D}${docdir}/${PN} |
90 | install -d -m 755 ${D}/var/samhain | ||
90 | } | 91 | } |