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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1813430

Title:
  fstrim.service should not run inside container

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to