Package: samhain
Version: 2.8.3a-1+deb7u1
Severity: serious

Hi,

the samhain in stable-updates has an init script that fails on "start"
if the service is already running:

} weasel@ball:~$ sudo service samhain start
} [....] Starting file integrity checker: samhain%
} e1:weasel@ball:~$

This can also break upgrading/configuring the package:

} weasel@ball:~$ sudo dpkg --configure -a
} Setting up samhain (2.8.3a-1+deb7u1) ...
} [....] Starting file integrity checker: samhaininvoke-rc.d: initscript 
samhain, action "start" failed.
} dpkg: error processing samhain (--configure):
}  subprocess installed post-installation script returned error exit status 1
} Errors were encountered while processing:
}  samhain
} e1:weasel@ball:~$ 

It should exit with an exit code of 0 on start if it's already running.

Please consult the policy for details, in particular
https://www.debian.org/doc/debian-policy/ch-opersys.html#s-writing-init

[I wouldn't be surprised if this issue was also present in testing/unstable.]

Cheers,
weasel


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to