[osiris-devel] Why osirisd died on Solaris - I find 1 reason
Alexei Roudnev
Alexei_Roudnev at exigengroup.com
Sat Jan 17 19:47:27 EST 2004
I saw a few cases, when osiris scanner died on Solaris after installation.
Short investigation revealed, that:
- if I loging as a root (did niot used 'sudo' or 'su')
- and if I started osiris as /etc/init.d/osirisd start
then, when I logout, system send SIG_HUP to all controlled (by my tty)
processes, so killing osirisd.
Short term fix - add </dev/null > /dev/null 2>& 1 into osirisd shell script
Long term fix - block SIG_HUP in osiris daemons. TO BE DONE.
Bug was not noticed, because in most cases we run 'su' or 'sudo'; then, when
system sends signal, it is send as a personal user (not root) and so can not
kill a daemon.
Alex
More information about the osiris-devel
mailing list