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
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to