Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > linux.debian.user > #286572

Re: mail_queue_enter: create file maildrop/870989.992: Read-only file system

From Luc Saffre <luc@saffre-rumma.net>
Newsgroups linux.debian.user
Subject Re: mail_queue_enter: create file maildrop/870989.992: Read-only file system
Date 2026-05-10 16:00 +0200
Message-ID <MTcRj-46To-1@gated-at.bofh.it> (permalink)
References <MQspA-294s-1@gated-at.bofh.it> <MQtlD-29GE-1@gated-at.bofh.it> <MTcRj-46To-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Sorry again for my long silence. So, if you read this email, then my 
mail delivery problem are fixed. Though I fear that I am still unable to 
send emails to the debian mailinglists. I sent an email to 
listmaster@lists.debian.org, but they too didn’t respond. Anyway, here 
is what I would like to tell you:

It’s Andy Smith who found the explanation, less than 24 hours after my 
post. His second post in the thread 
<https://lists.debian.org/debian-user/2026/05/msg00044.html> gave the 
correct explanation, which now helped me to find the solution.

The problem came because Systemd runs the monit service with 
|ProtectSystem| set to |strict| and without adding |/var/spool/postfix/| 
to |ReadWritePaths|.

Here is what I had in my |/usr/lib/systemd/system/monit.service|:

ProtectSystem=strict
ReadWritePaths=/run/ /var/lib/monit/ /var/log/

I just added |/var/spool/postfix/| to the list of read-write paths:

ReadWritePaths=/run/ /var/lib/monit/ /var/log/ /var/spool/postfix/

How did I know that it’s |/var/spool/postfix| where maildrop tries to 
write to? Because the error message unfortunately specifies only the 
relative path. I guessed that this path is specified somewhere in the 
postfix configs, so I said:

# postconf | grep queue

Which returned a few settings, and one of them was:

queue_directory = /var/spool/postfix

My congratulations to the members of the debian-users list who found 
this explanation without any further information from me!

Luc



On 5/4/26 15:34, Luc Saffre wrote:
> (Sorry that you get my answer only now, I'm having delivery problems 
> with my luc@saffre-rumma.net address, probably caused by DNS changes)
>
> On 5/3/26 03:58, Andy Smith wrote:
>> Hi,
>>
>> On Sun, May 03, 2026 at 02:50:47AM +0300, Luc Saffre wrote:
>>> Soon after rebooting, I have the following message in my journal:
>>>
>>> apr   28 08:07:30 lumi postfix/postdrop[992]: warning: mail_queue_enter: create file maildrop/870989.992: Read-only file system
>> For some reason your filesystem has gone read-only. If I were you I'd be
>> looking further back in the logs to see if there is anything about that,
>> as I would expect there to be.
>
> Yes, I could have attached this immediately, because indeed during 
> boot there are a lot of messages that I don't understand.
> Here now a file made with "journalctl -b --no-pager > journal.txt".
>
> But from the terminal as root I *can* write to the 
> /var/spool/postfix/maildrop directory:
>
> # touch /var/spool/postfix/maildrop/x
> # rm /var/spool/postfix/maildrop/x
>
> Did I mention that this is a virtual private server?
>
> Luc
>

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

mail_queue_enter: create file maildrop/870989.992: Read-only file  system Luc Saffre <luc@saffre-rumma.net> - 2026-05-03 02:00 +0200
  Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Andy Smith <andy@strugglers.net> - 2026-05-03 03:00 +0200
    Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Greg Wooledge <greg@wooledge.org> - 2026-05-03 04:20 +0200
      Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system David Wright <deblis@lionunicorn.co.uk> - 2026-05-03 06:30 +0200
        Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Greg Wooledge <greg@wooledge.org> - 2026-05-03 14:30 +0200
      Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Andy Smith <andy@strugglers.net> - 2026-05-03 22:30 +0200
        Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Jan Claeys <lists@janc.be> - 2026-05-04 17:10 +0200
          Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system <tomas@tuxteam.de> - 2026-05-04 17:50 +0200
            Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Michael Greenberg <michael@greenberg.science> - 2026-05-04 18:40 +0200
              Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system tomas@tuxteam.de - 2026-05-04 19:30 +0200
    Re: mail_queue_enter: create file maildrop/870989.992: Read-only file  system Luc Saffre <luc@saffre-rumma.net> - 2026-05-10 16:00 +0200
      Re: mail_queue_enter: create file maildrop/870989.992: Read-only file  system Luc Saffre <luc@saffre-rumma.net> - 2026-05-10 16:30 +0200
      Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Andy Smith <andy@strugglers.net> - 2026-05-11 02:50 +0200
        Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Greg Wooledge <greg@wooledge.org> - 2026-05-11 03:30 +0200
          Re: mail_queue_enter: create file maildrop/870989.992: Read-only file  system Luc Saffre <luc@saffre-rumma.net> - 2026-05-14 09:30 +0200
            Re: mail_queue_enter: create file maildrop/870989.992: Read-only  file system Greg Wooledge <greg@wooledge.org> - 2026-05-14 13:40 +0200

csiph-web