Date: Fri, 23 Nov 2012 06:09:33 GMT From: "dcarmich@dcarmichael.net" <Douglas.Carmichael@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173852: I have fixed x11/slim so that the slim login manager terminates properly Message-ID: <201211230609.qAN69XEg082204@red.freebsd.org> Resent-Message-ID: <201211230610.qAN6A0Lk038957@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211230609.qAN69XEg082204>