Slow boot, stalls on "tarting Mail Transport Agent: sendmail."

Bug #76238 reported by scarolan
0
Affects Status Importance Assigned to Milestone
sendmail (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I turned off the 'quiet' parameter in /boot/grub/menu.lst to try narrow down the problem. The boot messages just fly by until it reaches "Starting Basic Networking" where it stalls for over a minute. This did not happen on Dapper, it only started popping up after I upgraded to Edgy. If you need extra logfile output, etc. let me know.

Revision history for this message
Ben T (bentucci523) wrote :

I think this falls under upstart, though, I am not totally sure.

Revision history for this message
scarolan (scarolan) wrote :

An upstart bug indeed!

If this bug is caused by the computer looking for a network connection at boot, is there a way to turn this off? I never establish a connection until AFTER I'm logged in, via Gnome Network Manager / wifi. I don't want my laptop trying to get online until I'm already logged in.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Nothing to do with upstart, just a bug in the ordinary networking bootup

Attach /var/log/boot

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Also attach /etc/network/interfaces and /etc/iftab

Changed in netbase:
status: Unconfirmed → Needs Info
Revision history for this message
scarolan (scarolan) wrote :

Here's /var/log/boot

Revision history for this message
scarolan (scarolan) wrote :

/etc/network/interfaces

Revision history for this message
scarolan (scarolan) wrote : /etc/iftab

Ok, not to be paranoid but I'm changing the mac addresses to protect the innocent:

cat /etc/iftab
# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.

eth0 mac 13:37:h4:xx:0r:00 arp 1
ath0 mac w0:0t:L0:LW:TF:BB arp 1

Revision history for this message
scarolan (scarolan) wrote : Updated /var/log/boot

Ok, so I installed sasl2-bin and still am experiencing a delay of 60 seconds or so at boot time. Here is the updated /var/log/boot - it seems to be hanging up on sendmail.

Revision history for this message
scarolan (scarolan) wrote : Problem solved - sendmail-bin was the culprit

Ok, so I dug a little deeper and found that there are two packages for sendmail, sendmail and sendmail-bin. I didn't realize that sendmail-bin was installed. After uninstalling it the boot proceeds as normal. Just curious though, why are there two packages?

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: Slow boot, stalls on "Starting Basic Networking"

According to your boot log; it's not stalling there at all, but at "Starting sendmail"!

Revision history for this message
Tom Womack (tom-womack) wrote :

I have the stall on 'starting sendmail' too; there's a message about being unable to create a temporary file for a here document on a read-only filesystem.

I suspect some package installs sendmail, rather than 'some MTA', and the sendmail package isn't well-fitted to the ubuntu boot sequence.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sendmail (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.