Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Benjamin Poirier
Mon, 26 Oct 2026 15:10
Bug#1149239: dma.service unit ExecStart needs a -D
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads