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

Martin Pitt martin.pitt at ubuntu.com
Wed Mar 12 06:06:29 UTC 2014


Hey Marco,

Marco Scholl [2014-03-10 16:31 -0000]:
> root at ehysgdjahgdas:/# fstrim-all
> /dev/ploop57216p1: No such file or directory
> 
> the fstrim-all should check if dev really exists

Done in
https://launchpad.net/ubuntu/+source/util-linux/2.20.1-5.1ubuntu16

Thanks for pointing out!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

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