From owner-freebsd-jail@FreeBSD.ORG Mon Aug 3 11:07:01 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22B2A10656FB for ; Mon, 3 Aug 2009 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA828FC08 for ; Mon, 3 Aug 2009 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n73B70xJ088675 for ; Mon, 3 Aug 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n73B707V088657 for freebsd-jail@FreeBSD.org; Mon, 3 Aug 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Aug 2009 11:07:00 GMT Message-Id: <200908031107.n73B707V088657@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2009 11:07:02 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 4 problems total. From owner-freebsd-jail@FreeBSD.ORG Thu Aug 6 14:12:29 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81D3A1065670 for ; Thu, 6 Aug 2009 14:12:29 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx2.secnap.com.ionspam.net (mx2.secnap.com.ionspam.net [216.134.223.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7358FC1B for ; Thu, 6 Aug 2009 14:12:28 +0000 (UTC) Received: from localhost (unknown [10.71.0.54]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id 2FB0CD23C1A for ; Thu, 6 Aug 2009 10:12:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= content-type:subject:mime-version:user-agent:from:date :message-id; s=dkim; t=1249567946; x=1251382346; bh=7NlySx2aoLhZ TbZVypxopN6dWD6pl9k19/S+GiBvA6A=; b=NcnxVHrws5Fe7CKHo8O8vdsZsFrt XRt3KEF11w/E+RmcCycuiPcr8AFiDpapvM4jwsEJtyw21N87ZLgVDGZdwlXoun7/ uDn+rEm5xdiH2zFt3GAOJJGjFFD2vmhbAG3LgoRh4gQul8MFsj2Xk7K25PB3iFU+ lwgb3DQzWvhPxcg= X-Amavis-Modified: Mail body modified (using disclaimer) - mx2.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.04 at mx2.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id 86794D23C15 for ; Thu, 6 Aug 2009 10:12:25 -0400 (EDT) Received: from Mikes-Laptop.local ([10.70.3.3]) by secnap3.secnap.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Aug 2009 10:12:24 -0400 Message-ID: <4A7AE4D4.2090600@secnap.net> Date: Thu, 06 Aug 2009 10:12:36 -0400 From: Michael Scheidell User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org X-OriginalArrivalTime: 06 Aug 2009 14:12:24.0472 (UTC) FILETIME=[EBC61980:01CA169F] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 14:12:29 -0000 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)() = 0 (0x0) gettimeofday({1249567500.835698},0x0) = 0 (0x0) stat("tabs",{mode=drwx------ ,inode=10458278,size=512,blksize=4096}) = 0 (0x0) stat("/etc/crontab",{mode=-rw-r--r-- ,inode=10461256,size=748,blksize=4096}) = 0 (0x0) gettimeofday({1249567500.836244},0x0) = 0 (0x0) fork() = 88217 (0x15899) gettimeofday({1249567500.836862},0x0) = 0 (0x0) nanosleep({60.000000000}) ERR#4 'Interrupted system call' SIGNAL 20 (SIGCHLD) SIGNAL 20 (SIGCHLD) wait4(0xffffffff,0xbfbfe99c,0x1,0x0) = 88217 (0x15899) wait4(0xffffffff,0xbfbfe99c,0x1,0x0) ERR#10 'No child processes' sigreturn(0xbfbfe9d0) ERR#4 'Interrupted system call' gettimeofday({1249567500.842115},0x0) = 0 (0x0) killall -SIGTERM cron (caused NO truss activity) it sees a HUP: killall -SIGHUP cron truss: SIGNAL 1 (SIGHUP) (null)() ERR#4 'Interrupted system call' gettimeofday({17.000000},0x0) = 0 (0x0) (null)() = 0 (0x0) SIGKILL will kill it. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Thu Aug 6 14:23:20 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D60F1065670 for ; Thu, 6 Aug 2009 14:23:20 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id 3259C8FC08 for ; Thu, 6 Aug 2009 14:23:19 +0000 (UTC) Received: from localhost (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 48B9AE65C80 for ; Thu, 6 Aug 2009 10:23:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= content-type:in-reply-to:references:subject:mime-version :user-agent:from:date:message-id; s=dkim; t=1249568598; x= 1251382998; bh=kckkCdKI0k3ObRtMY5ZDFGui+Awu60Uj8GmdkYzrFkw=; b=P WQAbTk6UK9YcsQmJfwlH83Lf6aD1ZKsWDbkiRaSAWgiGnQM1+Uuw+t3wJGW7diPv e0/08cTNknQ2jvMP6gYlYQBRfPKbB7bXN3E2OY52gd5Fn5Wu4TQaCoYuyTzeeEEa gi5JtrthTMoPsQYPwLNpF4t1XpPZ/p4Gg9TAV8pr+w= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.04 at mx1.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 56E03E65C7B for ; Thu, 6 Aug 2009 10:23:18 -0400 (EDT) Received: from Mikes-Laptop.local ([10.70.3.3]) by secnap3.secnap.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Aug 2009 10:23:17 -0400 Message-ID: <4A7AE762.2070408@secnap.net> Date: Thu, 06 Aug 2009 10:23:30 -0400 From: Michael Scheidell User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org References: <4A7AE4D4.2090600@secnap.net> In-Reply-To: <4A7AE4D4.2090600@secnap.net> X-OriginalArrivalTime: 06 Aug 2009 14:23:17.0934 (UTC) FILETIME=[71447CE0:01CA16A1] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 14:23:21 -0000 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 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 > > > using jailtools (jkill -r), OR > shutdown -r +0 > > OR > > reboot > reboot: SIGTSTP init: No such process > > truss shows: > truss -p 87553 > (null)() = 0 (0x0) > gettimeofday({1249567500.835698},0x0) = 0 (0x0) > stat("tabs",{mode=drwx------ ,inode=10458278,size=512,blksize=4096}) = > 0 (0x0) > stat("/etc/crontab",{mode=-rw-r--r-- > ,inode=10461256,size=748,blksize=4096}) = 0 (0x0) > gettimeofday({1249567500.836244},0x0) = 0 (0x0) > fork() = 88217 (0x15899) > gettimeofday({1249567500.836862},0x0) = 0 (0x0) > nanosleep({60.000000000}) ERR#4 'Interrupted > system call' > SIGNAL 20 (SIGCHLD) > SIGNAL 20 (SIGCHLD) > wait4(0xffffffff,0xbfbfe99c,0x1,0x0) = 88217 (0x15899) > wait4(0xffffffff,0xbfbfe99c,0x1,0x0) ERR#10 'No child > processes' > sigreturn(0xbfbfe9d0) ERR#4 'Interrupted > system call' > gettimeofday({1249567500.842115},0x0) = 0 (0x0) > > > killall -SIGTERM cron > > (caused NO truss activity) > > it sees a HUP: > > killall -SIGHUP cron > > truss: > SIGNAL 1 (SIGHUP) > (null)() ERR#4 'Interrupted > system call' > gettimeofday({17.000000},0x0) = 0 (0x0) > (null)() = 0 (0x0) > > > SIGKILL will kill it. > > -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Thu Aug 6 15:02:57 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5058E106564A for ; Thu, 6 Aug 2009 15:02:57 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id ECB1C8FC0A for ; Thu, 6 Aug 2009 15:02:56 +0000 (UTC) Received: from localhost (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 2A69EE65C80 for ; Thu, 6 Aug 2009 11:02:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= content-type:in-reply-to:references:subject:mime-version :user-agent:from:date:message-id; s=dkim; t=1249570975; x= 1251385375; bh=GX6n7mtoQh7+KkuWhulUo2QLfz+clicLGe9API1CEHU=; b=B HTUIvfOKlMMdIqW+cONrXxC7siGW6iLdnpLcxfftNWM9fW5rVts2rW4hY0SY9e6W x+n+g8ZawFJ1wM/z8t/DrACD5TzEIbwks7OsdEOAj4D8pf8EMyeAL5eZZCZbO7Qq oFJtv47jX6yrQcAWd+r2LueTG1J+e7wYCodSVxvhY4= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.04 at mx1.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 2395FE65C7C for ; Thu, 6 Aug 2009 11:02:55 -0400 (EDT) Received: from Mikes-Laptop.local ([10.70.3.3]) by secnap3.secnap.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Aug 2009 11:02:54 -0400 Message-ID: <4A7AF0AB.40605@secnap.net> Date: Thu, 06 Aug 2009 11:03:07 -0400 From: Michael Scheidell User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org References: <4A7AE4D4.2090600@secnap.net> <4A7AE762.2070408@secnap.net> In-Reply-To: <4A7AE762.2070408@secnap.net> X-OriginalArrivalTime: 06 Aug 2009 15:02:54.0792 (UTC) FILETIME=[F9FC3C80:01CA16A6] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 15:02:57 -0000 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|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 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 >> >> >> using jailtools (jkill -r), OR >> shutdown -r +0 >> >> OR >> >> reboot >> reboot: SIGTSTP init: No such process >> >> truss shows: >> truss -p 87553 >> (null)() = 0 (0x0) >> gettimeofday({1249567500.835698},0x0) = 0 (0x0) >> stat("tabs",{mode=drwx------ ,inode=10458278,size=512,blksize=4096}) >> = 0 (0x0) >> stat("/etc/crontab",{mode=-rw-r--r-- >> ,inode=10461256,size=748,blksize=4096}) = 0 (0x0) >> gettimeofday({1249567500.836244},0x0) = 0 (0x0) >> fork() = 88217 (0x15899) >> gettimeofday({1249567500.836862},0x0) = 0 (0x0) >> nanosleep({60.000000000}) ERR#4 'Interrupted >> system call' >> SIGNAL 20 (SIGCHLD) >> SIGNAL 20 (SIGCHLD) >> wait4(0xffffffff,0xbfbfe99c,0x1,0x0) = 88217 (0x15899) >> wait4(0xffffffff,0xbfbfe99c,0x1,0x0) ERR#10 'No child >> processes' >> sigreturn(0xbfbfe9d0) ERR#4 'Interrupted >> system call' >> gettimeofday({1249567500.842115},0x0) = 0 (0x0) >> >> >> killall -SIGTERM cron >> >> (caused NO truss activity) >> >> it sees a HUP: >> >> killall -SIGHUP cron >> >> truss: >> SIGNAL 1 (SIGHUP) >> (null)() ERR#4 'Interrupted >> system call' >> gettimeofday({17.000000},0x0) = 0 (0x0) >> (null)() = 0 (0x0) >> >> >> SIGKILL will kill it. >> >> > -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Thu Aug 6 15:49:41 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 998CB106566C for ; Thu, 6 Aug 2009 15:49:41 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.32.7]) by mx1.freebsd.org (Postfix) with ESMTP id 5747B8FC14 for ; Thu, 6 Aug 2009 15:49:41 +0000 (UTC) Received: from localhost (unknown [195.96.32.7]) by mail.moehre.org (Postfix) with ESMTP id 9271C4D4448; Thu, 6 Aug 2009 17:30:51 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -3.663 X-Spam-Level: X-Spam-Status: No, score=-3.663 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.736, BAYES_00=-2.599] autolearn=ham Received: from mail.moehre.org ([195.96.32.7]) by localhost (mail.moehre.org [195.96.32.7]) (amavisd-new, port 10024) with ESMTP id F0-J1L-Z4uoW; Thu, 6 Aug 2009 17:30:48 +0200 (CEST) Received: from [192.168.100.30] (p54B0D599.dip.t-dialin.net [84.176.213.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTP id 86C844D4431; Thu, 6 Aug 2009 17:30:48 +0200 (CEST) Message-ID: <4A7AF719.6000201@executive-computing.de> Date: Thu, 06 Aug 2009 17:30:33 +0200 From: Marco Steinbach User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Michael Scheidell References: <4A7AE4D4.2090600@secnap.net> In-Reply-To: <4A7AE4D4.2090600@secnap.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@FreeBSD.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 15:49:41 -0000 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 killall -SIGTERM cron and /etc/rc.d/cron stop in several jails on different machines, and this seems to work as intended for me. MfG CoCo From owner-freebsd-jail@FreeBSD.ORG Thu Aug 6 15:50:03 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21C661065674 for ; Thu, 6 Aug 2009 15:50:03 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id D6F5E8FC19 for ; Thu, 6 Aug 2009 15:50:02 +0000 (UTC) Received: from localhost (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 47546E65C78; Thu, 6 Aug 2009 11:50:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= content-type:in-reply-to:references:subject:mime-version :user-agent:from:date:message-id; s=dkim; t=1249573801; x= 1251388201; bh=caxMjACayNM1eHUUCMjmnMI8I1qOIlsytsFGElGBxUw=; b=P jgYPfST5EubfcsubHv2kZXrXCAXDUvvJsq2T01Tby82mhPCewaZSc6kgjQHVFfnH L2mrjMieyT/nZdGvEAJRAX7sSG2/xsQ/RKH8Klchys2D6FlMB1SHWFMFkfjbyTOn PiruHXtiGO4Z+ceEjxqBrpB7LikS4ieWmIqeQ8Ydgw= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.04 at mx1.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 5913AE65C0D; Thu, 6 Aug 2009 11:50:01 -0400 (EDT) Received: from Mikes-Laptop.local ([10.70.3.3]) by secnap3.secnap.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Aug 2009 11:50:00 -0400 Message-ID: <4A7AFBB5.3030706@secnap.net> Date: Thu, 06 Aug 2009 11:50:13 -0400 From: Michael Scheidell User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Marco Steinbach References: <4A7AE4D4.2090600@secnap.net> <4A7AF719.6000201@executive-computing.de> In-Reply-To: <4A7AF719.6000201@executive-computing.de> X-OriginalArrivalTime: 06 Aug 2009 15:50:00.0891 (UTC) FILETIME=[8E78B8B0:01CA16AD] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@FreeBSD.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 15:50:03 -0000 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 works. doesn't make sense, but works. Something, somewhere, somebody is masking or setting sig_stop to '' as a default. I can't find it. rc.subr seems to indicate it will set it to SIGTERM if undef: grep sig_stop /etc/* rc.subr:# kill $sig_stop $rc_pid rc.subr:# ($sig_stop defaults to TERM.) rc.subr: _doit=$(_run_rc_killcmd "${sig_stop:-TERM}") nothing in /etc/defaults/* or /etc/rc.conf overrides it grep sig_stop /etc/defaults/* grep sig_stop /etc/rc.d/cron grep sig_stop /etc/rc.d/* /etc/rc.d/nfsd:sig_stop="USR1" -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Thu Aug 6 16:36:13 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DB7106564A for ; Thu, 6 Aug 2009 16:36:13 +0000 (UTC) (envelope-from stef-list@memberwebs.com) Received: from mx.npubs.com (mail.npubs.com [94.75.203.100]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB538FC19 for ; Thu, 6 Aug 2009 16:36:13 +0000 (UTC) Received: from mx.npubs.com (avhost [94.75.203.103]) by mx.npubs.com (Postfix) with ESMTP id B1384303982E; Thu, 6 Aug 2009 16:11:18 +0000 (UTC) Received: from sqlserver1 (unknown [74.82.45.12]) by mx.npubs.com (Postfix) with ESMTP id 90CA23039807; Thu, 6 Aug 2009 16:11:17 +0000 (UTC) From: Stef Walter User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Michael Scheidell References: <4A7AE4D4.2090600@secnap.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20090806161117.90CA23039807@mx.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Thu, 6 Aug 2009 16:11:18 +0000 (UTC) Cc: freebsd-jail@FreeBSD.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stef@memberwebs.com List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 16:36:14 -0000 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 problem (on the same machine, same FreeBSD userland/kernel) don't have the problem consistently. In these cases, sending cron the TERM signal just doesn't do anything. You have to wait for at least one minute after jail startup for cron to get into this unTERMable state. I haven't had time to do further debugging on this, but I figured I'd pitch in with what I've experienced. Cheers, Stef From owner-freebsd-jail@FreeBSD.ORG Thu Aug 6 17:17:42 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16B46106566B for ; Thu, 6 Aug 2009 17:17:42 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id CB7A78FC08 for ; Thu, 6 Aug 2009 17:17:41 +0000 (UTC) Received: from localhost (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 1B244E65C78; Thu, 6 Aug 2009 13:17:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= content-type:in-reply-to:references:subject:mime-version :user-agent:from:date:message-id; s=dkim; t=1249579059; x= 1251393459; bh=8N9j3Kq1VC3GS5pveLJzfM3eI4CihjD7ym6ODIc3e2s=; b=K w3upQUlLCyy+89suUqfQERESWvFgDQJsoYQjV+hws4BpwHXGJG0ebZeqhlnPphcQ 5M1Cuby43H0mSQMBhaCSEpNBpqn4CZIXowGeaPvMj9XyvgPMiAxM+csoYO7m3pjv XQpEU5Ct/LhOeG6iQd0qkYS7Snlu9Uq4ItlGXSt30U= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.04 at mx1.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 958F9E65C73; Thu, 6 Aug 2009 13:17:39 -0400 (EDT) Received: from Mikes-Laptop.local ([10.70.3.3]) by secnap3.secnap.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Aug 2009 13:17:39 -0400 Message-ID: <4A7B103F.6040400@secnap.net> Date: Thu, 06 Aug 2009 13:17:51 -0400 From: Michael Scheidell User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: stef@memberwebs.com References: <4A7AE4D4.2090600@secnap.net> <20090806161117.90CA23039807@mx.npubs.com> In-Reply-To: <20090806161117.90CA23039807@mx.npubs.com> X-OriginalArrivalTime: 06 Aug 2009 17:17:39.0130 (UTC) FILETIME=[CCA051A0:01CA16B9] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@FreeBSD.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 17:17:42 -0000 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 consistently, jails without the problem (on the same machine, > same FreeBSD userland/kernel) don't have the problem consistently. > > In these cases, sending cron the TERM signal just doesn't do anything. > > You have to wait for at least one minute after jail startup for cron to > get into this unTERMable state. > > YOU ARE RIGHT! it is intermentent. Try this (for me) on those boxes (before you try /etc/rc.d/cron restart: echo 'sig_stop=SIGKILL' > /etc/rc.conf.d/cron you arn't running ezjail, are you? could there be anything in ezjail that would do this? yes: boot someone in jail. /etc/rc.d/cron restart or killall -SIGTERM cron works. wait (for what?). ?? controlling terminal to quit? the first cron parse? some time (I went to lunch) and guess what. SIGTERM won't stop it. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Fri Aug 7 01:11:18 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3DBF106564A for ; Fri, 7 Aug 2009 01:11:18 +0000 (UTC) (envelope-from stef-list@memberwebs.com) Received: from mx.npubs.com (mail.npubs.com [94.75.203.100]) by mx1.freebsd.org (Postfix) with ESMTP id ABCD08FC17 for ; Fri, 7 Aug 2009 01:11:18 +0000 (UTC) Received: from mx.npubs.com (avhost [94.75.203.103]) by mx.npubs.com (Postfix) with ESMTP id 774E8303974A; Fri, 7 Aug 2009 01:11:17 +0000 (UTC) Received: from sqlserver1 (unknown [74.82.45.12]) by mx.npubs.com (Postfix) with ESMTP id 5A7D53039712; Fri, 7 Aug 2009 01:11:16 +0000 (UTC) From: Stef Walter User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Michael Scheidell References: <4A7AE4D4.2090600@secnap.net> <20090806161117.90CA23039807@mx.npubs.com> <4A7B103F.6040400@secnap.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20090807011116.5A7D53039712@mx.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Fri, 7 Aug 2009 01:11:17 +0000 (UTC) Cc: freebsd-jail@FreeBSD.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stef@memberwebs.com List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 01:11:19 -0000 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. This is anecdotal at best. It also doesn't happen immediately. Today I was playing with such a jail and cron would happily restart (ie: '/etc/rc.d/cron restart') until I left it alone for a few hours. I have a dummy cron job (eg: /usr/bin/true), which runs every minute. /var/log/cron shows that the job is still being run even when cron is ignoring the TERM signal. Cheers, Stef From owner-freebsd-jail@FreeBSD.ORG Fri Aug 7 01:14:19 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15D8A106566C for ; Fri, 7 Aug 2009 01:14:19 +0000 (UTC) (envelope-from stef-list@memberwebs.com) Received: from mx.npubs.com (mail.npubs.com [94.75.203.100]) by mx1.freebsd.org (Postfix) with ESMTP id D25338FC17 for ; Fri, 7 Aug 2009 01:14:18 +0000 (UTC) Received: from mx.npubs.com (avhost [94.75.203.103]) by mx.npubs.com (Postfix) with ESMTP id 1B338303974A; Fri, 7 Aug 2009 01:14:18 +0000 (UTC) Received: from sqlserver1 (unknown [74.82.45.12]) by mx.npubs.com (Postfix) with ESMTP id E02BC3039712; Fri, 7 Aug 2009 01:14:16 +0000 (UTC) From: Stef Walter User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Michael Scheidell References: <4A7AE4D4.2090600@secnap.net> <20090806161117.90CA23039807@mx.npubs.com> <4A7B103F.6040400@secnap.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20090807011416.E02BC3039712@mx.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Fri, 7 Aug 2009 01:14:18 +0000 (UTC) Cc: freebsd-jail@freebsd.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stef@memberwebs.com List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 01:14:19 -0000 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'll try to migrate one of the offending jails to a system with the same kernel version as the jail. That's why I didn't post about this earlier: I'm sufficiently off the beaten path, to not expect help debugging such things... :S Cheers, Stef From owner-freebsd-jail@FreeBSD.ORG Fri Aug 7 01:46:21 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF646106566B for ; Fri, 7 Aug 2009 01:46:21 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx2.secnap.com.ionspam.net (mx2.secnap.com.ionspam.net [216.134.223.54]) by mx1.freebsd.org (Postfix) with ESMTP id 90BB48FC18 for ; Fri, 7 Aug 2009 01:46:21 +0000 (UTC) Received: from localhost (unknown [10.71.0.54]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id C39C3D23C2E; Thu, 6 Aug 2009 21:46:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= date:subject:from:content-transfer-encoding:content-type :message-id:content-class:mime-version; s=dkim; t=1249609579; x= 1251423979; bh=00VbfPXx7w9c+99lLgMxxvv64rWwcwwxy1C3i6PlZDQ=; b=H Efcg2LBFv+yENCjYqVT5FPocJZ4dP3IW80mTe2N2RGZfZRDDAAI+6dlz4Vu77+ZD EVAvCehPt/LDnBD2N/V9Ys20frtrnlpe0zTgUm0AHQmrX3gGCDPUUVGyt798GnDc qAcdj1avFNSvAtLu3DfTZNH8GAdW8WD9v/EnxTsulQ= X-Amavis-Modified: Mail body modified (using disclaimer) - mx2.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.04 at mx2.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id 68297D23C1A; Thu, 6 Aug 2009 21:46:19 -0400 (EDT) MIME-Version: 1.0 Content-class: Message-ID: <0fbf01ca1700$db62247e$0d01460a@secnap.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable From: "Michael Scheidell" thread-topic: crontab hanging won't die on SIGTERM in jail thread-index: AcoXANtipPieBFyyRx6CAKydRYvogw== X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 6 Aug 2009 21:46:15 -0400 Importance: normal X-Priority: 3 To: Cc: freebsd-jail@freebsd.org Subject: RE: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 01:46:22 -0000 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. --=20 Michael Scheidell=20 Sent from my Windows Mobile phone -----Original Message----- From: Stef Walter Sent: Thursday, August 06, 2009 9:14 PM To: Michael 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'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'll try to migrate one of the offending jails to a system with the same kernel version as the jail. That's why I didn't post about this earlier: I'm sufficiently off the beaten path, to not expect help debugging such things... :S Cheers, Stef _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ From owner-freebsd-jail@FreeBSD.ORG Fri Aug 7 16:27:16 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE6411065688 for ; Fri, 7 Aug 2009 16:27:16 +0000 (UTC) (envelope-from stef-list@memberwebs.com) Received: from mx.npubs.com (mail.npubs.com [94.75.203.100]) by mx1.freebsd.org (Postfix) with ESMTP id 873678FC27 for ; Fri, 7 Aug 2009 16:27:16 +0000 (UTC) Received: from mx.npubs.com (avhost [94.75.203.103]) by mx.npubs.com (Postfix) with ESMTP id 7137F3039834; Fri, 7 Aug 2009 16:27:15 +0000 (UTC) Received: from sqlserver1 (unknown [74.82.45.12]) by mx.npubs.com (Postfix) with ESMTP id 55F313039832; Fri, 7 Aug 2009 16:27:14 +0000 (UTC) From: Stef Walter User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Michael Scheidell References: <0fbf01ca1700$db62247e$0d01460a@secnap.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20090807162714.55F313039832@mx.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Fri, 7 Aug 2009 16:27:15 +0000 (UTC) Cc: freebsd-jail@freebsd.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stef@memberwebs.com List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 16:27:17 -0000 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, Stef From owner-freebsd-jail@FreeBSD.ORG Fri Aug 7 16:33:04 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E8D1106564A for ; Fri, 7 Aug 2009 16:33:04 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx2.secnap.com.ionspam.net (mx2.secnap.com.ionspam.net [216.134.223.54]) by mx1.freebsd.org (Postfix) with ESMTP id CD7608FC1D for ; Fri, 7 Aug 2009 16:33:03 +0000 (UTC) Received: from localhost (unknown [10.71.0.54]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id CBC91D23C27; Fri, 7 Aug 2009 12:33:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= content-type:in-reply-to:references:subject:mime-version :user-agent:from:date:message-id; s=dkim; t=1249662781; x= 1251477181; bh=d8dNa9T6xiyT+E/DWQ81R6+tYtbwlNVowBtDVN3IEdc=; b=p GI1XOlTVjLIXeH38e9Fu+hHNZXOt5rjt9JMK4JVO44OKMTpTrC6jXknqynwDBdGW 9/pJFfns2s0fj/io0gbhFe0EfJC8K+0ou9kXlwuUzUbodnYxv6VJ99U4kmmC7xGN M6IWK9nxUxwjd21vriXt7WuascaIsLp0Jmv+WqXGYM= X-Amavis-Modified: Mail body modified (using disclaimer) - mx2.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.04 at mx2.secnap.com.ionspam.net Received: from secnap3.secnap.com (secnap3.secnap.com [204.89.241.130]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id C0217D23C24; Fri, 7 Aug 2009 12:33:01 -0400 (EDT) Received: from Mikes-Laptop.local ([10.70.3.3]) by secnap3.secnap.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Aug 2009 12:33:01 -0400 Message-ID: <4A7C574A.20200@secnap.net> Date: Fri, 07 Aug 2009 12:33:14 -0400 From: Michael Scheidell User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: stef@memberwebs.com References: <0fbf01ca1700$db62247e$0d01460a@secnap.com> <20090807162714.55F313039832@mx.npubs.com> In-Reply-To: <20090807162714.55F313039832@mx.npubs.com> X-OriginalArrivalTime: 07 Aug 2009 16:33:01.0291 (UTC) FILETIME=[BAEC43B0:01CA177C] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: Re: crontab hanging won't die on SIGTERM in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 16:33:04 -0000 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!, getty) or anything that needs to do cleanup are supposed to trap (and ignore SIGTERM) once the non critical systems are stopped, THEN you send the SIGQUIT. I can't see anything critical about cron running during a reboot or haltsys. SIGQUIT should be the default for it anyway. did you verify that this works for you? that after setting for hours /etc/rc.d/cron stop works? (I had one sitting overnight, worked. yes, I want to know why.. I suspect its some combination of something rc. calls (something in my /usr/local/etc/rc.d dir) but don't know why it 'hangs around'. maybe one of those rc scripts sets something bad. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best Anti-Spam Product 2008, Network Products Guide * King of Spam Filters, SC Magazine 2008 _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________