From nobody@FreeBSD.org  Fri Oct 29 08:56:11 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CCAD81065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 29 Oct 2010 08:56:11 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A08E48FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 29 Oct 2010 08:56:11 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9T8uAu6025389
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 29 Oct 2010 08:56:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o9T8uAnQ025383;
	Fri, 29 Oct 2010 08:56:10 GMT
	(envelope-from nobody)
Message-Id: <201010290856.o9T8uAnQ025383@www.freebsd.org>
Date: Fri, 29 Oct 2010 08:56:10 GMT
From: Martin Drtina <razzi@narovinu.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: courier-authdaemond doesn't respond with error: Cross-device link
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         151808
>Category:       ports
>Synopsis:       security/courier-authlib: courier-authdaemond doesn't respond with error: Cross-device link
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 29 09:00:18 UTC 2010
>Closed-Date:    Sun Jun 24 07:18:56 UTC 2012
>Last-Modified:  Sun Jun 24 07:18:56 UTC 2012
>Originator:     Martin Drtina
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD freebsd.lan 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Oct 11 13:17:21 CEST 2010     root@freebsd.lan:/usr/obj/usr/src/sys/FREEBSD  amd64

>Description:
After I migrate from FBSD 6.4 to 9.0, and rebuild all ports, authdaemond doesn't work correctly. 

During startup it returns error msg /var/run/authdaemond/socket: Cross-device link and then doesn't respond on auth requests

Oct 29 10:45:01 freebsd authdaemond: modules="authmysql authpam", daemons=5
Oct 29 10:45:01 freebsd authdaemond: Installing libauthmysql
Oct 29 10:45:01 freebsd authdaemond: Installation complete: authmysql
Oct 29 10:45:01 freebsd authdaemond: Installing libauthpam
Oct 29 10:45:01 freebsd authdaemond: Installation complete: authpam
Oct 29 10:45:01 freebsd authdaemond: /var/run/authdaemond/socket: Cross-device link
Oct 29 10:45:01 freebsd authdaemond: /var/run/authdaemond/socket: Cross-device link

Oct 29 10:48:20 freebsd imapd: authdaemon: s_connect() failed: No such file or directory
Oct 29 10:48:20 freebsd imapd: LOGIN FAILED, user=razzi@doma.narovinu.cz, ip=[::ffff:127.0.0.1]
Oct 29 10:48:20 freebsd imapd: authentication error: No such file or directory

# ls /var/run/authdaemond
pid             pid.lock        socket.tmp

# ls /usr/local/etc/authlib
authdaemonrc            authdaemonrc.dist       authmysqlrc

# cat ./authdaemonrc
authmodulelist="authmysql authpam"
version="authdaemond.mysql"
DEBUG_LOGIN=2
daemons=5

# cat ./authmysqlrc
MYSQL_SERVER            localhost
MYSQL_USERNAME          postfix
MYSQL_PASSWORD          ***password***
MYSQL_SOCKET            /tmp/mysql.sock
MYSQL_DATABASE          postfix
MYSQL_USER_TABLE        users
MYSQL_CRYPT_PWFIELD     crypt
MYSQL_CLEAR_PWFIELD     clear
MYSQL_UID_FIELD         '4000'
MYSQL_GID_FIELD         '4000'
MYSQL_LOGIN_FIELD       id
MYSQL_HOME_FIELD        '/web/mail/'
MYSQL_NAME_FIELD        name
MYSQL_MAILDIR_FIELD     maildir
MYSQL_WHERE_CLAUSE      imapok=1 AND bool1=1 AND bool2=1

What's wrong?
Thanks for your advices 

Martin
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->oliver 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Oct 31 11:30:24 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151808 

From: Oliver Lehmann <oliver@FreeBSD.org>
To: bug-followup@FreeBSD.org, razzi@narovinu.cz
Cc:  
Subject: Re: ports/151808: security/courier-authlib: courier-authdaemond
 doesn&#39;t respond with error: Cross-device link
Date: Mon, 19 Mar 2012 12:56:41 +0100

 Is this still an issue? For me it sounds like a local
 problem... maybe /var/run is a tmpfs mount or something.
State-Changed-From-To: open->closed 
State-Changed-By: oliver 
State-Changed-When: Sun Jun 24 07:18:40 UTC 2012 
State-Changed-Why:  
no feedback since March 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151808 
>Unformatted:
