Re: crontab hanging won't die on SIGTERM in jail

2009-08-26 Thread Michael Scheidell
you the jailutils guy? thanks, good stuff. (been meaning to ask why certain options that work outside of jail don't work inside also) thanks for finding this. really flustered. (but sigkill works also!) Stef Walter wrote: Stef Walter wrote: Michael Scheidell wrote: anyone havi

Re: crontab hanging won't die on SIGTERM in jail

2009-08-26 Thread Stef Walter
Stef Walter wrote: > Michael Scheidell wrote: >> anyone having problems during an in jail shutdown with crontab hanging? >> I have seen this in 6.4 and 7.1, on i386 and amd64. >> I don't remember problems with 6.3 > > I see this same problem in certain jails. A jail that has this problem > does it

Re: crontab hanging won't die on SIGTERM in jail

2009-08-07 Thread Michael Scheidell
Stef Walter wrote: # mkdir -p /etc/rc.conf.d # echo "sig_stop=SIGQUIT" > /etc/rc.conf.d/cron from lots of man pages, and old POSIX docs, they say that to 'reboot' or stop a unix system you send a SIGTERM to everything. the 'critcal' systems that need to stay up during reboot/haltsys (init!,

Re: crontab hanging won't die on SIGTERM in jail

2009-08-07 Thread Stef Walter
Michael Scheidell wrote: > Try my workaround . The work around is close, it should be: # mkdir -p /etc/rc.conf.d # echo "sig_stop=SIGQUIT" > /etc/rc.conf.d/cron > What cod it hurt? As far as I can tell, nothing. But I'd like to eventually find out what's actually causing the problem. Cheers,

RE: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Michael Scheidell
chael Scheidell Cc: freebsd-jail@freebsd.org Subject: Re: crontab hanging won't die on SIGTERM in jail Michael Scheidell wrote: >>> anyone having problems during an in jail shutdown with crontab hanging? >>> I have seen this in 6.4 and 7.1, on i386 and amd64. >>> I don&

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Stef Walter
Michael Scheidell wrote: >>> anyone having problems during an in jail shutdown with crontab hanging? >>> I have seen this in 6.4 and 7.1, on i386 and amd64. >>> I don't remember problems with 6.3 Oh, and I'm seeing it on 6.3-RELEASE-p12 i386 userland jails running on 7.2-RELEASE-p1 amd64 kernel. I

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Stef Walter
Michael Scheidell wrote: > you arn't running ezjail, are you? could there be anything in ezjail > that would do this? I'm not running ezjail, and I don't think it's related. For me the common denominator for the jails that exhibit this, is that java (java/jdk15) is started from an rc.d script. Th

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Michael Scheidell
Stef Walter wrote: Michael Scheidell wrote: anyone having problems during an in jail shutdown with crontab hanging? I have seen this in 6.4 and 7.1, on i386 and amd64. I don't remember problems with 6.3 I see this same problem in certain jails. A jail that has this problem does it co

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Stef Walter
Michael Scheidell wrote: > anyone having problems during an in jail shutdown with crontab hanging? > I have seen this in 6.4 and 7.1, on i386 and amd64. > I don't remember problems with 6.3 I see this same problem in certain jails. A jail that has this problem does it consistently, jails without t

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Michael Scheidell
then doing this doesn't make any sense (but fixed it) echo 'sig_stop=SIGTERM' > /etc/rc.conf.d/cron or, this even fixed it: echo 'sig_stop=SIGTERM' >> /etc/rc.conf the 'killall -SIGTERM cron' worked UNLESS I HAD PREVIOUSLY TRIED /etc/rc.d/cron stop. now, with sig_stop in a conf file, it wor

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Marco Steinbach
Michael Scheidell schrieb: anyone having problems during an in jail shutdown with crontab hanging? I have seen this in 6.4 and 7.1, on i386 and amd64. I don't remember problems with 6.3 Using 6.3, 6.4 and 7.2 on i386 and amd64, I never experienced this behaviour. To make sure, I just tried k

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Michael Scheidell
meant sig_stop=. stranger yet, this works: echo 'sig_stop=SIGTERM' > /etc/rc.conf.d/cron truss shows the sigterm now just fine. Michael Scheidell wrote: this doesn't stop cron: /etc/rc.d/cron stop (just keeps spitting out the pid) killall -SIGTERM cron (doesn't work) killall -SIGQUIT|SI

Re: crontab hanging won't die on SIGTERM in jail

2009-08-06 Thread Michael Scheidell
this doesn't stop cron: /etc/rc.d/cron stop (just keeps spitting out the pid) killall -SIGTERM cron (doesn't work) killall -SIGQUIT|SIGKILL seems to work. Workaround is this: echo "sigstop=SIGQUIT" > /etc/rc.conf.d/cron works fine now. isn't needed in base, just in jail. Michael Scheid