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_at_FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru *** ------------------------------------------------------------------------Received on Fri Oct 05 2007 - 19:42:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC