Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 17:56:23 -0600
From:      Mike Meyer <mwm@mired.org>
To:        questions@freebsd.org
Subject:   Strange startup behavior on 5.3-release
Message-ID:  <16830.11303.219463.890719@guru.mired.org>

next in thread | raw e-mail | index | archive | help

--vfD02ax66r
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

I'm running 5.3-release, and seeing *very* strange behavior on startup.

If I reboot the system, I get the following errors in /var/log/console.log:

Dec 13 17:38:59 guru kernel: Starting sshd.
Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L
Dec 13 17:39:00 guru kernel: sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [
 -bs ] [ arg ... ]

I'm getting those errors because sendmail is set to
/var/qmail/bin/sendmail in /etc/mail/mailer.conf. Since I'm running
qmail, sendmail should be run *at all* at startup.

The really strange thing is that if I shutdown and then restart the
system, without a reboot, I don't see these error messages.

I've traced this down to the sendmail_msp_queue_enable variable in
/etc/rc.conf. If set to yes, that invokes sendmail with the -L option.

There don't appear to be any currently filed bugs related to this
issue, and google didn't turn up anything relevant.

I'm running the GENERIC kernel. I've attached my /etc/rc.conf in case
something there is pertinent.

Any hints as to what would cause this - especially with the two
different behaviors - would be greatly appreciated.

	Thankx,
	<mike

--vfD02ax66r
Content-Type: application/octet-stream
Content-Description: /etc/rc.conf
Content-Disposition: attachment;
	filename="rc.conf"
Content-Transfer-Encoding: base64

IyEvYmluL3NoCnJjX2luZm89Ik5PIgkJIyBFbmFibGVzIGRpc3BsYXkgb2YgaW5mb3JtYXRp
b25hbCBtZXNzYWdlcyBhdCBib290Lgp0bXBtZnM9IllFUyIJCSMgU2V0IHRvIFlFUyB0byBh
bHdheXMgY3JlYXRlIGFuIG1mcyAvdG1wLCBOTyB0byBuZXZlcgp0bXBzaXplPSIxMjhtIgkJ
IyBTaXplIG9mIG1mcyAvdG1wIGlmIGNyZWF0ZWQKbG9jYWxf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er-Encoding: 7bit


-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

--vfD02ax66r--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16830.11303.219463.890719>