Article View: linux.debian.bugs.dist
Article #2262Bug#1149239: dma.service unit ExecStart needs a -D
From: Benjamin Poirier
Date: Mon, 26 Oct 2026 15:10
Date: Mon, 26 Oct 2026 15:10
16 lines
3467 bytes
3467 bytes
On Mon, 28 Sep 2026 18:53:07 +0100 Neil Wilson <neil@aldur.co.uk> wrote: [...] > [Service] > Type=oneshot > ExecStart=/usr/sbin/dma -Dq I encountered a similar problem. According to my research with a chatbot, adding '-D' would not work well if there are multiple messages in the queue because dma still forks processes to handle all but the last message. Another solution would be to change from 'Type=oneshot' to 'Type=exec, ExecType=cgroup'. However, the unit would stay active until all messages are delivered. If a message is "stuck", dma retries up to 5 days. Mail queued later would not be processed during that time. Therefore, I landed on changing to 'KillMode=process' which leaves per-message dma processes running in the background, similar to how this worked when dma was getting run from cron.
Technical Details
Message-ID:
<NSuuJ-822L-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NInNT-2lbq-3@gated-at.bofh.it> <NInNT-2lbq-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Benjamin Poirier <benjamin.poirier@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1149239: dma.service unit ExecStart needs a -D
Date: Mon, 26 Oct 2026 16:10:01 +0100
Message-ID: <NSuuJ-822L-7@gated-at.bofh.it>
References: <NInNT-2lbq-3@gated-at.bofh.it> <NInNT-2lbq-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 26 15:09:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.547
Reply-To: Benjamin Poirier <benjamin.poirier@gmail.com>, 1149239@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: arno@debian.org
X-Debian-Pr-Message: followup 1149239
X-Debian-Pr-Package: dma
X-Debian-Pr-Source: dma
X-Gm-Message-State: AFq9FYLMMyy9ZTVwV9XI9nEKlFlOAOzHaF3V5yVldXgU118HiYKdccZA
Ge6D7rIxd1Hj6f4pSCHxamLQGcad29zIVccc02xUdPR6rLoXCrbXhr8sZPaeWuwd
X-Gm-Gg: AYBFou3407CtQvKJF3GAc9IDvbZCGCgPuUEgUEmDzUG0lq9zq3IFAlOA3xRG74/5B2a
S+U4JYKG6whWA98clVlZYI1cwbS1kERHDvIp5weedZc/f7f7QZjYjnAGTuGZv4lBSINrxzQWqRq
+hAgOa+v62Of7CCUTJZ13So7ylf6PHHyPIvL9MIEFEM4HotiKe7d/iDySTfNwXHciCaIRXQo/UB
8muFF86hvpgGcwK7ue+yy1zp+WNkoIc0jaECd00J56aDz6Uge8+nDmQAEjroaLswJMVQLDuEish
XNXWdB0qdC+LftS4frF9IB5w+ioxRY/4fo6BLBZH0mbIhF7S7GHs9ct/qp3J1ysIL9KJ62u0xE3
zGrgTP4jP2Mg1aCAwIptuSMIBzmO6g+3SlzBsnSJ3K5Da6cY5dcBOo05Mq8fTZRD6ujmGaFCtO+
tN82mjWZp2fvW6GW7qgGiMkUTn9FDUcvNlrvYnCjKkrI8vM0OW9aDpP++tLWMiQ/uv06UTUtnxm
X/e2dOzVEVpLUNyyQigMcDq4HQHx37qrTR/yDESN4O8u3gj0/Yb8gycTY9EKRUsfFHW56pL0h+e
zGBoGOU1XdupmjZN2Wq6yZnWnUjO3aof/PHFc1D3dnE=
X-Received: by 2002:a05:701b:454d:20b0:147:d430:7322 with SMTP id a92af1059eb24-1993329074bmr15027656c88.1.1793027244219;
Mon, 26 Oct 2026 08:07:24 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999031
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 16
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 26 Oct 2026 11:07:21 -0400
X-Original-Message-ID: <at9sqVIAHna_zaPX@f4>
X-Original-References: <179061798770.7109.16366052343149988637.reportbug@noble-vm.powerhub> <179061798770.7109.16366052343149988637.reportbug@noble-vm.powerhub>