mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
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>
This commit is contained in:
@@ -8,7 +8,8 @@ EXTRA_OECONF += " \
|
||||
--with-logserver=${SAMHAIN_SERVER} \
|
||||
--with-port=${SAMHAIN_PORT} \
|
||||
--with-config-file=/etc/samhainrc \
|
||||
--with-data-file=/var/lib/samhain/samhain_file \
|
||||
--with-data-file=/var/samhain/samhain.data \
|
||||
--with-pid-file=/var/samhain/samhain.pid \
|
||||
"
|
||||
|
||||
|
||||
|
||||
@@ -87,4 +87,5 @@ do_install_append () {
|
||||
install -d ${D}${docdir}/${PN}
|
||||
cp -r docs/* ${D}${docdir}/${PN}
|
||||
cp -r scripts ${D}${docdir}/${PN}
|
||||
install -d -m 755 ${D}/var/samhain
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user