Comment 0 for bug 1293152

Revision history for this message
Simon Déziel (sdeziel) wrote : fstrim-all weekly cron generate noise when hdparm isn't installed

Every week, the fstrim-all cron job emits sends such email alert to the admin if hdparm isn't available:

  hdparm not available, cannot TRIM

The cron job doesn't fail, thanks to LP: #1278048, but those emails are probably not very useful to the admin.

$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
$ apt-cache policy util-linux
util-linux:
  Installed: 2.20.1-5.1ubuntu16
  Candidate: 2.20.1-5.1ubuntu16
  Version table:
 *** 2.20.1-5.1ubuntu16 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status