Public bug reported:

Following on from some patching I've done this week after the release of
the latest kernels, I observed that qmail-smtpd no longer starts due to
the following error:

"tcpserver: fatal: unable to figure out port number for smtp"

You will see this is logged repeatedly out to
"/var/log/qmail/smtpd/current"

I've just spent a little time tracing it and have concluded that the
softlimit defined in "/etc/service/qmail-smtpd/run" is no longer high
enough which presumably gets in the way of it loading /etc/services into
memory.

Changing the softlimit from 7000000 to 9000000 allows the service to
start up as before, as does rolling back to the previous kernel.
Presumably the stack clash patching has caused this change in memory
requirements for the process and hence the softlimit increase.

I've just provisioned a clean Ubuntu 16.04 host to confirm that it's not
any existing configuration:

 * Installed Ubuntu 16.04 on Digital ocean
 * edit /etc/hosts to ensure a FQDN is present
 * apt-get update
 * apt-get install qmail
 * qmailctl stat
   "/etc/service/qmail-smtpd: down 1 seconds, normally up, want up"
 * tail /var/log/qmail/current 
   "@40000000594ae38c2c31ed3c status: local 0/10 remote 0/20"


I've observed the same issue on hosts running Ubuntu 16.04, 14.04 and Debian 8 
for what it's worth.

** Affects: qmail (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699608

Title:
  qmail smtp server no longer starts up using latest kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qmail/+bug/1699608/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to