NetBSD Problem Report #39374

From www@NetBSD.org  Mon Aug 18 00:44:53 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 85F7463B877
	for <gnats-bugs@gnats.netbsd.org>; Mon, 18 Aug 2008 00:44:53 +0000 (UTC)
Message-Id: <20080818004453.0DBAB63B853@narn.NetBSD.org>
Date: Mon, 18 Aug 2008 00:44:53 +0000 (UTC)
From: randolf+netbsd.org@inter-corporate.com
Reply-To: randolf+netbsd.org@inter-corporate.com
To: gnats-bugs@NetBSD.org
Subject: The postdrop process sometimes stops the boot process, preventing local and remote logins
X-Send-Pr-Version: www-1.0

>Number:         39374
>Category:       install
>Synopsis:       The postdrop process sometimes stops the boot process, preventing local and remote logins
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 18 00:45:00 +0000 2008
>Last-Modified:  Mon Aug 18 01:10:02 +0000 2008
>Originator:     Randolf Richardson
>Release:        NetBSD 4.0
>Organization:
Inter-Corporate Computer & Network Services, Inc.
>Environment:
NetBSD netbsd.test.lumbercartel.ca 4.99.70 NetBSD 4.99.70 (GENERIC) #0: Mon Jul 21 04:17:53 PDT 2008  builds@wb38:/home/builds/ab/HEAD/i386/200807210002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
>Description:
The message "postdrop: warning: mail_queue_enter: create file maildrop/635518.167: no such file or directory" appears every second (with the number 635518.167 changing).  This continued perpetually, and the "login:" prompt never appears on the console.  SSH logins fail too.

I had to press CTRL-C to put a stop to this "postdrop" problem, which allowed the rest of the boot process to complete.  After that, console and SSH logins worked just fine, as did the rest of the system.

This is a very serious problem because if the power fails at a remote site, and this problem occurs, the server will not be accessible until someone can physically press CTRL-C to allow the boot process to continue to completion.

>How-To-Repeat:
I don't know.  This is a fresh installation with only pkgsrc-current and GRUB installed.

>Fix:
The following two commands fixed this problem for me (because I don't need postfix):
  echo postfix=NO>>/etc/rc.conf
  shutdown -r now

Please fix the default installation of NetBSD to leave postfix disabled by default.  Adding the following comment to /etc/rc.conf is probably a good idea:

# To enable postfix, un-comment the next line:
#postfix=YES

>Audit-Trail:
From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@NetBSD.org
Cc: randolf+netbsd.org@inter-corporate.com
Subject: Re: install/39374: The postdrop process sometimes stops the boot
	process, preventing local and remote logins
Date: Mon, 18 Aug 2008 03:08:34 +0200

 --mu6rDKe19l+MneQx
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 On Mon, Aug 18, 2008 at 12:45:00AM +0000, randolf+netbsd.org@inter-corporat=
 e.com wrote:
 > >Number:         39374
 > >Category:       install
 > >Synopsis:       The postdrop process sometimes stops the boot process, p=
 reventing local and remote logins
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       high
 > >Responsible:    install-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon Aug 18 00:45:00 +0000 2008
 > >Originator:     Randolf Richardson
 > >Release:        NetBSD 4.0
 > >Organization:
 > Inter-Corporate Computer & Network Services, Inc.
 > >Environment:
 > NetBSD netbsd.test.lumbercartel.ca 4.99.70 NetBSD 4.99.70 (GENERIC) #0: M=
 on Jul 21 04:17:53 PDT 2008  builds@wb38:/home/builds/ab/HEAD/i386/20080721=
 0002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
 > >Description:
 > The message "postdrop: warning: mail_queue_enter: create file maildrop/63=
 5518.167: no such file or directory" appears every second (with the number =
 635518.167 changing).  This continued perpetually, and the "login:" prompt =
 never appears on the console.  SSH logins fail too.

 Which means /var/spool/postfix/maildrop doesn't exist.

 > >How-To-Repeat:
 > I don't know.  This is a fresh installation with only pkgsrc-current and =
 GRUB installed.

 It's obviously _not_ a fresh installation, or something went very wrong
 during the installation.

 My guesses:
   - power cut/panic/whatever and the directory was removed by fsck for
     some reason
   - upgrade from a previous release without proper postinstall
   - ran out of space during installation
   ...  there are probably plenty of other possible reasons, including
        but not limited to the pilot error, of course.

 > >Fix:
 > The following two commands fixed this problem for me (because I don't nee=
 d postfix):

 The correct fix is to have postfix properly setup however it was broken
 before.  I.e., run /etc/postfix/post-install create-missing.

 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "See the look on my face from staying too long in one place
 [...] every time the morning breaks I know I'm closer to falling"
 KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

 --mu6rDKe19l+MneQx
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (NetBSD)

 iQEcBAEBAgAGBQJIqMuSAAoJENgoQloHrPnozlUH/3VH4Nth0h6XBAnPkTyjviuQ
 QFg1072CgYPOh5Vhwt5J1DtLNhZ5hEtzfjVnbJPaTwVUl0bfEyFU+NY66pWCeQMB
 rkJzqb91EOsSHn9OCL5w2Hn+4lf/P0lpF0sKIfPq+U3JfSjFOI5pUh0Yb8cHBuFx
 DOUETM6lenk8bcJxWWWmR83US63iAZcPB222fDcEPbImKYjZeoEFs2FaMVt1I/Ac
 Ejg0Vp3aHKmuBIWRmCIX2CMygDJTC0CIPHyJ/9Bod9W+DREfN7uawfKfoZm8mb+z
 155CLBFqW04CEywjMrm0WLIjPrk8X9EMiIqBXQl1wdpn4R/oeTrYT69+AMQr6Ac=
 =AmAT
 -----END PGP SIGNATURE-----

 --mu6rDKe19l+MneQx--

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.