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

Marco Scholl 1278048 at bugs.launchpad.net
Mon Feb 17 07:20:20 UTC 2014


also we have the problem that we use virtuozzo (openvz) and when we
install hdparm we got an error, too:

# /etc/cron.weekly/fstrim
/dev/ploop46078p1: Operation not permitted

i think the cron job "fstrim" should be in a separate package (depends
hdparm).

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

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