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/ _________________________________________________________________________