From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 23 06:10:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA9C5D3A for ; Fri, 23 Nov 2012 06:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 71E898FC15 for ; Fri, 23 Nov 2012 06:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAN6A0Cw038958 for ; Fri, 23 Nov 2012 06:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAN6A0Lk038957; Fri, 23 Nov 2012 06:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 23 Nov 2012 06:10:00 GMT Resent-Message-Id: <201211230610.qAN6A0Lk038957@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, "dcarmich@dcarmichael.net" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90A00D35 for ; Fri, 23 Nov 2012 06:09:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 77FF18FC08 for ; Fri, 23 Nov 2012 06:09:33 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qAN69X5f082205 for ; Fri, 23 Nov 2012 06:09:33 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qAN69XEg082204; Fri, 23 Nov 2012 06:09:33 GMT (envelope-from nobody) Message-Id: <201211230609.qAN69XEg082204@red.freebsd.org> Date: Fri, 23 Nov 2012 06:09:33 GMT From: "dcarmich@dcarmichael.net" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173852: I have fixed x11/slim so that the slim login manager terminates properly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 06:10:00 -0000 >Number: 173852 >Category: ports >Synopsis: I have fixed x11/slim so that the slim login manager terminates properly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 23 06:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: dcarmich@dcarmichael.net >Release: 9.0-RELEASE >Organization: n/a >Environment: FreeBSD dc-freebsd90.carmichael.lan 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 24 15:12:26 CDT 2012 root@dc-freebsd90.carmichael.lan:/usr/src/sys/amd64/compile/VMWARE90-64 amd64 >Description: I have fixed the startup/shutdown script for the slim login manager so that slim can terminate properly upon a 'stop' command. (The PID was not being properly found from the output of ps.) >How-To-Repeat: n/a >Fix: A patch is attached. Patch attached with submission follows: diff -ruN slim.orig/files/slim.in slim/files/slim.in --- slim.orig/files/slim.in 2012-11-23 00:01:02.000000000 -0600 +++ slim/files/slim.in 2012-11-23 00:01:38.000000000 -0600 @@ -61,7 +61,7 @@ find_pidfile - xpid=`ps -axww | grep '/bin/[X] .* -auth /var/run/slim.auth'` + xpid=`ps -axww | grep '/bin/[X] .* -auth /var/run/slim.auth' | awk '{print $1};'` xpid="${xpid## }" [ -n "$xpid" ] && kill ${xpid%% *} } >Release-Note: >Audit-Trail: >Unformatted: