fstrim.service should not run inside container

Bug #1813430 reported by Jan-Otto Kröpke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
New
Undecided
Unassigned

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

Tags: lxd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.