[Bug 1813430] [NEW] fstrim.service should not run inside container

Jan-Otto Kröpke 1813430 at bugs.launchpad.net
Sat Jan 26 22:29:13 UTC 2019


Public bug reported:

On LXD containers, the fstrim.service will errored permanently.

/sbin/fstrim -av
fstrim: /: FITRIM ioctl failed: Operation not permitted

The unit file should contain

ConditionVirtualization=!container

to prevent errors inside containers

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lxd

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

Title:
  fstrim.service should not run inside container

Status in util-linux package in Ubuntu:
  New

Bug description:
  On LXD containers, the fstrim.service will errored permanently.

  /sbin/fstrim -av
  fstrim: /: FITRIM ioctl failed: Operation not permitted

  The unit file should contain

  ConditionVirtualization=!container

  to prevent errors inside containers

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



More information about the foundations-bugs mailing list