Yusuf Goolamabbas
2002-Nov-15 14:15 UTC
workaround for 'hang on exit' bug does not seem to work
Hi, I am using Redhat 7.3 which comes with openssh 3.1p1. I am running an antivirus software called vexira on this server. It starts of 2 daemon processes in the background. Whenever I stop/start these daemons in an ssh session, it hangs. I added "shopt -s huponexit" (without the quotes) in /etc/bashrc, but the hangs still occur. Any advice on this would be appreciated Regards, Yusuf -- Yusuf Goolamabbas yusufg at outblaze.com
Thomas Binder
2002-Nov-15 16:20 UTC
workaround for 'hang on exit' bug does not seem to work
Hi! On Fri, Nov 15, 2002 at 10:15:47PM +0800, Yusuf Goolamabbas wrote:> Hi, I am using Redhat 7.3 which comes with openssh 3.1p1. I am > running an antivirus software called vexira on this server. It > starts of 2 daemon processes in the background. Whenever I > stop/start these daemons in an ssh session, it hangs. > > I added "shopt -s huponexit" (without the quotes) in > /etc/bashrc, but the hangs still occur. Any advice on this would > be appreciatedTry starting your daemons with stdin, stdout and stderr redirected to /dev/null. E.g. when you're using an sh-compatible shell and your daemons have a single startup script '/etc/init.d/vexira' (this is only an assumption), you'd have to type /etc/init.d/vexira < /dev/null > /dev/null 2>&1 Ciao Thomas
Seemingly Similar Threads
- [tytso@mit.edu: Re: Your ext2 optimisation for readdir+stat]
- [andrea@suse.de: Re: VFS bug in 2.4.10+ which applies ulimits to block devices]
- ogg123/libao needs to factor non support for mono in i810 driver
- Making UseLogin yes requires a valid reverse DNS enty
- [akpm@zip.com.au: Re: ext3 and chattr +S on postfix spools]