NetBSD Problem Report #49172
From www@NetBSD.org Tue Sep 2 14:39:23 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 118A0B7DF3
for <gnats-bugs@gnats.NetBSD.org>; Tue, 2 Sep 2014 14:39:23 +0000 (UTC)
Message-Id: <20140902143921.80BF6B7DF8@mollari.NetBSD.org>
Date: Tue, 2 Sep 2014 14:39:21 +0000 (UTC)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@NetBSD.org
Subject: /etc/rc.d/postfix script takes 20s at startup on raspberrypi
X-Send-Pr-Version: www-1.0
>Number: 49172
>Category: bin
>Synopsis: /etc/rc.d/postfix script takes 20s at startup on raspberrypi
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 02 14:40:00 +0000 2014
>Originator: Jared McNeill
>Release: 7.99.1
>Organization:
>Environment:
>Description:
Having postfix enabled (the default) adds 20 seconds to the boot time of a raspberry pi. Not sure what the script is doing, most other scripts complete in less than a second.
>How-To-Repeat:
Add a timestamp to the rc_log_message call here:
http://nxr.netbsd.org/xref/src/etc/rc#309
e.g.:
rc_log_message "[$(date) running $1]"
and inspect /var/run/rc.log after startup
>Fix:
Not sure. postfix=NO gives the 20s back though.
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.