From owner-freebsd-stable Wed May 9 13:14:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from edgemaster.zombie.org (cx497943-d.omhaw1.ne.home.com [24.3.233.212]) by hub.freebsd.org (Postfix) with ESMTP id 50B7537B424 for ; Wed, 9 May 2001 13:14:48 -0700 (PDT) (envelope-from smkelly@zombie.org) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 98D3855414; Wed, 9 May 2001 15:14:47 -0500 (CDT) Date: Wed, 9 May 2001 15:14:47 -0500 From: Sean Kelly To: stable@freebsd.org Subject: Lock Problems? Message-ID: <20010509151447.A23512@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG FreeBSD 4.3-STABLE #0: Tue May 8 03:35:59 CDT 2001 root@edgemaster.zombie.org:/usr/obj/usr/src/sys/EDGEMASTER Within the last few days, I've started experiencing problems with the procmail 3.15.1 port. I'm using it as my MDA from postfix-20010228.1. I've got stuff in ~/.procmailrc, such as: :0: * ^To:.*BUGTRAQ@SECURITYFOCUS.COM boxes/bugtraq However, I've started to notice some bleeding of messages. Some messages were not ending up in boxes/freebsd-stable or boxes/freebsd-ports. This got me curious, so I turned on VERBOSE and LOGFILE. This is what I'm seeing: procmail: Assigning "MAILDIR=Mail/" procmail: Assigning "PGPLOG=autopgp.log" procmail: Assigning "MY_NAME=Sean Kelly" procmail: Assigning "MY_ADDR=smkelly@zombie.org" procmail: No match on "^Subject: *\/(send|get) (pgp|gpg|public)( key)?" procmail: Extraneous locallockfile ignored procmail: Extraneous locallockfile ignored procmail: Extraneous locallockfile ignored procmail: Match on "^To:.*BUGTRAQ@SECURITYFOCUS.COM" procmail: Locking "boxes/bugtraq.lock" procmail: Assigning "LASTFOLDER=boxes/bugtraq" procmail: Opening "boxes/bugtraq" procmail: Acquiring kernel-lock <---- ??? procmail: Error while writing to "boxes/bugtraq" <---- ??? procmail: Truncated file to former size procmail: Unlocking "boxes/bugtraq.lock" procmail: No match on "^Sender: owner-freebsd-stable@FreeBSD.ORG" ... procmail: Bypassed locking "/var/mail/smkelly.lock" procmail: Assigning "LASTFOLDER=/var/mail/smkelly" procmail: Opening "/var/mail/smkelly" procmail: Acquiring kernel-lock From owner-bugtraq@SECURITYFOCUS.COM Wed May 9 14:36:10 2001 Subject: Solaris mailx Vulnerability Folder: /var/mail/smkelly 5389 If it got the kernel lock, why would it fail in writing to it? Again, this is not every message that fails. I did start seeing this problem after rebuilding world/kernel, but I've also upgraded procmail. However, I have been told by other FreeBSD and procmail-3.15.1 users that they don't have the problem. I'm not entirely sure what's going on here. Since this doesn't happen all the time, and since it's being run from within my MTA, I'm not even sure how to debug it (i.e. ktrace). Is this a known problem, or does anybody have a suggestion how I can get more debugging information to figure out why my mail isn't being sorted properly? -- Sean Kelly | PGP KeyID: 77042C7B smkelly@zombie.org | http://www.zombie.org For PGP key, send e-mail with subject "send pgp key" <-- procmail allowing. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message