fstrim.service should not run inside container
Bug #1813430 reported by
Jan-Otto Kröpke
This bug report is a duplicate of:
Bug #1589289: fstrim: cannot open /dev/.lxd-mounts: Permission denied.
Edit
Remove
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
ConditionVirtua
to prevent errors inside containers
To post a comment you must log in.