[Bug 275264] after freebsd-update there's no /usr/libexec/dma that /etc/mail/mailer.conf refers to

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Nov 2023 15:20:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275264

            Bug ID: 275264
           Summary: after freebsd-update there's no /usr/libexec/dma that
                    /etc/mail/mailer.conf refers to
           Product: Base System
           Version: 14.0-STABLE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: oleg@pcbtech.ru

Hello. Just upgraded one of my client server, and when trying to make aliases
had an error

etc/mail $ make
/usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases
mailwrapper: cannot exec /usr/libexec/dma: No such file or directory
*** Error code 71

Stop.
make: stopped in /etc/mail

after quick research I found out that /etc/mail/mailer.conf refers to
unexistend file /usr/libexec/dma:

/etc/mail $ cat /etc/mail/mailer.conf 
#
# mailer.conf for use with dma(8)
#
# If sendmail is configured, an example of mailer.conf that uses sendmail
# instead can be found in /usr/share/examples/sendmail.

sendmail        /usr/libexec/dma
mailq           /usr/libexec/dma
newaliases      /usr/libexec/dma

$ ls /usr/libexec/dma
ls: /usr/libexec/dma: No such file or directory

changed mail.conf back to /usr/libexec/sendmail/sendmail fixed the case, but it
seems to me that this is a bug

server was 13.2-RELEASE-p5 GENERIC i386, then updated in such a way:

$ freebsd-update -r 14.0 upgrade install
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 13.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic world/base

The following components of FreeBSD do not seem to be installed:
kernel/generic-dbg world/base-dbg

Does this look reasonable (y/n)? y

Fetching metadata signature for 14.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
...

-- 
You are receiving this mail because:
You are the assignee for the bug.