From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 09:26:09 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6E4C106566C for ; Wed, 2 Apr 2008 09:26:09 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from mail.webreality.org (mailserver.webreality.org [217.75.141.5]) by mx1.freebsd.org (Postfix) with ESMTP id 603278FC28 for ; Wed, 2 Apr 2008 09:26:08 +0000 (UTC) (envelope-from lists@lozenetz.org) Received: from [10.0.1.100] (unknown [87.121.18.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.webreality.org (Postfix) with ESMTP id 01CE4FFE141 for ; Wed, 2 Apr 2008 12:25:59 +0300 (EEST) Message-ID: <47F35125.3000304@lozenetz.org> Date: Wed, 02 Apr 2008 12:25:57 +0300 From: Anton - Valqk User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) MIME-Version: 1.0 To: stable@freebsd.org References: <47F34F85.4060006@lozenetz.org> In-Reply-To: <47F34F85.4060006@lozenetz.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HostIT-MailScanner-Information: Please contact the ISP for more information X-HostIT-MailScanner: Found to be clean X-HostIT-MailScanner-From: lists@lozenetz.org Cc: Subject: Re: Jail crontab crashing? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 09:26:09 -0000 ok, just made a break trough, when I added cron to /etc/libmap.conf (here is my libnap.conf: user# cat /etc/libmap.conf [httpd] libpthread.so.2 libthr.so.2 libpthread.so libthr.so [cron] libpthread.so.2 libthr.so.2 libpthread.so libthr.so ) cron stopped crashing. I've wrote an angry mail at sunday morning (GMT+2) about apache crashing (apache-worker) after a buildworld (by ezjail-admin), and added the above lines fixed my problem. Seems like I'm having a problem with libpthread but I don't know exaclty what. pls anyone help me, I have no idea why all apps using libpthread are crashing after the upgrade. This is only in the jail! in real system everything works as expected. pls help with ideas and tips! thanks. Anton - Valqk wrote: > Hi there, > have anyone faced a cron crashing in a jail when changing the > /etc/crontab? > I'm running a jail with nsswitch using pgsql backend and I've noticed > a strange behaviour > of my crontab. > Every time I change the /etc/crontab file I get (or make crontab -e > and save it) > /usr/sbin/cron[32864]: (*system*) RELOAD (/etc/crontab) > in /var/log/cron > and immediately after that the cron dies with a core (core file is in > /var/cron/cron.core), > I've made a ktrace but nothing strange can be seen in it, > heres the link to the kdump file: > > http://valqk.ath.cx/ktrace.out.txt > > any ideas appriciated! > > cheers, > valqk. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.