Date: Sat, 6 Oct 2007 01:42:55 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: Anton Berezin <tobez@tobez.org> Cc: Artem Kuchin <matrix@itlegion.ru>, freebsd-current@freebsd.org Subject: Re: Suspeded (tty output) on perl system on 7-current Message-ID: <20071006014202.Y21670@woozle.rinet.ru> In-Reply-To: <20071005213643.GA86107@heechee.tobez.org> References: <012d01c8078b$59331e30$0c00a8c0@Artem> <20071005213643.GA86107@heechee.tobez.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 *** ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071006014202.Y21670>