From owner-freebsd-current@FreeBSD.ORG Fri Oct 5 21:42:58 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FF5116A41A for ; Fri, 5 Oct 2007 21:42:58 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 159A613C48A for ; Fri, 5 Oct 2007 21:42:56 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l95LgtVG023484; Sat, 6 Oct 2007 01:42:55 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 6 Oct 2007 01:42:55 +0400 (MSD) From: Dmitry Morozovsky To: Anton Berezin In-Reply-To: <20071005213643.GA86107@heechee.tobez.org> Message-ID: <20071006014202.Y21670@woozle.rinet.ru> References: <012d01c8078b$59331e30$0c00a8c0@Artem> <20071005213643.GA86107@heechee.tobez.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Sat, 06 Oct 2007 01:42:55 +0400 (MSD) Cc: Artem Kuchin , freebsd-current@freebsd.org Subject: Re: Suspeded (tty output) on perl system on 7-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2007 21:42:58 -0000 On Fri, 5 Oct 2007, Anton Berezin wrote: AB> On Sat, Oct 06, 2007 at 12:07:22AM +0400, Artem Kuchin wrote: AB> > I am having a problem which might not be related to current, but i do not AB> > have it on any of the 6-stable boxes. AB> > AB> > So, there is a very simple perl script. AB> > AB> > #!/usr/bin/perl AB> > AB> > $com="/usr/bin/su hordelo_ru -c '/usr/local/sbin/httpd -f AB> > /hosts/CONFS/horosheedelo.ru -k graceful-stop'"; AB> > system($com); AB> > print "done!\n"; AB> > AB> > It work find on 6-stable. RUns httpd and prints done! AB> > Howeverm on 7-current (amd64) it does the following: AB> > AB> > horus# ./a.pl AB> > httpd (no pid file) not running AB> > AB> > Suspended (tty output) AB> > AB> > if i do 'fg' it continues and finishes fine. AB> AB> Do you get "httpd (no pid file) not running" on 6.X? AB> AB> What happens on 7.0 when you do the command in $com by hand (without perl)? AB> AB> What's the output of perl -V? AB> AB> What's httpd - apache or something else? AB> AB> Are the versions of httpd the same on both 6.X and 7.0? Looking at 'su' in the command line tends me to think about broken tcsh signal handling in -current... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------