Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 17:16:28 -0700 (PDT)
From:      asami@FreeBSD.org (Satoshi Asami)
To:        ade@FreeBSD.org
Cc:        ports@FreeBSD.org, ps@FreeBSD.org
Subject:   oaf port
Message-ID:  <200009210016.e8L0GSG74770@silvia.hip.berkeley.edu>

next in thread | raw e-mail | index | archive | help
Hi,

After many months, I finally chased down the problem with gconf in the
package build cluster -- it was leaving the oafd running behind so the
calling ssh process did not terminate (which was causing the entire
build to stall).

The following will "fix" it, does it look ok for you?  Although (I
assume) it's gconf and oaf that's running it, I think it should be in
oaf's PLIST since that's the safest place to kill the process --
people deinstalling oaf probably don't need the oafd to keep
running. :)

Satoshi

P.S. I'm not using killall because it doesn't work well inside the
     chroot environment.
-------
Index: pkg/PLIST
===================================================================
RCS file: /home/ncvs/ports/devel/oaf/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- pkg/PLIST	2000/08/17 16:39:50	1.4
+++ pkg/PLIST	2000/09/20 19:58:10
@@ -33,3 +33,4 @@
 @unexec rmdir %D/share/gnome 2>/dev/null || true
 @dirrm include/liboaf
 @dirrm etc/oaf
+@unexec ps gx | grep '[0-9]:[0-9][0-9]\.[0-9][0-9] oafd --ac-activate' | awk '{print $1}' | xargs kill 2>/dev/null || true


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009210016.e8L0GSG74770>