From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 26 14:40:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A28F24F for ; Mon, 26 May 2014 14:40:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E10AB2984 for ; Mon, 26 May 2014 14:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4QEe2iL029282 for ; Mon, 26 May 2014 14:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4QEe2iL029281; Mon, 26 May 2014 14:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 26 May 2014 14:40:02 GMT Resent-Message-Id: <201405261440.s4QEe2iL029281@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexei Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4B5CDB for ; Mon, 26 May 2014 14:36:31 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1C872960 for ; Mon, 26 May 2014 14:36:31 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4QEaVlR078421 for ; Mon, 26 May 2014 14:36:31 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4QEaVlk078418; Mon, 26 May 2014 14:36:31 GMT (envelope-from nobody) Message-Id: <201405261436.s4QEaVlk078418@cgiserv.freebsd.org> Date: Mon, 26 May 2014 14:36:31 GMT From: Alexei To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190269: ports-mgmt/portupgrade with pkgng does not properly restart updated daemons X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2014 14:40:03 -0000 >Number: 190269 >Category: ports >Synopsis: ports-mgmt/portupgrade with pkgng does not properly restart updated daemons >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 26 14:40:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Alexei >Release: 9.2 >Organization: SK Press >Environment: FreeBSD ns.skpress.ru 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #0: Tue May 13 08:21:53 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: After moving to pkgng portupgrade -a doesn't perform postinstall restart of rc scripts, as it instructed by pkgtools.conf: AFTERINSTALL = { '*' => proc { |origin| cmd_restart_rc(origin) }, } In the form portupgrade -f program works as it should. The cause of such behaviour is wrong (empty) output of enabled_rc_scripts() function when portupgrade upgrades several ports. >How-To-Repeat: Run portupgrade -a in the pkgng environment when more than one of installed ports needs upgrade and at least one of them installs rc script. pkgtools.conf should contain AFTERINSTALL section shown above. >Fix: >Release-Note: >Audit-Trail: >Unformatted: