Your message dated Sat, 06 Sep 2025 19:40:19 +0000
with message-id <[email protected]>
and subject line Bug#868158: fixed in samhain 4.1.4-7
has caused the Debian Bug report #868158,
regarding samhain fails to start when database moved from /var/lib/samhain
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
868158: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: samhain
Version: 4.1.4-2
Severity: important
When samhain database is renamed or moved from /var/lib/samhain the script
/etc/init.d/samhain tries to execute 'samhain -t init' and then fails anyway as
database is re-created in different location.
Instead of using hard-coded path of /var/lib/samhain/samhain_file a check of
config file should be done - something like
'cat /etc/samhain/samhainrc | grep ^SetDatabasePath | sed s/SetDatabasePath=//'
to check if database path is redefined.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (1000, 'testing'), (50, 'unstable'), (20, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to C.UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages samhain depends on:
ii debconf [debconf-2.0] 1.5.61
ii libauparse0 1:2.7.7-1+b1
ii libc6 2.24-12
ii libgcrypt20 1.7.8-1
ii libgnutls30 3.5.13-2
ii libpcre3 2:8.39-3
ii libprelude2 1.0.0-11.9
ii zlib1g 1:1.2.8.dfsg-5
samhain recommends no packages.
samhain suggests no packages.
-- Configuration Files:
/etc/init.d/samhain [Errno 13] Permission denied: '/etc/init.d/samhain'
/etc/samhain/samhainrc changed:
[Misc]
[ReadOnly]
dir = 0/
[Attributes]
file = /tmp
file = /dev
file = /proc
file = /sys
file = /run
[IgnoreAll]
file = /mnt
[ReadOnly]
dir = 99/bin
dir = 99/sbin
dir = 99/lib
dir = 99/root
dir = 99/usr
[Attributes]
file = /etc/samhain/samhaindb
[ReadOnly]
dir = 99/boot
[ReadOnly]
dir = 99/etc
[Attributes]
file = /etc/mtab
file = /etc/resolv.conf
[ReadOnly]
dir = 0/home/
[ReadOnly]
dir = 99/var
[IgnoreAll]
dir = -1/var/cache
dir = -1/var/backups
dir = -1/var/lib/dhcp
dir = -1/var/lock
dir = -1/var/mail
dir = -1/var/run
dir = -1/var/spool
dir = -1/var/tmp
dir = 99/var/lib/systemd/rfkill
dir = -1/var/lib/systemd/timers
file = /var/lib/systemd/random-seed
file = /var/lib/systemd/clock
dir = -1/var/lib/NetworkManager
[Attributes]
dir = 99/var/lib/selinux/default
file = /var/lib/apt/lists/lock
file = /var/lib/apt/lists/partial
file = /var/lib/apt/extended_states
file = /var/lib/apt/daily_lock
file = /var/lib/aptitude/pkgstates
file = /var/lib/aptitude/pkgstates.old
file = /var/lib/dpkg/lock
file = /var/lib/tor/state
file = /var/log/lastlog
file = /var/lib/apt/lists/vwakviie2ienjx6t.onion_debian_dists_*_InRelease
file = /var/lib/dpkg/triggers/Lock
file = /var/lib/dpkg/status*
file = /var/lib/tor/lock
file = /var/lib/tor/cached-microdescs.new
[GrowingLogFiles]
dir = 99/var/log
[Misc]
IgnoreAdded = /var/lib/apt/extended_states*
IgnoreMissing = /var/lib/apt/extended_states*
IgnoreAdded = /var/lib/aptitude/pkgstates.*
IgnoreMissing = /var/lib/aptitude/pkgstates.*
IgnoreAdded = /var/lib/dpkg/status-*
IgnoreMissing = /var/lib/dpkg/status-*
IgnoreAdded = /var/lib/aptitude/pkgstates*
IgnoreMissing = /var/lib/aptitude/pkgstates*
IgnoreMissing = /var/lib/apt/lists/partial/.apt-acquire-privs-test.*
IgnoreMissing = /var/lib/dpkg/updates/tmp.i
IgnoreAdded = /var/lib/tor/state*
IgnoreMissing = /var/lib/tor/state*
[IgnoreNone]
[Prelink]
[User0]
[User1]
[EventSeverity]
SeverityReadOnly = alert
SeverityLogFiles = err
SeverityGrowingLogs = info
SeverityIgnoreNone = crit
SeverityAttributes = crit
SeverityUser0 = crit
SeverityUser1 = crit
SeverityIgnoreAll = info
SeverityFiles=crit
SeverityDirs=crit
SeverityNames=warn
[Log]
MailSeverity=none
PrintSeverity=none
LogSeverity=none
SyslogSeverity=err
ExportSeverity=none
ExternalSeverity = none
DatabaseSeverity = none
PreludeSeverity = none
[SuidCheck]
SuidCheckActive = yes
SuidCheckInterval = 86400
SuidCheckExclude = NULL
SuidCheckYield = yes
SeveritySuidCheck = crit
SuidCheckQuarantineFiles = no
[Utmp]
LoginCheckActive = False
[Misc]
SetDatabasePath=/etc/samhain/samhaindb
Daemon = yes
ChecksumTest=check
SetLoopTime = 600
SetFileCheckTime = 7200
ReportOnlyOnce = True
UseLocalTime = Yes
UseHardlinkCheck = True
UseAclCheck = True
UseSelinuxCheck = True
LooseDirCheck = True
HideSetup = True
SyslogFacility=LOG_LOCAL2
[Mounts]
MountCheckActive = True
MountCheckInterval = 600
SeverutyMountMissing = err
SeverutyOptionMissing = crit
checkmount = / ro,nodev
checkmount = /home nosuid,nodev
checkmount = /var nodev
[ProcessCheck]
ProcessCheckActive = False
SeverityProcessCheck = crit
ProcessCheckInterval = 300
[UserFiles]
UserfilesActive = 1
UserfilesCheckUids = 1000,1001,1002
UserfilesName = .bashrc readonly
UserfilesName = .bash_logout readonly
UserfilesName = .profile readonly
[PortCheck]
PortCheckActive = no
SeverityPortCheck = crit
PortCheckInterval = 300
PortCheckRequired = 127.0.0.1:19040/tcp, 127.0.0.1:19041/tcp,
127.0.0.1:19053/udp, 127.0.0.53:53/udp, 68/udp
PortCheckOptional = 127.0.0.1:37871/tcp
[LogMon]
LogMonActive = yes
LogMonInterval = 10
[Inotify]
InotifyActive = yes
[EOF]
-- debconf information:
* samhain/init-log:
--- End Message ---
--- Begin Message ---
Source: samhain
Source-Version: 4.1.4-7
Done: Sven Geuer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
samhain, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sven Geuer <[email protected]> (supplier of updated samhain package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 06 Sep 2025 21:05:45 +0200
Source: samhain
Architecture: source
Version: 4.1.4-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Sven Geuer <[email protected]>
Closes: 868158 1097839 1099415 1107458 1111631
Changes:
samhain (4.1.4-7) unstable; urgency=medium
.
* Team upload.
.
[ Javier Fernández-Sanguino Peña ]
* Add build conflict on autoconf-archive to prevent FTBFS (Closes: #1099415)
* debian/samhain.init: Instead of using hard-coded path of
/var/lib/samhain/samhain_file for the location of the database, check the
configuration file. This prevents samhain from failing in case the
administrator has changed its location (Closes: #868158)
.
[ Sven Geuer ]
* d/rules:
- Quick fix to make samhain 4.1.4 buildable using GCC-15 (Closes: #1097839)
- Quick fix preventing potential segfaults (Closes: #1111631)
Thanks to Aurelien Jarno <[email protected]> for debugging and
providing a patch.
* Update Portuguese debconf template translations (Closes: #1107458)
Thanks to Américo Monteiro <[email protected]> for providing it.
Checksums-Sha1:
5085daa599fd8eab9fff795188a709ea82edf05f 2087 samhain_4.1.4-7.dsc
09b9348e6d240d41e63db49d798391a6e5936a11 105212 samhain_4.1.4-7.debian.tar.xz
5c52eb06cc34ff3be574919f82ebca71634563c5 6354 samhain_4.1.4-7_amd64.buildinfo
Checksums-Sha256:
305cc20ee8c19c500178c7e0ef0e4c92d964fc4f8d662e507ae031146dd42c15 2087
samhain_4.1.4-7.dsc
c59a9082cd25453c22f0fa169657f81bfc89262f014c10a07d1a732c9bfb26b7 105212
samhain_4.1.4-7.debian.tar.xz
4214f86d15dc0e96d09cbb5c7512fab056da0f16ec2b3cee06223c85dcb5a491 6354
samhain_4.1.4-7_amd64.buildinfo
Files:
4d14822501be1ee4532d4fd14cb703ad 2087 admin optional samhain_4.1.4-7.dsc
6efbd8ff4223382640428864d6710736 105212 admin optional
samhain_4.1.4-7.debian.tar.xz
5685418dd5881da8f875b36101fe4dd4 6354 admin optional
samhain_4.1.4-7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEPfXoqkP8n9/QhvGVrfUO2vit1YUFAmi8h3QPHHNnZUBkZWJp
YW4ub3JnAAoJEK31Dtr4rdWFyUQQAKvCsC+O+U6l+m5MKsRRxukFlO6nh/h2zbna
X6L3m88qhCUOM/tfT7XRh95vU3YDTdvWCIOBoqzdHXoNaGY19lUE1ujMppsHuz+O
q+Tuo3ssvOhCL4CLWe/MRhdQVG5PXTElOvQmBwIWMemtqav7Bldr3DjADDkQekpi
tyVTPwuGccqBeG+W0wJmP5k+ogBD6mLQukGMrkTkLVzCYk0vNx0P2t6hv70xnSJE
zjGzqnpn9+9C1/zhkjDeiYcOPG39ugh9pWU3VAfgP4hvY9UoJVWEdbezKmth52wO
WA8NhkzLMImnJEvWi489KPuKZvpUZRHzT4jkDbjhcsauyWgGsZPkrMIALJ+LyYEp
ECiSwA/yypTo93p/19Y5WoaFUaKLUpmqn6Oz5oECyuxlTKezNuuYnm9m4FL0h4Sh
AouXirYnZNauWaBx3OzC8RuJREQadUlIkAW3vcMxmU8Xh7P05D7jwTA9a3H4B1yn
yE7Vqw4mNoLGNrwPpNeOiiaiCOrVktRxlwSwdQ1QkqXkNZFeMDP3WlFb23oviGmi
rUI3vR7Tki0sRLcArdfsSHiGLt4ELNaOH+/Ekm1ohxREjMfTpY8nVJxJPhP+Jslj
aCBrFyFi16M6oHiVfI/DzGAaXDkmPoOpwUl6H0PyQo83jZ7/u5i9V1JMVWmzP6wP
bm8m06jZ
=EbdG
-----END PGP SIGNATURE-----
pgpD4LGGcD0Se.pgp
Description: PGP signature
--- End Message ---