Public bug reported:

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04 LTS
Release:        24.04
Codename:       noble

# apt-cache policy sasl2-bin
sasl2-bin:
  Installed: 2.1.28+dfsg1-5ubuntu3
  Candidate: 2.1.28+dfsg1-5ubuntu3
  Version table:
 *** 2.1.28+dfsg1-5ubuntu3 500
        500 http://at.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status

# apt-cache policy postfix
postfix:
  Installed: 3.8.6-1build2
  Candidate: 3.8.6-1build2
  Version table:
 *** 3.8.6-1build2 500
        500 http://at.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status


After upgrading from 22.04 to 24.04, postfix sasl authentication is broken.

I see lots of these:

postfix/smtps/smtpd[17393]: warning: SASL authentication failure: cannot
connect to saslauthd server: No such file or directory

It looks like someone had the same problem:

https://serverfault.com/questions/1159702/saslauthd-service-not-
starting-after-upgrade-to-ubuntu-24-04

/etc/default/saslauthd looks correct, postfix is chrooted.

# grep -v ^# /etc/default/saslauthd

START=yes
DESC="SASL Authentication Daemon"
NAME="saslauthd"
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"


The systemd unit for salsauthd is *disabled* for some reason.

# systemctl status saslauthd
× saslauthd.service - SASL Authentication Daemon
     Loaded: loaded (/usr/lib/systemd/system/saslauthd.service; disabled; 
preset: enabled)
     Active: failed (Result: timeout) since Tue 2024-08-06 22:04:51 UTC; 20h ago
       Docs: man:saslauthd(8)
    Process: 2697 ExecStart=/usr/sbin/saslauthd -a $MECHANISMS $MECH_OPTIONS 
$OPTIONS -n $THREADS (code=exited, status=0/SUCCESS)
        CPU: 48ms

Aug 06 22:03:21 host systemd[1]: Starting saslauthd.service - SASL 
Authentication Daemon...
Aug 06 22:03:21 host saslauthd[2698]:                 : master pid is: 2698
Aug 06 22:03:21 host saslauthd[2698]:                 : listening on socket: 
/var/spool/postfix/var/run/saslauthd/mux
Aug 06 22:03:21 host systemd[1]: saslauthd.service: Can't open PID file 
/run/saslauthd/saslauthd.pid (yet?) after start: No such file or directory
Aug 06 22:04:51 host systemd[1]: saslauthd.service: start operation timed out. 
Terminating.
Aug 06 22:04:51 host saslauthd[2698]:                 : master exited: 2698
Aug 06 22:04:51 host systemd[1]: saslauthd.service: Failed with result 
'timeout'.
Aug 06 22:04:51 host systemd[1]: Failed to start saslauthd.service - SASL 
Authentication Daemon.

/run/saslauthd doesn't exist

I will try to dig further and amend the report with my findings.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: postfix 3.8.6-1build2
ProcVersionSignature: Ubuntu 6.8.0-39.39-generic 6.8.8
Uname: Linux 6.8.0-39-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Aug  7 18:23:42 2024
InstallationDate: Installed on 2013-04-18 (4129 days ago)
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
ProcEnviron:
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: postfix
UpgradeStatus: Upgraded to noble on 2024-08-06 (1 days ago)
mtime.conffile..etc.init.d.apport: 2024-04-23T11:30:10

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


** Tags: amd64 apport-bug noble

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

Title:
  postfix auth broken, saslauthd doesn't start after upgrade to 24.04

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


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

Reply via email to