NetBSD Problem Report #30904

From www@netbsd.org  Wed Aug  3 15:37:08 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 6DAA163B117; Wed,  3 Aug 2005 15:37:08 +0000 (UTC)
Message-Id: <20050803153708.6DAA163B117@narn.netbsd.org>
Date: Wed,  3 Aug 2005 15:37:08 +0000 (UTC)
From: ishit@oak.dti.ne.jp
Reply-To: ishit@oak.dti.ne.jp
To: gnats-bugs@netbsd.org
Subject: mail/queue-repair can not check pkgsrc's qmail
X-Send-Pr-Version: www-1.0

>Number:         30904
>Category:       pkg
>Synopsis:       mail/queue-repair can not check pkgsrc's qmail
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    schmonz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 03 15:38:00 +0000 2005
>Closed-Date:    Fri Dec 29 06:49:05 +0000 2006
>Last-Modified:  Fri Dec 29 06:49:05 +0000 2006
>Originator:     ISIHARA Takanori
>Release:        NetBSD 2.0.2
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD leaf.sf21npo.gr.jp 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
queue-repair can not check pkgsrc's qmail queue.

qmail queue default path is /var/qmail/queue.
but pkgsrc's qmail queue path is /var/spool/qmail.

queue-rapair -r opition can not understand this path.

I do not understand python language. I can not make patch file.

>How-To-Repeat:
cd /usr/pkgsrc/mail/queue-repair
make install clean

queue_repair -r

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->schmonz
Responsible-Changed-By: schmonz@netbsd.org
Responsible-Changed-When: Wed, 03 Aug 2005 16:59:35 +0000
Responsible-Changed-Why:
Over to maintainer (me).


From: Amitai Schlair <schmonz@schmonz.com>
To: gnats-bugs@netbsd.org, ISIHARA Takanori <ishit@oak.dti.ne.jp>
Cc: 
Subject: Re: pkg/30904: mail/queue-repair can not check pkgsrc's qmail
Date: Wed, 3 Aug 2005 14:04:34 -0400

 On Aug 3, 2005, at 11:38 AM, ishit@oak.dti.ne.jp wrote:

 > queue-repair can not check pkgsrc's qmail queue.
 >
 > qmail queue default path is /var/qmail/queue.
 > but pkgsrc's qmail queue path is /var/spool/qmail.
 >
 > queue-rapair -r opition can not understand this path.

 The problem is that even though qmail happily follows the 
 /var/qmail/queue symlink, queue_repair considers this configuration an 
 error. I've mailed the queue_repair author suggesting that it should 
 follow the symlink in the same way that qmail itself does.

 Thanks for the bug report! I never noticed this bug because I haven't 
 had a queue that needed to be fixed. I'd only tried "queue_repair -t", 
 which warned about the symlink but otherwise worked.

 - Amitai

State-Changed-From-To: open->analyzed
State-Changed-By: schmonz@netbsd.org
State-Changed-When: Wed, 03 Aug 2005 18:06:34 +0000
State-Changed-Why:
Awaiting feedback from software author.


From: Amitai Schlair <schmonz@schmonz.com>
To: gnats-bugs@netbsd.org, ISIHARA Takanori <ishit@oak.dti.ne.jp>
Cc: 
Subject: Re: pkg/30904: mail/queue-repair can not check pkgsrc's qmail
Date: Wed, 3 Aug 2005 15:31:40 -0400

 On Aug 3, 2005, at 2:04 PM, Amitai Schlair wrote:

 > On Aug 3, 2005, at 11:38 AM, ishit@oak.dti.ne.jp wrote:
 >
 >> queue-repair can not check pkgsrc's qmail queue.
 >>
 >> qmail queue default path is /var/qmail/queue.
 >> but pkgsrc's qmail queue path is /var/spool/qmail.
 >>
 >> queue-rapair -r opition can not understand this path.

 It seems "queue_repair -r" also unlinks /var/qmail/queue. For now, try 
 restoring the symlink and then using the queue-fix package:

 # ln -s /var/spool/qmail /var/qmail/queue
 # queue-fix -i /var/qmail/queue

 Let me know if this helps,

 - Amitai

From: ishit <ishit@oak.dti.ne.jp>
To: schmonz@schmonz.com
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/30904: mail/queue-repair can not check pkgsrc's qmail
Date: Thu, 04 Aug 2005 07:31:59 +0900

 At Wed, 3 Aug 2005 15:31:40 -0400, Amitai Schlair wrote:
 >> queue-repair can not check pkgsrc's qmail queue.
 >>
 >> qmail queue default path is /var/qmail/queue.
 >> but pkgsrc's qmail queue path is /var/spool/qmail.
 >>
 >> queue-rapair -r opition can not understand this path.
 > 
 > It seems "queue_repair -r" also unlinks /var/qmail/queue. For now, try 
 > restoring the symlink and then using the queue-fix package:
 > 
 > # ln -s /var/spool/qmail /var/qmail/queue
 > # queue-fix -i /var/qmail/queue
 > 
 > Let me know if this helps,

   I found mail/queue-fix and run yesterday, actually.
   Thank you.

 -- 
 ISIHARA Takanori

State-Changed-From-To: analyzed->closed
State-Changed-By: schmonz@netbsd.org
State-Changed-When: Fri, 29 Dec 2006 06:49:05 +0000
State-Changed-Why:
The author's suggested workaround doesn't seem to work, and he has 
said an update is not imminent. I've added a MESSAGE explaining the
situation, which should prevent future users from experiencing your
problem. Sorry this isn't a real fix, but for now it's the best we 
can sensibly do. Thanks for the PR!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.