not enough daemons port configurable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sendmail (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
#define MAXDAEMONS 10 /* max number of ports to listen to */
This is causing failures when trying to start:
/etc/mail/
I'm running MTA, MSA, and MSASSL daemons on localhost and my primary
interface. With the addition of IPv6, this pushes me to 12 combinations
of listeners.
I suggest raising this seemingly arbitrary limit to much larger.
IMPACT: the default sendmail package is unusable in larger server configurations.
TEST CASE:
- install sendmail-bin
- make sure network interfaces have IPv6 addresses (even link-local)
- update /etc/mail/
DAEMON_
DAEMON_
DAEMON_
DAEMON_
FEATURE(
DAEMON_
DAEMON_
DAEMON_
DAEMON_
DAEMON_
DAEMON_
DAEMON_
DAEMON_
- rebuild configuration: cd /etc/mail; make
- observe failure ("too many daemons defined (10 max)")
REGRESSION POTENTIAL: virtually none. The 54 extra array slots uses will use a tiny bit more memory, but if that creates a problem, there are significantly more serious problems happening on the system.
For full IPv6 happiness, this patch makes many more daemon listeners available.