From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1082 Path: news.gmane.org!not-for-mail From: Gilles Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: saslauthd misbehaves? Date: Mon, 20 Mar 2006 14:15:12 +0100 Message-ID: <20060320131512.GA18460@dusk.harfang.homelinux.org> References: <20060319040838.GA20776@dusk.harfang.homelinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142861517 12296 80.91.229.2 (20 Mar 2006 13:31:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Mar 2006 13:31:57 +0000 (UTC) Original-X-From: supervision-return-1318-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Mar 20 14:31:50 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1FLKU3-0006hM-75 for gcsg-supervision@gmane.org; Mon, 20 Mar 2006 14:31:43 +0100 Original-Received: (qmail 6547 invoked by uid 76); 20 Mar 2006 13:32:03 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 6541 invoked from network); 20 Mar 2006 13:32:03 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060319040838.GA20776@dusk.harfang.homelinux.org> X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.11 X-SA-Exim-Connect-IP: 192.168.107.30 X-SA-Exim-Mail-From: gilles@harfang.homelinux.org X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on dawn.harfang.homelinux.org X-Spam-Level: X-Spam-Status: No, score=-4.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on localhost) X-DCC-scarlet.be-Metrics: guri 2020; Body=1 Fuz1=1 Fuz2=1 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1082 Archived-At: Hi. Still trying... > [...] problem is how to run saslauthd under > runit. > > Here is a sample: > > mail:/etc/sv/cyrus-saslauthd# ps ax | grep sasl > 20748 ? Ss 0:00 runsv cyrus-saslauthd > 20749 ? S 0:00 /usr/bin/svlogd -tt /var/log/service/cyrus/saslauthd > 20750 ? S 0:00 /usr/sbin/saslauthd -a ldap -d -n 0 > 20758 pts/9 S+ 0:00 grep sasl > mail:/etc/sv/cyrus-saslauthd# sv stop /etc/sv/cyrus-saslauthd > fail: /etc/sv/cyrus-saslauthd: runsv not running > mail:/etc/sv/cyrus-saslauthd# ps ax | grep sasl > 20761 ? Ss 0:00 runsv cyrus-saslauthd > 20762 ? S 0:00 /usr/bin/svlogd -tt /var/log/service/cyrus/saslauthd > 20763 ? S 0:00 /usr/sbin/saslauthd -a ldap -d -n 0 > 20765 pts/9 S+ 0:00 grep sasl > > Can't stop it! > [I've added the -d (debug) switch, hoping it would help but, no.] > > Here is the log: > > 2006-03-19_03:52:48.80168 saslauthd[20763] :main : num_procs : 0 > 2006-03-19_03:52:48.80194 saslauthd[20763] :main : mech_option: NULL > 2006-03-19_03:52:48.80196 saslauthd[20763] :main : run_path : /var/run/saslauthd > 2006-03-19_03:52:48.80197 saslauthd[20763] :main : auth_mech : ldap > 2006-03-19_03:52:48.80219 saslauthd[20763] :detach_tty : master pid is: 0 > 2006-03-19_03:52:48.80225 saslauthd[20763] :ipc_init : listening on socket: /var/run/saslauthd/mux > > What's going on, and is there a solution? > Is there a "runit" equivalent to DJB's "fghack"? Gilles