[Bug 1278048] Re: fstrim-all needs hdparm but not depend on it

Marco Scholl 1278048 at bugs.launchpad.net
Sun Mar 16 07:06:06 UTC 2014


in new version off ploop the container have ploop device. and so we got
this error:

/etc/cron.weekly/fstrim:
/dev/ploop46078p1: Operation not permitted
run-parts: /etc/cron.weekly/fstrim exited with return code 1

and on a other system we have got this error again.

/etc/cron.weekly/fstrim:
hdparm not available, cannot TRIM

installed version is on both system: 2.20.1-5.1ubuntu16

-- 
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/1278048

Title:
  fstrim-all needs hdparm but not depend on it

Status in “util-linux” package in Ubuntu:
  Fix Released

Bug description:
  Package version: 2.20.1-5.1ubuntu14
  Distro: Ubuntu Trusty Tahr (development branch)

  /sbin/fstrim-all uses hdparm (line 53) but the util-linux does not
  depend on it.

  This results e.g. in cron error mails like this:
  /etc/cron.weekly/fstrim:
  /sbin/fstrim-all: 1: /sbin/fstrim-all: hdparm: not found
  run-parts: /etc/cron.weekly/fstrim exited with return code 127

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1278048/+subscriptions



More information about the foundations-bugs mailing list