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 jailtools (jkill -r), OR
shutdown -r +0
OR
reboot
reboot: SIGTSTP init: No such process
truss shows:
truss -p 87553
(null)()
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
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
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
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 the
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
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.
Try my workaround . What cod it hurt? I'm not running java but am starting a
number or perk based daemons . Some close control tty.
--
Michael Scheidell
Sent from my Windows Mobile phone
-Original Message-
From: Stef Walter stef-l...@memberwebs.com
Sent: Thursday, August 06, 2009