fstrim: /var/spool/postfix/etc/sasldb2: not a directory

Bug #1800167 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've started getting weekly cron emails starting on Oct 7, 2018 that say

    /etc/cron.weekly/fstrim:
    fstrim: /var/spool/postfix/etc/sasldb2: not a directory

The previous week's email did not have any complaints from fstrim, and I'm not sure what changed since then. There was a kernel upgrade (to 4.4.0-137.163), maybe that's related?

My /etc/fstab contains the following line

    /etc/sasldb2 /var/spool/postfix/etc/sasldb2 none bind 0 0

because I need postfix's smtpd to access /etc/sasldb2 inside the postfix chroot.

FWIW the root partition (that contains /etc/sasldb2) on this server resides on a pair of SSDs (inside a raid1 LVM volume), but only since Sep 27 when I moved it there. I'm not sure it's relevant since, as I mentioned before, the weekly email on Sep 30 did not have any fstrim complaints, just the usual "new 18.04 LTS update available, consider upgrading".

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: util-linux 2.27.1-6ubuntu3.6
ProcVersionSignature: Ubuntu 4.4.0-138.164-generic 4.4.155
Uname: Linux 4.4.0-138-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Fri Oct 26 17:56:06 2018
SourcePackage: util-linux
UpgradeStatus: Upgraded to xenial on 2016-11-07 (718 days ago)

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Karel Zak (kzak) wrote :

Fixed in upstream tree. Thanks for your report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.