[Bug 1293152] Re: fstrim-all weekly cron generate noise when hdparm isn't installed or on a VM
Richard Laager
rlaager at wiktel.com
Tue Mar 18 00:21:58 UTC 2014
For those finding this bug via Google, editing /etc/cron.weekly/fstrim was enough to suppress the errors I saw:
exec fstrim-all 2> /dev/null | grep -v 'is not a drive that is known-safe'
Alternatively, just commenting out that line to disable the whole thing
would work too.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1293152
Title:
fstrim-all weekly cron generate noise when hdparm isn't installed or
on a VM
Status in “util-linux” package in Ubuntu:
Confirmed
Bug description:
Every week, the fstrim-all cron job 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1293152/+subscriptions
More information about the foundations-bugs
mailing list