NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/49172: /etc/rc.d/postfix script takes 20s at startup on raspberrypi



>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.



Home | Main Index | Thread Index | Old Index