From owner-freebsd-current@FreeBSD.ORG Fri Oct 5 20:07:27 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 3404616A419 for ; Fri, 5 Oct 2007 20:07:27 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id 5C4E213C44B for ; Fri, 5 Oct 2007 20:07:26 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 70526 invoked from network); 6 Oct 2007 00:07:25 +0400 Received: from unknown (HELO Artem) (192.168.0.12) by 84.21.226.211 with SMTP; 6 Oct 2007 00:07:25 +0400 X-AntiVirus: Checked by Dr.Web [version: 4.44, engine: 4.44.0.09170, virus records: 246914, updated: 5.10.2007] Message-ID: <012d01c8078b$59331e30$0c00a8c0@Artem> From: "Artem Kuchin" To: Date: Sat, 6 Oct 2007 00:07:22 +0400 Organization: IT Legion MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Subject: 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 20:07:27 -0000 I am having a problem which might not be related to current, but i do not have it on any of the 6-stable boxes. So, there is a very simple perl script. #!/usr/bin/perl $com="/usr/bin/su hordelo_ru -c '/usr/local/sbin/httpd -f /hosts/CONFS/horosheedelo.ru -k graceful-stop'"; system($com); print "done!\n"; It work find on 6-stable. RUns httpd and prints done! Howeverm on 7-current (amd64) it does the following: horus# ./a.pl httpd (no pid file) not running Suspended (tty output) if i do 'fg' it continues and finishes fine. I am lost here, maybe someone could tell why is it suspended and how to overcome this problem? My administrative script suddenly all stoped working because of this. tough! Thank you! -- Regards, Artem