After having trouble with a bug similar to 28021, I found that I wasn't even getting an error report mailed to me because the "mail" binary did not exist.
Apparently, line 51 of /usr/share/samba/panic-action in samba 3.0.21b-1ubuntu2 uses the "mail" binary, but the mailutils package was not installed as a dependency beforehand. This is executed after samba segfaults on startup. This bug report, however, is not for the samba segfault, just the dependency. I will keep segfault correspondence on 28021.
Output:
jroes@shazbot:~$ /etc/init.d/samba start
* Starting Samba daemons... /usr/share/samba/panic-action: line 51: mail: command not found
/usr/share/samba/panic-action: line 20: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 21: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 22: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 41: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 42: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 43: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 44: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 45: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 46: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 47: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 48: echo: write error: Broken pipe
/usr/share/samba/panic-action: line 49: echo: write error: Broken pipe
/etc/init.d/samba: line 24: 7221 Aborted start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D
[fail]
Simply installing the mailutils package still has its problems:
jroes@shazbot:~$ sudo apt-get install mailutils
-- snip --
Setting up mailutils (0.6.90-3) ...
-- snip --
jroes@shazbot:~$ mail /usr/sbin/ sendmail: No such file or directory
[ fail]
No mail for jroes
jroes@shazbot:~$ /etc/init.d/samba start
* Starting Samba daemons... sh: sendmail:
/etc/init.d/samba: line 24: 8878 Aborted start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D